Merge pull request #294 from darcys22/appimage-icon
point the icon image to the provided image
This commit is contained in:
commit
7e3c4933fc
|
@ -165,7 +165,7 @@ module.exports = function() {
|
||||||
|
|
||||||
linux: {
|
linux: {
|
||||||
target: ["AppImage", "deb"],
|
target: ["AppImage", "deb"],
|
||||||
icon: "src-electron/icon.png",
|
icon: "oxen-electron-wallet.png",
|
||||||
category: "Finance"
|
category: "Finance"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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
|
* The reason we are setting it here is that the path needs to be evaluated at runtime
|
||||||
*/
|
*/
|
||||||
if (process.env.PROD) {
|
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, "\\\\");
|
global.__ryo_bin = path.join(__dirname, "..", "bin").replace(/\\/g, "\\\\");
|
||||||
} else {
|
} else {
|
||||||
global.__ryo_bin = path.join(process.cwd(), "bin").replace(/\\/g, "\\\\");
|
global.__ryo_bin = path.join(process.cwd(), "bin").replace(/\\/g, "\\\\");
|
||||||
|
|
Loading…
Reference in New Issue