mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
get bundled path correctly
This commit is contained in:
parent
1f93fe8cd3
commit
bc9353e263
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -12,7 +12,7 @@ if (isDev) {
|
|||
}
|
||||
|
||||
const url = 'file://' + resolve(
|
||||
__dirname,
|
||||
isDev ? __dirname : app.getAppPath(),
|
||||
// in prod version, we copy over index.html and dist from 'app'
|
||||
// into one dist folder to avoid unwanted files in package
|
||||
isDev ? 'app' : 'dist',
|
||||
|
|
|
|||
Loading…
Reference in a new issue