1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

Removed sed, app supports Node v22 now (#2728)

This commit is contained in:
Slaviša Arežina 2025-02-27 22:28:11 +01:00 committed by GitHub
parent 51bb4566e7
commit ab370762a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,6 @@ RELEASE=$(curl -s https://api.github.com/repos/jordan-dalby/ByteStash/releases/l
wget -q "https://github.com/jordan-dalby/ByteStash/archive/refs/tags/v${RELEASE}.tar.gz" -O $temp_file
tar zxf $temp_file
mv ByteStash-${RELEASE} /opt/bytestash
sed -i '6s/.*/if (!globalThis.crypto) { globalThis.crypto = crypto; }/' /opt/bytestash/server/src/oidc/oidcConfig.js
cd /opt/bytestash/server
$STD npm install
cd /opt/bytestash/client