Skip to content

Commit

Permalink
feat : disable electron cache
Browse files Browse the repository at this point in the history
  • Loading branch information
charles7668 committed Nov 12, 2021
1 parent f697720 commit f09ce05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require('fs');
const {spawn} = require('child_process')

let server_process

app.commandLine.appendSwitch("disable-http-cache"); //disable cache
function createWindow() {
const win = new BrowserWindow({width: 500, height: 800, autoHideMenuBar: true})
const readCallBack = (err, data) => {
Expand Down

0 comments on commit f09ce05

Please sign in to comment.