Skip to content

Commit

Permalink
r0b08x [chore] 5/21/2024, 6:04:34 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed May 21, 2024
1 parent 8c20bc1 commit ac894f4
Show file tree
Hide file tree
Showing 23 changed files with 63 additions and 62 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@



# 📡 P3X Redis UI is a very functional handy database GUI and works in your pocket on the responsive web or as a desktop app v2024.4.321
# 📡 P3X Redis UI is a very functional handy database GUI and works in your pocket on the responsive web or as a desktop app v2024.4.322



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


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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
10 changes: 10 additions & 0 deletions artifacts/apple/entitlements/entitlements.mas.inherit.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>

<key>com.apple.security.inherit</key><true/>
</dict>
</plist>
15 changes: 13 additions & 2 deletions artifacts/apple/entitlements/entitlements.mas.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.1">
<dict>
<key>com.apple.security.app-sandbox</key><true/>
<key>com.apple.security.inherit</key><true/>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.files.bookmarks.app-scope</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.print</key>
<true/>
<key>com.apple.security.inherit</key><true/>
</dict>
</plist>
25 changes: 0 additions & 25 deletions artifacts/apple/entitlements/entitlementsInherit.plist

This file was deleted.

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


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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/readme/create-https-cert.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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/readme/docker-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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/readme/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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/readme/pika.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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/readme/privacy-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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/readme/screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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/readme/start-up-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 change-log.2018.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 change-log.2019.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 change-log.2020.md
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 change-log.2021.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 change-log.2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 change-log.2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 @@ -6,6 +6,10 @@
[//]: #@corifeus-header:end


### v2024.4.322
Released on 05/21/2024
* FEATURE: Enable Apple Store. This should be the first release version on Apple Store.

### v2024.4.321
Released on 05/21/2024
* FEATURE: Enable Electron quit shortcut on Control or Command and Q.
Expand Down Expand Up @@ -410,7 +414,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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 contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.321
[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui.svg)](https://www.npmjs.com/package/p3x-redis-ui) [![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
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-redis-ui",
"version": "2024.4.321",
"version": "2024.4.322",
"description": "📡 P3X Redis UI is a very functional handy database GUI and works in your pocket on the responsive web or as a desktop app",
"corifeus": {
"description-snap": "P3X Redis UI is a very functional handy database GUI and works in your pocket on the responsive web or as a desktop app",
Expand Down Expand Up @@ -34,7 +34,8 @@
"publish-electron-yml": "node ./node_modules/corifeus-builder/src/utils/appimage/post-build.js",
"publish-electron-flatpak": "rm -rf dist && electron-builder -p always --linux flatpak --x64 --arm64",
"publish-macos": "electron-builder --mac --publish never",
"publish-macos-mas": "rimraf build && cp -R artifacts/apple/entitlements/ ./build && cp secure/apple/p3xredisui.provisionprofile ./build && electron-builder --mac mas --universal --publish never"
"publish-macos-mas": "source ./secure/apple-env.sh && sudo rm -rf build && sudo rm -rf dist && mkdir build && cp secure/apple/p3xredisuimacos.provisionprofile ./build && electron-builder --mac mas --universal --publish never",
"publish-macos-mas-save": "source ./secure/apple-env.sh && sudo rm -rf build && sudo rm -rf dist && cp -R artifacts/apple/entitlements/ ./build && cp secure/apple/p3xredisuimacos.provisionprofile ./build && electron-builder --mac mas --universal --publish never"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -147,10 +148,7 @@
]
},
"mas": {
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements.mas.plist",
"provisioningProfile": "build/p3xredisui.provisionprofile",
"type": "distribution"
"provisioningProfile": "build/p3xredisuimacos.provisionprofile"
},
"snap": {
"environment": {
Expand Down
19 changes: 11 additions & 8 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ const execAsync = async() => {
app.commandLine.appendSwitch('remote-debugging-port', '9222')
}

const gotTheLock = app.requestSingleInstanceLock()
if (process.platform !== 'darwin' && process.platform !== 'mas') {
const gotTheLock = app.requestSingleInstanceLock()

if (!gotTheLock) {
app.quit()
return
if (!gotTheLock) {
app.quit()
return
}
}
app.on('second-instance', (event, commandLine, workingDirectory) => {
// Someone tried to run a second instance, we should focus our window.
Expand All @@ -63,6 +65,11 @@ const execAsync = async() => {
createWindow();


globalShortcut.register('CmdOrCtrl+X', () => {
console.log('Global shortcut CmdOrCtrl+X triggered');
app.quit()
});

// ngivrSession.init();
});

Expand Down Expand Up @@ -103,10 +110,6 @@ const execAsync = async() => {



globalShortcut.register('CmdOrCtrl+X', () => {
console.log('Global shortcut CmdOrCtrl+X triggered');
app.quit()
});

app.on('will-quit', () => {
// Unregister all shortcuts
Expand Down
6 changes: 3 additions & 3 deletions src/electron/module/create/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function createWindow() {
nodeIntegration: true,
contextIsolation: false,
nativeWindowOpen: true,
worldSafeExecuteJavaScript: false,
allowRunningInsecureContent: true,
webSecurity: false,
worldSafeExecuteJavaScript: true,
allowRunningInsecureContent: false,
webSecurity: true,
}
});

Expand Down

0 comments on commit ac894f4

Please sign in to comment.