refactor: move electron-* to electron/*

This commit is contained in:
草鞋没号 committed 2022-06-06 20:22:13 +08:00
1 parent 9bab724711
commit ab9e5bf3c2
2 files changed
+1 -1

No files matched your search

@@ -16,7 +16,7 @@ process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'
let win: BrowserWindow | null = null
// Here, you can also use other preload
const splash = join(__dirname, '../electron-preload/splash.js')
const splash = join(__dirname, '../preload/splash.js')
// 🚧 Use ['ENV_NAME'] avoid vite:define plugin
const url = `http://${process.env['VITE_DEV_SERVER_HOST']}:${process.env['VITE_DEV_SERVER_PORT']}`
File renamed without changes.