diff --git a/app/main.js b/app/main.js index 20bdeee..385aa82 100644 --- a/app/main.js +++ b/app/main.js @@ -348,7 +348,7 @@ ipcMain.on('unreg-start-by-fishing-key', () => { let powerBlocker = powerSaveBlocker.start("prevent-display-sleep"); app.whenReady().then(() => { const menu = Menu.buildFromTemplate([{label: `Help`, submenu: [ - { label: `AutoFish ver. 2.5.1 Public` }, + { label: `AutoFish ver. 2.6.0 Public` }, { type: 'separator' }, { label: "📘 Read Me", click: () => shell.openExternal("https://github.com/jsbots/AutoFish#guide-blue_book")}, { label: 'Video', click: () => shell.openExternal("https://youtu.be/A3W8UuVIZTo")}, diff --git a/app/ui/autoFish.js b/app/ui/autoFish.js index f61b5fa..b48644c 100644 --- a/app/ui/autoFish.js +++ b/app/ui/autoFish.js @@ -44,7 +44,7 @@ class AutoFish { const footer = elt(`p`, { className: "version" }, versionNode, donateLink, premiumIcon); ipcRenderer.on("set-version", (event, version) => { - versionNode.textContent = `ver. 2.5.1 Public | `; + versionNode.textContent = `ver. 2.6.0 Public | `; }); ipcRenderer.on('start-by-fishing-key', () => { @@ -52,7 +52,7 @@ class AutoFish { this.button.dom.click(); } }); - + this.settings.regOnChange((config) => { ipcRenderer.send("save-settings", config); }); diff --git a/package.json b/package.json index eb2f907..f4225a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "AutoFish", - "version": "2.5.1", + "version": "2.6.0", "description": "An easy-to-use fishing bot for games with wow-like fishing logic.", "main": "./app/main.js", "scripts": {