Skip to content

Commit 27771e8

Browse files
Fix startHtmlPath for when the app is built
1 parent bf0976e commit 27771e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function createWindow() {
147147
if(isDev){
148148
startHtmlPath = path.resolve(path.join(__dirname, '..', '..', 'local', 'start.html'));
149149
} else {
150-
startHtmlPath = path.join(path.dirname(app.getAppPath()), '..', 'local', 'start.html');
150+
startHtmlPath = path.join(path.dirname(app.getAppPath()), 'local', 'start.html');
151151
}
152152

153153
// Load the URL with proper file protocol and use the config for the initial URL

0 commit comments

Comments
 (0)