mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Revert electron-builder to fix icon (Closes #741)
This commit is contained in:
parent
4aa4d7f92d
commit
b3e4730718
1122
package-lock.json
generated
1122
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -17,6 +17,9 @@
|
||||
"app-package": "lerna run package --stream --scope=insomnia-app"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron-builder": "^19.47.1",
|
||||
"electron-builder-lib": "^19.47.1",
|
||||
"electron-builder-squirrel-windows": "^19.47.0",
|
||||
"electron-rebuild": "^1.6.0",
|
||||
"jest": "^22.1.1",
|
||||
"lerna": "^2.7.1"
|
||||
|
@ -6,7 +6,7 @@
|
||||
"name": "insomnia",
|
||||
"productName": "Insomnia",
|
||||
"longName": "Insomnia REST Client",
|
||||
"version": "5.14.6",
|
||||
"version": "5.14.7",
|
||||
"main": "main.min.js"
|
||||
},
|
||||
"licence": "MIT",
|
||||
|
@ -14,8 +14,12 @@ const PLATFORM_MAP = {
|
||||
// Start package if ran from CLI
|
||||
if (require.main === module) {
|
||||
process.nextTick(async () => {
|
||||
await buildTask.start();
|
||||
await module.exports.start();
|
||||
try {
|
||||
await buildTask.start();
|
||||
await module.exports.start();
|
||||
} catch (err) {
|
||||
console.warn('ERROR: ', err.stack);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -41,8 +45,7 @@ async function pkg (relConfigPath) {
|
||||
[targetPlatform]: config[targetPlatform].target
|
||||
});
|
||||
return packager.build();
|
||||
} catch
|
||||
(err) {
|
||||
} catch (err) {
|
||||
console.log('[package] Failed: ' + err.stack);
|
||||
throw err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user