Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
fix: App icons
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed Nov 4, 2021
1 parent 54d232b commit 4a894ff
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
16 changes: 8 additions & 8 deletions electron-builder/config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@

module.exports = {
appId: `com.sekwah.mobalinux`,
appId: `com.sekwah.mobalytics-repackager`,
productName: `Mobalytics`,
remoteBuild: false,
directories: {
buildResources: "app"
},
linux: {
icon: "resources/icons/",
category: "Game",
publish: ["github"],
/*"desktop": {
"MimeType": "x-scheme-handler/mobalytics;"
},*/
//mimeTypes: ["x-scheme-handler/mobalytics"],
target: [
"AppImage",
"snap"
]
},
"protocols": [{
"name": "mobalytics",
"schemes": [
protocols: [{
name: "mobalytics",
schemes: [
"mobalytics"
]
}],
Expand Down
18 changes: 18 additions & 0 deletions patch.diff
Original file line number Diff line number Diff line change
Expand Up @@ -268,3 +268,21 @@ diff -uraN original/moba-desktop/src/utils/lcu-connection.js modified/moba-deskt
-//# sourceMappingURL=lcu-connection.js.map
\ No newline at end of file
+//# sourceMappingURL=lcu-connection.js.map
diff -uraN original/moba-desktop/src/windows/main/main.window.js modified/moba-desktop/src/windows/main/main.window.js
--- original/moba-desktop/src/windows/main/main.window.js 2021-11-04 00:37:06.791460337 +0000
+++ modified/moba-desktop/src/windows/main/main.window.js 2021-11-04 01:44:51.204642264 +0000
@@ -75,6 +75,7 @@
},
show: false,
resizable: true,
+ icon: path.join(__dirname, "../../../../../resources/icons/512x512.png"),
frame: false,
titleBarStyle: 'hidden',
maximizable: true,
@@ -241,4 +242,4 @@
window.loadURL(navigation_1.getSafetyWindowURL(url_1.AppPath.FORCE_DESKTOP_APP_UPDATE));
}
exports.redirectToForceUpdatePage = redirectToForceUpdatePage;
-//# sourceMappingURL=main.window.js.map
\ No newline at end of file
+//# sourceMappingURL=main.window.js.map

0 comments on commit 4a894ff

Please sign in to comment.