This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// ...other fields | |
"scripts": { | |
"build:all": "electron-builder -wml" | |
"build:win": "electron-builder -w" | |
"build:mac": "electron-builder -m" | |
"build:lnx: "electron-builder -l" | |
} | |
// ...other fields | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"build": { | |
"win": { | |
"certificateFile": "config/slack.p12", | |
"certificatePassword": "", | |
"verifyUpdateCodeSignature": false, | |
"artifactName": "${productName}.${ext}" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"build": { | |
"win": { | |
"certificateFile": "config/slack.p12", | |
"certificatePassword": "", | |
"verifyUpdateCodeSignature": false, | |
"publisherName": "slack", | |
"artifactName": "${productName}.${ext}" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"build": { | |
"win": { | |
"certificateFile": "config/slack.p12", | |
"certificatePassword": "" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {autoUpdater} = require('electron-updater') | |
let mainWindow | |
const checkingForUpdates = () => console.log('checking for updates') | |
const createWindow = () => { | |
setTimeout(checkingForUpdates, 3000) | |
// ... | |
} |
OlderNewer