Skip to content

Commit bf0976e

Browse files
Do not package the same stuff twice
1 parent 31e0080 commit bf0976e

File tree

8 files changed

+3
-3
lines changed

8 files changed

+3
-3
lines changed
File renamed without changes.
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"extraResources": [
5252
"./plugins/**",
53-
"./src/local/**",
53+
"./local/**",
5454
"./src/renderer/preload.js"
5555
]
5656
}

src/main/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ function createWindow() {
145145
// Load the custom Windows XP titlebar.
146146
let startHtmlPath;
147147
if(isDev){
148-
startHtmlPath = path.resolve(path.join(__dirname, '..', 'local', 'start.html'));
148+
startHtmlPath = path.resolve(path.join(__dirname, '..', '..', 'local', 'start.html'));
149149
} else {
150-
startHtmlPath = path.join(path.dirname(app.getAppPath()), 'src', '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)