--- package.json.orig 2024-01-12 15:03:14 UTC +++ package.json @@ -2,15 +2,18 @@ "name": "Quba", "version": "1.4.0", "description": "Viewer", - "author": "Quba", + "author": { + "name": "Quba", + "email": "pi@FreeBSD.org" + }, "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service build && electron-builder build --win --publish never", + "build": "vue-cli-service build && electron-builder build --linux --publish never", "i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/locales/**/*.json\"", "pack": "npm run build && electron-builder build --publish=never", - "start": "vue-cli-service build && electron .", + "start": "vue-cli-service build && %%ELECTRON_DIST%%/electron .", "dist": "electron-builder", - "publish": "electron-builder build --win --publish always" + "publish": "electron-builder build --linux --publish always" }, "main": "app/main.js", "dependencies": { @@ -41,17 +44,17 @@ "@vue/cli-plugin-babel": "5.0.4", "@vue/cli-service": "5.0.4", "@vue/compiler-sfc": "3.2.36", - "electron": "20.0.0", - "electron-builder": "23.0.3", + "electron-builder": "^24.13.3", + "electron-forge": "^5.2.4", "vue-cli-plugin-i18n": "2.3.1" }, "build": { "appId": "org.quba-viewer.viewer", - "mac": { - "category": "Document", - "icon": "./assets/img/logo_small_icon_only.png" - }, - "win": { + "electronDist": "%%ELECTRON_DIST%%", + "electronVersion": "%%ELECTRON_VERSION%%", + "linux": { + "target": [ "dir" ], + "executableName": "quba", "icon": "./assets/img/logo_small_icon_only.png" }, "directories": {