From 9afa647db03cc5ecd404376765d2510e4435b259 Mon Sep 17 00:00:00 2001 From: patrikx3 Date: Tue, 21 May 2024 22:50:19 +0200 Subject: [PATCH] r0b08x [chore] 5/21/2024, 10:50:19 PM --- README.md | 4 ++-- artifacts/apple/entitlements/entitlements.mas.plist | 10 ++++++++++ artifacts/readme/angularjs.md | 2 +- artifacts/readme/create-https-cert.md | 2 +- artifacts/readme/docker-cluster.md | 2 +- artifacts/readme/macos.md | 2 +- artifacts/readme/pika.md | 2 +- artifacts/readme/privacy-policy.md | 2 +- artifacts/readme/screenshots.md | 2 +- artifacts/readme/start-up-server.md | 2 +- change-log.2018.md | 2 +- change-log.2019.md | 2 +- change-log.2020.md | 2 +- change-log.2021.md | 2 +- change-log.2022.md | 2 +- change-log.2023.md | 2 +- change-log.md | 5 ++++- contributors.md | 2 +- package.json | 10 +++++----- src/app.js | 10 ++++------ src/electron/module/create/window.js | 7 ++++--- 21 files changed, 44 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 4dc0e6b..8b59a4b 100644 --- a/README.md +++ b/README.md @@ -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.322 +# 📡 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.327 @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/apple/entitlements/entitlements.mas.plist b/artifacts/apple/entitlements/entitlements.mas.plist index 8551e6f..24a4881 100644 --- a/artifacts/apple/entitlements/entitlements.mas.plist +++ b/artifacts/apple/entitlements/entitlements.mas.plist @@ -2,6 +2,14 @@ + + com.apple.security.cs.allow-jit + + com.apple.security.cs.allow-unsigned-executable-memory + + + com.apple.security.cs.disable-library-validation + com.apple.security.app-sandbox com.apple.security.files.user-selected.read-write @@ -14,6 +22,8 @@ com.apple.security.print + com.apple.security.files.downloads.read-write + com.apple.security.inherit diff --git a/artifacts/readme/angularjs.md b/artifacts/readme/angularjs.md index 7c04c59..86d14c9 100644 --- a/artifacts/readme/angularjs.md +++ b/artifacts/readme/angularjs.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/readme/create-https-cert.md b/artifacts/readme/create-https-cert.md index ff16e4c..9544113 100644 --- a/artifacts/readme/create-https-cert.md +++ b/artifacts/readme/create-https-cert.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/readme/docker-cluster.md b/artifacts/readme/docker-cluster.md index 17d9b3a..37b9c10 100644 --- a/artifacts/readme/docker-cluster.md +++ b/artifacts/readme/docker-cluster.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/readme/macos.md b/artifacts/readme/macos.md index b95856d..716de42 100644 --- a/artifacts/readme/macos.md +++ b/artifacts/readme/macos.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/readme/pika.md b/artifacts/readme/pika.md index 7700781..b199ed7 100644 --- a/artifacts/readme/pika.md +++ b/artifacts/readme/pika.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/readme/privacy-policy.md b/artifacts/readme/privacy-policy.md index 4c4294e..190fc6d 100644 --- a/artifacts/readme/privacy-policy.md +++ b/artifacts/readme/privacy-policy.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/readme/screenshots.md b/artifacts/readme/screenshots.md index c3453c0..e371b93 100644 --- a/artifacts/readme/screenshots.md +++ b/artifacts/readme/screenshots.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/artifacts/readme/start-up-server.md b/artifacts/readme/start-up-server.md index f26c8d2..ac15072 100644 --- a/artifacts/readme/start-up-server.md +++ b/artifacts/readme/start-up-server.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/change-log.2018.md b/change-log.2018.md index 0bf7123..9dd48b1 100644 --- a/change-log.2018.md +++ b/change-log.2018.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/change-log.2019.md b/change-log.2019.md index 5080cda..604def6 100644 --- a/change-log.2019.md +++ b/change-log.2019.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/change-log.2020.md b/change-log.2020.md index ad89799..5451c02 100644 --- a/change-log.2020.md +++ b/change-log.2020.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/change-log.2021.md b/change-log.2021.md index 8abce9a..1a0a75f 100644 --- a/change-log.2021.md +++ b/change-log.2021.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/change-log.2022.md b/change-log.2022.md index fe63e8d..9795fc2 100644 --- a/change-log.2022.md +++ b/change-log.2022.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/change-log.2023.md b/change-log.2023.md index 112801d..1cb698c 100644 --- a/change-log.2023.md +++ b/change-log.2023.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/change-log.md b/change-log.md index 961c03e..258d6b8 100644 --- a/change-log.md +++ b/change-log.md @@ -5,6 +5,9 @@ [//]: #@corifeus-header:end +### v2024.4.326 +Released on 05/21/2024 +* BUGFIX: Build problem ### v2024.4.322 Released on 05/21/2024 @@ -414,7 +417,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com --- -[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/contributors.md b/contributors.md index b8d1883..4db0481 100644 --- a/contributors.md +++ b/contributors.md @@ -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.322 +[**P3X-REDIS-UI**](https://corifeus.com/redis-ui) Build v2024.4.327 [![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) diff --git a/package.json b/package.json index febd6e3..5e12a6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p3x-redis-ui", - "version": "2024.4.322", + "version": "2024.4.327", "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", @@ -34,7 +34,7 @@ "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": "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": "source ./secure/apple-env.sh && sudo rm -rf build && sudo rm -rf dist && mkdir build && cp secure/apple/p3xredisuimacos.provisionprofile ./build && cp -R artifacts/apple/entitlements/ ./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": { @@ -68,7 +68,7 @@ "author": "Patrik Laszlo ", "license": "MIT", "devDependencies": { - "axios": "^1.7.1", + "axios": "^1.7.2", "copyfiles": "^2.4.1", "corifeus-builder": "^2024.4.140", "electron": "^30.0.6", @@ -90,8 +90,8 @@ "corifeus-utils": "^2024.4.123", "electron-store": "8.2.0", "electron-updater": "^6.1.8", - "p3x-redis-ui-material": "^2024.4.236", - "p3x-redis-ui-server": "^2024.4.233" + "p3x-redis-ui-material": "^2024.4.265", + "p3x-redis-ui-server": "^2024.4.253" }, "build-save": { "afterSign": "scripts/notarize.js", diff --git a/src/app.js b/src/app.js index 58d25e7..2f58026 100644 --- a/src/app.js +++ b/src/app.js @@ -45,13 +45,11 @@ const execAsync = async() => { app.commandLine.appendSwitch('remote-debugging-port', '9222') } - if (process.platform !== 'darwin' && process.platform !== 'mas') { - const gotTheLock = app.requestSingleInstanceLock() + 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. diff --git a/src/electron/module/create/window.js b/src/electron/module/create/window.js index d0ef892..b60b0d5 100644 --- a/src/electron/module/create/window.js +++ b/src/electron/module/create/window.js @@ -10,13 +10,14 @@ function createWindow() { backgroundColor: 'black', autoHideMenuBar: global.p3xre.optionToHideMenu, webPreferences: { + sandbox: false, webviewTag: true, nodeIntegration: true, contextIsolation: false, nativeWindowOpen: true, - worldSafeExecuteJavaScript: true, - allowRunningInsecureContent: false, - webSecurity: true, + worldSafeExecuteJavaScript: false, + allowRunningInsecureContent: true, + webSecurity: false, } });