From 5858b9205958ff955ebbbf89aaa6b0ccfde2da37 Mon Sep 17 00:00:00 2001 From: patrikx3 Date: Fri, 8 Mar 2024 12:05:00 +0100 Subject: [PATCH] r0b08x [chore] 3/8/2024, 12:05:00 PM --- README.md | 4 ++-- artifacts/arm.md | 2 +- artifacts/flavor.md | 2 +- artifacts/new-language.md | 2 +- artifacts/npm.md | 2 +- change-log.md | 7 ++++++- package.json | 14 +++++++------- src/electron/main/create/menu.js | 9 ++++++++- src/electron/window/onenote/event/handler.js | 3 ++- 9 files changed, 29 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1db2b15..0eaf17c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ -# 📚 P3X OneNote Linux v2024.4.124 +# 📚 P3X OneNote Linux v2024.4.125 @@ -248,7 +248,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.124 +[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.125 [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/artifacts/arm.md b/artifacts/arm.md index 1f75ae7..39dc577 100644 --- a/artifacts/arm.md +++ b/artifacts/arm.md @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.124 +[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.125 [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/artifacts/flavor.md b/artifacts/flavor.md index be9f6da..40794f3 100644 --- a/artifacts/flavor.md +++ b/artifacts/flavor.md @@ -24,7 +24,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.124 +[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.125 [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/artifacts/new-language.md b/artifacts/new-language.md index ea0ada8..425ccdd 100644 --- a/artifacts/new-language.md +++ b/artifacts/new-language.md @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.124 +[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.125 [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/artifacts/npm.md b/artifacts/npm.md index 27faecb..2cac556 100644 --- a/artifacts/npm.md +++ b/artifacts/npm.md @@ -38,7 +38,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.124 +[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.125 [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/change-log.md b/change-log.md index a799fa6..996f09f 100644 --- a/change-log.md +++ b/change-log.md @@ -7,6 +7,11 @@ ## Change log +### v2024.4.125 +Released on 03/08/2024 +* BUGFIX: Was not saving the proper url when re-start the app (used the previus url). +* BUGFIX: The NPM and Electron app was using different version. Now, it is the same everywhere. + ### v2024.4.124 Released on 02/25/2024 * FEATURE: Enable a MacOs Intel and Apple silicon build. @@ -406,7 +411,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.124 +[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.125 [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/package.json b/package.json index 60cb067..7492077 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p3x-onenote", - "version": "2024.4.124", + "version": "2024.4.125", "description": "📚 P3X OneNote Linux", "main": "src/electron/app.js", "corifeus": { @@ -51,22 +51,22 @@ "homepage": "https://corifeus.com/onenote", "dependencies": { "@electron/remote": "^2.1.2", - "@fontsource/roboto": "^5.0.8", + "@fontsource/roboto": "^5.0.12", "@fortawesome/fontawesome-free": "^6.5.1", "angular": "^1.8.3", "angular-animate": "^1.8.3", "angular-aria": "^1.8.3", "angular-material": "^1.2.5", "angular-messages": "^1.8.3", - "corifeus-utils": "^2024.4.108", - "electron-store": "^8.1.0", + "corifeus-utils": "^2024.4.109", + "electron-store": "^8.2.0", "electron-updater": "^6.1.8", "semver": "^7.6.0" }, "devDependencies": { - "corifeus-builder": "^2024.4.108", - "electron-builder": "^24.12.0", - "electron": "^29.0.1" + "corifeus-builder": "^2024.4.109", + "electron-builder": "^24.13.3", + "electron": "^29.1.1" }, "engines": { "node": ">=12.13.0" diff --git a/src/electron/main/create/menu.js b/src/electron/main/create/menu.js index 354f57c..1639283 100644 --- a/src/electron/main/create/menu.js +++ b/src/electron/main/create/menu.js @@ -59,8 +59,15 @@ function mainMenu() { label: global.p3x.onenote.lang.bookmarks.edit, type: 'checkbox', checked: global.p3x.onenote.bookmarksEditMode, - click: () => { + click: (menuItem, browserWindow, event) => { global.p3x.onenote.bookmarksEditMode = !global.p3x.onenote.bookmarksEditMode + /* + Menu.getApplicationMenu().popup({ + window: browserWindow, + x: event.x, + y: event.y, + }) + */ } }) bookmarksMenu.push({ diff --git a/src/electron/window/onenote/event/handler.js b/src/electron/window/onenote/event/handler.js index 5665cce..b5c8be6 100644 --- a/src/electron/window/onenote/event/handler.js +++ b/src/electron/window/onenote/event/handler.js @@ -74,7 +74,8 @@ const handler = (options) => { */ console.log(`changed the url via ${eventName}`, webview.src) - global.p3x.onenote.data.url = webview.src; + //global.p3x.onenote.data.url = webview.src; + global.p3x.onenote.data.url = webview.getURL() ipc.send('p3x-onenote-save', global.p3x.onenote.data); p3x.onenote.wait.angular(() => {