Skip to content

Commit

Permalink
Release 2.0.105-b15
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonV committed Dec 13, 2024
1 parent 762b9d3 commit 35b6289
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"output": "dist"
},
"files": [
"src/",
"build/",
"node_modules/",
"package.json"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ledfx",
"version": "2.0.105-b14",
"version": "2.0.105-b15",
"description": "LedFx v2 - BladeMOD!",
"author": "YeonV aka Blade",
"private": true,
Expand Down
6 changes: 4 additions & 2 deletions public/app/utils/win.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@ function createWindow(win, args = {}) {
backgroundThrottling: false,
nodeIntegration: true,
contextIsolation: true,
preload: path.join(__dirname, '../preload.js'),
preload: isDev
? path.join(__dirname, '../preload.js')
: path.join(__dirname, '../../preload.js'),
...args
}
})

win.loadURL(
isDev
? 'http://localhost:3000'
: `file://${path.join(__dirname, '../../build/index.html')}`
: `file://${path.join(__dirname, '../../index.html')}`
)

return win
Expand Down

0 comments on commit 35b6289

Please sign in to comment.