mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-01 18:06:45 +01:00
refs #452 Fix splash file path in production
This commit is contained in:
parent
4141e2f4c2
commit
ad813821fc
2
package-lock.json
generated
2
package-lock.json
generated
@ -10342,7 +10342,7 @@
|
||||
},
|
||||
"onetime": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
|
||||
"resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
|
||||
"integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=",
|
||||
"dev": true
|
||||
},
|
||||
|
@ -43,7 +43,7 @@ const winURL = process.env.NODE_ENV === 'development'
|
||||
|
||||
const splashURL = process.env.NODE_ENV === 'development'
|
||||
? path.resolve(__dirname, '../../static/splash-screen.html')
|
||||
: `file://${__dirname}/static/splash-screen.html`
|
||||
: `${__dirname}/static/splash-screen.html`
|
||||
|
||||
// https://github.com/louischatriot/nedb/issues/459
|
||||
const userData = app.getPath('userData')
|
||||
|
Loading…
x
Reference in New Issue
Block a user