git ssb


2+

Dominic / electroapp



Commit 07d2aaad9ac4cc9e287f8e03dfe2557fbaeb8680

oops, preload.js, not load.js

Dominic Tarr committed on 3/14/2017, 7:40:13 PM
Parent: 023a3048dac9f9c0b635793f18e70fb3492509fc

Files changed

app/index.jschanged
app/index.jsView
@@ -13,9 +13,9 @@
1313 var dir = process.cwd() //or if loaded from a file, the location of the file...
1414 for(var k in opts) (function (opts) {
1515 if(isArray(opts) || !isArray(opts._) || !opts._.length) return
1616
17- opts.webPreferences = {preload: path.join(__dirname, 'load.js')}
17+ opts.webPreferences = {preload: path.join(__dirname, 'preload.js')}
1818
1919 var window = new electron.BrowserWindow(opts)
2020
2121 if(opts.dev)

Built with git-ssb-web