mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
Merge branch 'master' of github.com:electron-userland/electron-webpack-quick-start
This commit is contained in:
commit
87437f7c26
3 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
# electron-webpack-quick-start
|
||||
> A bare minimun project structure to get started developing with [`electron-webpack`](https://github.com/electron-userland/electron-webpack).
|
||||
> A bare minimum project structure to get started developing with [`electron-webpack`](https://github.com/electron-userland/electron-webpack).
|
||||
|
||||
Thanks to the power of `electron-webpack` this template comes packed with...
|
||||
|
||||
|
|
10
package.json
10
package.json
|
@ -9,12 +9,12 @@
|
|||
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null"
|
||||
},
|
||||
"dependencies": {
|
||||
"source-map-support": "^0.4.16"
|
||||
"source-map-support": "^0.4.17"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^1.7.5",
|
||||
"electron-builder": "^19.26.0",
|
||||
"electron-webpack": "^1.1.0",
|
||||
"webpack": "^3.5.5"
|
||||
"electron": "^1.7.6",
|
||||
"electron-builder": "^19.27.7",
|
||||
"electron-webpack": "^1.5.0",
|
||||
"webpack": "^3.5.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import { app, BrowserWindow } from 'electron'
|
|||
const isDevelopment = process.env.NODE_ENV !== 'production'
|
||||
|
||||
// Global reference to mainWindow
|
||||
// Neccessary to prevent win from being garbage collected
|
||||
// Necessary to prevent win from being garbage collected
|
||||
let mainWindow
|
||||
|
||||
function createMainWindow () {
|
||||
|
|
Loading…
Reference in a new issue