Compare commits
2 Commits
7eccef5d8f
...
10c2d61523
| Author | SHA1 | Date | |
|---|---|---|---|
| 10c2d61523 | |||
| 18ce05854a |
@@ -2,7 +2,7 @@
|
||||
"name": "@furtherverse/desktop",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
"main": "out/main/index.js",
|
||||
"scripts": {
|
||||
"build": "electron-vite build",
|
||||
|
||||
@@ -113,7 +113,7 @@ const createWindow = async () => {
|
||||
height: 800,
|
||||
show: false,
|
||||
webPreferences: {
|
||||
preload: join(__dirname, '../preload/index.mjs'),
|
||||
preload: join(__dirname, '../preload/index.js'),
|
||||
sandbox: true,
|
||||
},
|
||||
})
|
||||
|
||||
@@ -9,6 +9,9 @@ export const env = createEnv({
|
||||
client: {
|
||||
VITE_APP_TITLE: z.string().min(1).optional(),
|
||||
},
|
||||
shared: {
|
||||
NODE_ENV: z.enum(['development', 'production', 'test']),
|
||||
},
|
||||
runtimeEnv: process.env,
|
||||
emptyStringAsUndefined: true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user