mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 06:03:35 +00:00
Update linux-install.sh
This commit is contained in:
4
.github/actions/linux-install.sh
vendored
4
.github/actions/linux-install.sh
vendored
@ -19,8 +19,8 @@ du -h $gam
|
|||||||
time $gam version extended
|
time $gam version extended
|
||||||
if ([ "${ImageOS}" == "ubuntu18" ]) && [ "${HOSTTYPE}" == "x86_64" ]; then
|
if ([ "${ImageOS}" == "ubuntu18" ]) && [ "${HOSTTYPE}" == "x86_64" ]; then
|
||||||
GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-legacy.tar.xz
|
GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-legacy.tar.xz
|
||||||
$python -OO -m staticx -l /lib/x86_64-linux-gnu/libresolv.so.2 -l /lib/x86_64-linux-gnu/libnss_dns.so.2 $gam $gam-staticx
|
$python -OO -m staticx $gam $gam-staticx
|
||||||
strip $gam-staticx
|
#strip $gam-staticx
|
||||||
rm $gampath/gam
|
rm $gampath/gam
|
||||||
mv $gam-staticx $gam
|
mv $gam-staticx $gam
|
||||||
chmod 755 $gam
|
chmod 755 $gam
|
||||||
|
Reference in New Issue
Block a user