Skip to content

Commit 0c43a94

Browse files
Fix flashpath in dev mode
1 parent 5fa76af commit 0c43a94

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
@@ -47,7 +47,7 @@ switch (process.platform) {
4747

4848
let flashpath;
4949
if(isDev){
50-
flashpath = path.join("../../../plugins/", pluginName);
50+
flashpath = path.join(__dirname ,"../..", "plugins", pluginName);
5151
} else {
5252
flashpath = path.join(path.dirname(app.getAppPath()), 'plugins', pluginName);
5353
}

0 commit comments

Comments
 (0)