added configurations electron

This commit is contained in:
2024-10-31 16:44:55 +02:00
parent 839dd30ee1
commit a9d6dd3465
9 changed files with 3168 additions and 58 deletions

BIN
electron/assets/qort.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
electron/assets/qortal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View File

@@ -1,5 +1,5 @@
{
"appId": "com.yourdoamnin.yourapp",
"appId": "com.yourdomain.yourapp",
"directories": {
"buildResources": "resources"
},
@@ -9,9 +9,6 @@
"capacitor.config.*",
"app/**/*"
],
"publish": {
"provider": "github"
},
"nsis": {
"allowElevation": true,
"oneClick": false,
@@ -21,8 +18,14 @@
"target": "nsis",
"icon": "assets/appIcon.ico"
},
"linux": {
"target": ["AppImage"],
"category": "Utility", // Set a specific Linux category here
"executableName": "Qortal",
"icon": "assets/qortal.png"
},
"mac": {
"category": "your.app.category.type",
"target": "dmg"
}
}
}

View File

@@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"@capacitor-community/electron": "^5.0.0",
"chokidar": "~3.5.3",
"chokidar": "^3.6.0",
"electron-is-dev": "~2.0.0",
"electron-serve": "~1.1.0",
"electron-unhandled": "~4.0.1",
@@ -1566,16 +1566,9 @@
}
},
"node_modules/chokidar": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
"funding": [
{
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
],
"license": "MIT",
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
"integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
"dependencies": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
@@ -1588,6 +1581,9 @@
"engines": {
"node": ">= 8.10.0"
},
"funding": {
"url": "https://paulmillr.com/funding/"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
}

View File

@@ -21,7 +21,7 @@
},
"dependencies": {
"@capacitor-community/electron": "^5.0.0",
"chokidar": "~3.5.3",
"chokidar": "^3.6.0",
"electron-is-dev": "~2.0.0",
"electron-serve": "~1.1.0",
"electron-unhandled": "~4.0.1",

View File

@@ -46,7 +46,7 @@ if (electronIsDev) {
// Initialize our app, build windows, and load content.
await myCapacitorApp.init();
// Check for updates if we are in a packaged app.
autoUpdater.checkForUpdatesAndNotify();
// autoUpdater.checkForUpdatesAndNotify();
})();
// Handle when all of our windows are close (platforms have their own expectations).

View File

@@ -10,6 +10,7 @@
"esModuleInterop": true,
"typeRoots": ["./node_modules/@types"],
"allowJs": true,
"rootDir": "."
"rootDir": ".",
"skipLibCheck": true
}
}