forked from CringeStudios/element-desktop
Update dependency electron to v34 (#2092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
7cce02747a
commit
9ce980d200
3
.github/workflows/build_linux.yaml
vendored
3
.github/workflows/build_linux.yaml
vendored
@ -22,6 +22,7 @@ on:
|
|||||||
description: "How to link sqlcipher, one of 'system' | 'static'"
|
description: "How to link sqlcipher, one of 'system' | 'static'"
|
||||||
env:
|
env:
|
||||||
SQLCIPHER_BUNDLED: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
|
SQLCIPHER_BUNDLED: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
|
||||||
|
MAX_GLIBC: 2.31 # bullseye-era glibc, used by glibc-check.sh
|
||||||
permissions: {} # No permissions required
|
permissions: {} # No permissions required
|
||||||
jobs:
|
jobs:
|
||||||
# We build the hak files on native infrastructure as matrix-seshat fails to cross-compile properly
|
# We build the hak files on native infrastructure as matrix-seshat fails to cross-compile properly
|
||||||
@ -144,8 +145,6 @@ jobs:
|
|||||||
for filename in ./.hak/hakModules/**/*.node; do
|
for filename in ./.hak/hakModules/**/*.node; do
|
||||||
./scripts/glibc-check.sh $filename
|
./scripts/glibc-check.sh $filename
|
||||||
done
|
done
|
||||||
env:
|
|
||||||
MAX_VER: 2.31 # bullseye-era glibc
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: hak
|
needs: hak
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
"app-builder-lib": "25.1.8",
|
"app-builder-lib": "25.1.8",
|
||||||
"chokidar": "^4.0.0",
|
"chokidar": "^4.0.0",
|
||||||
"detect-libc": "^2.0.0",
|
"detect-libc": "^2.0.0",
|
||||||
"electron": "32.2.8",
|
"electron": "34.0.0",
|
||||||
"electron-builder": "25.1.8",
|
"electron-builder": "25.1.8",
|
||||||
"electron-builder-squirrel-windows": "25.1.8",
|
"electron-builder-squirrel-windows": "25.1.8",
|
||||||
"electron-devtools-installer": "^4.0.0",
|
"electron-devtools-installer": "^4.0.0",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Source https://gist.github.com/vladimyr/9a03481154cd3048a486bdf71e5e1535/57e57a6ace6fb2c8bba948bce726df7a96c3f99f
|
# Source https://gist.github.com/vladimyr/9a03481154cd3048a486bdf71e5e1535/57e57a6ace6fb2c8bba948bce726df7a96c3f99f
|
||||||
# This scripts lets you check which minimum GLIBC version an executable requires.
|
# This scripts lets you check which minimum GLIBC version an executable requires.
|
||||||
# Simply run './glibc-check.sh path/to/your/binary'
|
# Simply run './glibc-check.sh path/to/your/binary'
|
||||||
MAX_VER="${MAX_VER:-2.28}"
|
MAX_GLIBC="${MAX_GLIBC:-2.28}"
|
||||||
|
|
||||||
BINARY="$1"
|
BINARY="$1"
|
||||||
|
|
||||||
@ -39,10 +39,10 @@ IFS="
|
|||||||
VERS=$(objdump -T "$BINARY" | grep GLIBC_ | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -u)
|
VERS=$(objdump -T "$BINARY" | grep GLIBC_ | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -u)
|
||||||
|
|
||||||
for VER in $VERS; do
|
for VER in $VERS; do
|
||||||
vercomp "$VER" "$MAX_VER"
|
vercomp "$VER" "$MAX_GLIBC"
|
||||||
COMP=$?
|
COMP=$?
|
||||||
if [[ $COMP -eq 1 ]]; then
|
if [[ $COMP -eq 1 ]]; then
|
||||||
echo "Error! ${BINARY} requests GLIBC ${VER}, which is higher than target ${MAX_VER}"
|
echo "Error! ${BINARY} requests GLIBC ${VER}, which is higher than target ${MAX_GLIBC}"
|
||||||
echo "Affected symbols:"
|
echo "Affected symbols:"
|
||||||
objdump -T "$BINARY" | grep -F "GLIBC_${VER}"
|
objdump -T "$BINARY" | grep -F "GLIBC_${VER}"
|
||||||
echo "Looking for symbols in libraries..."
|
echo "Looking for symbols in libraries..."
|
||||||
|
@ -3694,10 +3694,10 @@ electron-window-state@^5.0.3:
|
|||||||
jsonfile "^4.0.0"
|
jsonfile "^4.0.0"
|
||||||
mkdirp "^0.5.1"
|
mkdirp "^0.5.1"
|
||||||
|
|
||||||
electron@32.2.8:
|
electron@34.0.0:
|
||||||
version "32.2.8"
|
version "34.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/electron/-/electron-32.2.8.tgz#4154e40a8e10cf7e2a892ed7176f849ad88536be"
|
resolved "https://registry.yarnpkg.com/electron/-/electron-34.0.0.tgz#30ccedbc02d2f036868b8278960fd0e438ec0e52"
|
||||||
integrity sha512-jaAgBeFKjH6Cd7CnG7XhApZtLz2ewUXLyf1rKh9D+eaFD5XCYQpH77PhmrT5u0IpSP6eSZoHpAQ0sMqOFsh6kA==
|
integrity sha512-fpaPb0lifoUJ6UJa4Lk8/0B2Ku/xDZWdc1Gkj67jbygTCrvSon0qquju6Ltx1Kz23GRqqlIHXiy9EvrjpY7/Wg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@electron/get" "^2.0.0"
|
"@electron/get" "^2.0.0"
|
||||||
"@types/node" "^20.9.0"
|
"@types/node" "^20.9.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user