Merge pull request #294 from darcys22/appimage-icon

point the icon image to the provided image
This commit is contained in:
Sean 2022-06-10 12:23:01 +10:00 committed by GitHub
commit 7e3c4933fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ module.exports = function() {
linux: {
target: ["AppImage", "deb"],
icon: "src-electron/icon.png",
icon: "oxen-electron-wallet.png",
category: "Finance"
},

View File

@ -13,7 +13,7 @@ const path = require("upath");
* The reason we are setting it here is that the path needs to be evaluated at runtime
*/
if (process.env.PROD) {
global.__statics = path.join(__dirname, "statics").replace(/\\/g, "\\\\");
global.__statics = path.join(__dirname, "").replace(/\\/g, "\\\\");
global.__ryo_bin = path.join(__dirname, "..", "bin").replace(/\\/g, "\\\\");
} else {
global.__ryo_bin = path.join(process.cwd(), "bin").replace(/\\/g, "\\\\");