fixed an error where app wouldnt launch

This commit is contained in:
2025-12-17 21:32:34 +01:00
parent 7c85d91b85
commit c7f919fe18
6 changed files with 151 additions and 43 deletions

View File

@@ -4,10 +4,8 @@
"description": "",
"main": "main.js",
"scripts": {
"build": "tsc",
"start": "tsc && node server.js",
"electron": "tsc && electron .",
"dist": "npm run build && electron-builder"
"start": "tsc && electron .",
"dist": "tsc && electron-builder"
},
"keywords": [],
"author": "",
@@ -16,10 +14,11 @@
"dependencies": {
"@fastify/static": "^8.3.0",
"@ryuziii/discord-rpc": "^1.0.1-rc.1",
"bcrypt": "^6.0.0",
"bcryptjs": "^3.0.3",
"bindings": "^1.5.0",
"cheerio": "^1.1.2",
"dotenv": "^17.2.3",
"electron-log": "^5.4.3",
"fastify": "^5.6.2",
"jsonwebtoken": "^9.0.3",
"node-addon-api": "^8.5.0",
@@ -50,7 +49,11 @@
"public/assets/*"
],
"extraResources": [
"./.env"
{
"from": "C:\\Users\\user\\AppData\\Local\\ms-playwright\\chromium_headless_shell-1200",
"to": "playwright/chromium"
},
".env"
],
"win": {
"target": "portable",