feat: add support VSCode launch.json (fixes #182)

This commit is contained in:
leejooy96 committed 2024-12-24 09:50:02 +09:00
1 parent 4efdf33db9
commit df829d199c
4 files changed
+40 -3

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { join, dirname } from 'path'
import { name, version } from '../../../package.json'
import { name, version, debug } from '../../../package.json'
import { fileURLToPath } from 'url'
const __dirname = dirname(fileURLToPath(import.meta.url))
@@ -21,6 +21,6 @@ export default class Constants {
preload: join(__dirname, '../preload/index.js')
}
static APP_INDEX_URL_DEV = 'http://localhost:5173/index.html'
static APP_INDEX_URL_DEV = `${debug.env.VITE_DEV_SERVER_URL}/index.html`
static APP_INDEX_URL_PROD = join(__dirname, '../index.html')
}