Created
June 12, 2018 16:12
-
-
Save cjus/2bde2df49976ae714978ae366555388e to your computer and use it in GitHub Desktop.
loadURL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const startUrl = process.env.ELECTRON_START_URL || url.format({ | |
| pathname: path.join(__dirname, '/../build/index.html'), | |
| protocol: 'file:', | |
| slashes: true | |
| }); | |
| win.loadURL(startUrl); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment