refactor: minor changes
This commit is contained in:
1 parent
0edc38fc9d
commit
eb8b69966d
5 files changed
+4
-7
No files matched your search
@@ -15,9 +15,9 @@ if (!app.requestSingleInstanceLock()) {
|
||||
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'
|
||||
|
||||
let win: BrowserWindow | null = null
|
||||
// Here, you can also use other preload
|
||||
// Here you can add more preload scripts
|
||||
const splash = join(__dirname, '../preload/splash.js')
|
||||
// 🚧 Use ['ENV_NAME'] avoid vite:define plugin
|
||||
// 🚧 Use ['ENV_NAME'] to avoid vite:define plugin
|
||||
const url = `http://${process.env['VITE_DEV_SERVER_HOST']}:${process.env['VITE_DEV_SERVER_PORT']}`
|
||||
|
||||
async function createWindow() {
|
||||
|
||||
Reference in new issue
Block a user