Skip to content

Commit

Permalink
Update convert source for windows packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjpou1 committed Sep 8, 2017
1 parent 7ae5d1c commit 9f1ea12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/convert/main.js
Expand Up @@ -4,7 +4,7 @@ const {app, BrowserWindow} = require('electron')


// Set our icon on mac when we are in development
if (require('electron-is-dev'))
if (require('electron-is-dev') && process.platform === 'darwin')
app.dock.setIcon(__dirname + "/assets/icons/images/appicon_256x256.png");

// Keep a global reference of the window object, if you don't, the window will
Expand Down
7 changes: 7 additions & 0 deletions docs/tutorials/convert/package.json
Expand Up @@ -50,6 +50,13 @@
"./node_modules/electron-dotnet/",
"src/**/*.dll"
]
},
"win" : {
"asar": true,
"asarUnpack": [
"./node_modules/electron-dotnet/",
"src/**/*.dll"
]
}
}
}

0 comments on commit 9f1ea12

Please sign in to comment.