electron osx build improvements: add notarize support, move build assets to build, add osx security entitlements

This commit is contained in:
Ilya Kreymer
2020-05-20 16:27:17 -07:00
parent 1a2f2c00a2
commit 0b21581836
8 changed files with 56 additions and 9 deletions
+3 -1
View File
@@ -260,7 +260,9 @@ function createWindow () {
});
mainWindow.loadURL(STATIC_PREFIX + "index.html");
mainWindow.webContents.openDevTools();
if (process.env.NODE_ENV === "development") {
mainWindow.webContents.openDevTools();
}
}
// This method will be called when Electron has finished