Add portable Windows desktop downloads and release uploads

This commit is contained in:
2026-10-11 11:44:27 +05:00
parent fc6da6756d
commit a54a3e7705
24 changed files with 4159 additions and 5 deletions

39
desktop/package.json Normal file
View File

@@ -0,0 +1,39 @@
{
"name": "minegeo-desktop",
"version": "1.0.0",
"private": true,
"description": "MineGeo desktop client",
"author": "MineGeo",
"main": "main.cjs",
"scripts": {
"start": "electron .",
"build": "node prepare-icon.mjs && electron-builder --win portable --x64"
},
"devDependencies": {
"electron": "44.7.0",
"electron-builder": "26.15.3"
},
"build": {
"appId": "app.minegeo.desktop",
"productName": "MineGeo",
"asar": true,
"directories": {
"output": "dist",
"buildResources": "assets"
},
"files": [
"main.cjs",
"navigation.cjs",
"assets/icon.png",
"assets/icon.ico"
],
"win": {
"target": "portable",
"icon": "assets/icon.ico"
},
"portable": {
"artifactName": "MineGeo-${version}-windows-x64.exe",
"requestExecutionLevel": "user"
}
}
}