feat: enhance Electron environment detection and improve database warnings

This commit is contained in:
CaIon
2025-10-05 16:45:29 +08:00
parent 9ace186030
commit 02c0cbcc6a
4 changed files with 168 additions and 58 deletions

View File

@@ -4,8 +4,8 @@
"description": "New API - AI Model Gateway Desktop Application",
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "cross-env NODE_ENV=development electron .",
"start-app": "electron .",
"dev-app": "cross-env NODE_ENV=development electron .",
"build": "electron-builder",
"build:mac": "electron-builder --mac",
"build:win": "electron-builder --win",