Skip to content

Commit

Permalink
r0b08x [chore] 7/28/2023, 5:20:17 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Jul 28, 2023
1 parent 78e91bc commit 46b7903
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

@license p3x-onenote v2023.10.222
@license p3x-onenote v2023.10.228

📚 P3X OneNote Linux

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



# 📚 P3X OneNote Linux v2023.10.222
# 📚 P3X OneNote Linux v2023.10.228



Expand Down Expand Up @@ -244,7 +244,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.222
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.228

[![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)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/arm.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.222
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.228

[![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)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/flavor.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.222
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.228

[![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)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/new-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.222
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.228

[![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)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.222
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.228

[![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)

Expand Down
6 changes: 5 additions & 1 deletion change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

## Change log

### v2023.10.228
Relesed on 07/28/2023
* BUGFIX: https://github.com/patrikx3/onenote/issues/181

### v2023.10.222
Relesed on 07/23/2023
* FEATURE: Added windows version
Expand Down Expand Up @@ -378,7 +382,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.222
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2023.10.228

[![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)

Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-onenote",
"version": "2023.10.222",
"version": "2023.10.228",
"description": "📚 P3X OneNote Linux",
"main": "src/electron/app.js",
"corifeus": {
Expand Down Expand Up @@ -60,12 +60,11 @@
"corifeus-utils": "^2023.10.128",
"electron-store": "^8.1.0",
"electron-updater": "^6.1.2",
"semver": "^7.5.4",
"electron": "^25.3.1"
"semver": "^7.5.4"
},
"devDependencies": {
"corifeus-builder": "^2023.10.129",
"electron-builder": "^24.6.1"
"electron-builder": "^24.6.3"
},
"engines": {
"node": ">=12.13.0"
Expand Down
13 changes: 7 additions & 6 deletions src/electron/window/onenote/ipc/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,24 @@ const handler = (options) => {


ipcRenderer.on('p3x-onenote-new-window', (event, data) => {
if (data.url.trim().startsWith('about:blank')) {
const url = data.url
if (url.trim().startsWith('about:blank')) {
//webview.src = event.url;
return
}
if (global.p3x.onenote.conf.get('option-to-disable-internal-external-popup') === true) {
webview.src = event.url
webview.src = url
} else {
global.p3x.onenote.prompt.redirect({url: data.url}).then((answer) => {
global.p3x.onenote.prompt.redirect({url: url}).then((answer) => {
if (answer === 'internal') {
webview.src = data.url;
webview.src = url;
} else {
shell.openExternal(data.url)
shell.openExternal(url)
}
})
}
})

}

module.exports = handler
module.exports = handler

0 comments on commit 46b7903

Please sign in to comment.