Bump version to 1.3.1 and fix Discord RPC state URL; enhance update notification with clickable link to releases

This commit is contained in:
MasterAcnolo
2025-12-19 13:50:17 +01:00
parent d678ba2f12
commit 26d42491ce
3 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "freedom-loader", "name": "freedom-loader",
"productName": "Freedom Loader", "productName": "Freedom Loader",
"version": "1.3.0", "version": "1.3.1",
"author": "MasterAcnolo", "author": "MasterAcnolo",
"description": "Freedom Loader", "description": "Freedom Loader",
"main": "main.js", "main": "main.js",

View File

@@ -15,7 +15,7 @@ function startRPC() {
smallImageText: "By MasterAcnolo", smallImageText: "By MasterAcnolo",
startTimestamp: new Date(), startTimestamp: new Date(),
details: `Open Source Download Tools - ${config.version}`, details: `Open Source Download Tools - ${config.version}`,
state: "masteracnolo.github.io/No-Sense/FreedomLoader", state: "masteracnolo.github.io/FreedomLoader",
}; };
rpc.setActivity(presence); rpc.setActivity(presence);

View File

@@ -17,7 +17,9 @@ function AutoUpdater() {
new Notification({ new Notification({
title: "Freedom Loader", title: "Freedom Loader",
body: `Update ${info.version} downloaded.` body: `Update ${info.version} downloaded.`
}).show(); }).on("click", () =>
shell.openExternal("https://github.com/MasterAcnolo/Freedom-Loader/releases/latest")
).show();
setTimeout(() => { setTimeout(() => {
autoUpdater.quitAndInstall(); autoUpdater.quitAndInstall();