Compare commits

..

2 Commits

3 changed files with 5 additions and 2 deletions

View File

@@ -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",

View File

@@ -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,
},
})

View File

@@ -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,
})