mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-25 14:10:05 -05:00
- Fix few SonarQube issues.
- Cleanup NW.js related stuff.
This commit is contained in:
1 parent
3bb9f0ba8c
commit
f8fa1cf6d6
23 files changed
+785
-634
No files matched your search
@@ -153,8 +153,6 @@ _build_runtime() {
|
||||
# Copy electron into the staging directory
|
||||
mkdir -p "${DESKTOPROOT}/usr/${APP_NAME}/bin"
|
||||
|
||||
# The chmod command below is needed to fix the permission issue of
|
||||
# the NWjs binaries and files.
|
||||
# Change the permission for others and group the same as the owner
|
||||
chmod -R og=u "${BUILDROOT}/electron-v${ELECTRON_VERSION}-linux-${ELECTRON_ARCH}"/*
|
||||
# Explicitly remove write permissions for others and group
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<dict>
|
||||
<!--
|
||||
Disable Sandboxing. This must be enabled for the app store, but it will
|
||||
cause NWjs to fail to start with an error like:
|
||||
cause Electron to fail to start with an error like:
|
||||
|
||||
[1004/170922.238911:ERROR:directory_reader_posix.cc(42)] opendir /dev/fd: Operation not permitted (1)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<string>%TEAMID%.org.pgadmin.pgadmin4</string>
|
||||
|
||||
<!--
|
||||
We have no need for JIT on x86_64, but NWJS won't start without it
|
||||
We have no need for JIT on x86_64, but Electron won't start without it
|
||||
on Apple Silicon.
|
||||
-->
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
<!--
|
||||
We need to enable this, even though we don't modify our own executables.
|
||||
Otherwise, NWjs just bombs out.
|
||||
Otherwise, Electron just bombs out.
|
||||
-->
|
||||
<key>com.apple.security.cs.disable-executable-page-protection</key>
|
||||
<true/>
|
||||
|
||||
Reference in new issue
Block a user