mirror of https://github.com/Phantop/appdwarf.git
update versoin num, change dotnet to sdk, keep just wine64
This commit is contained in:
parent
84106c982c
commit
c756a733fa
2
appdwarf
2
appdwarf
|
@ -87,7 +87,7 @@ case "$1" in
|
||||||
-p | -z | --prefix | --zzexe )
|
-p | -z | --prefix | --zzexe )
|
||||||
zzexe "$@" ;;
|
zzexe "$@" ;;
|
||||||
--version | -v )
|
--version | -v )
|
||||||
tput setaf 2; echo appdwarf 2023.02.04
|
tput setaf 2; echo appdwarf 2023.05.25
|
||||||
tput setaf 6; echo Built by July 🏳️🌈; exit ;;
|
tput setaf 6; echo Built by July 🏳️🌈; exit ;;
|
||||||
-* | '' )
|
-* | '' )
|
||||||
echo "Usage: appdwarf [option] [APP/FILE/FOLDER/URL] [compression options]"
|
echo "Usage: appdwarf [option] [APP/FILE/FOLDER/URL] [compression options]"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")"/appmk
|
. "$(dirname "$0")"/appmk
|
||||||
part0
|
part0
|
||||||
LINK=https://dotnetcli.azureedge.net/dotnet/Runtime
|
LINK=https://dotnetcli.azureedge.net/dotnet/Sdk
|
||||||
VER=$(curl $LINK/STS/latest.version)
|
VER=$(curl $LINK/STS/latest.version)
|
||||||
LINK="$LINK/$VER/dotnet-runtime-$VER-linux-x64.tar.gz"
|
LINK="$LINK/$VER/dotnet-sdk-$VER-linux-x64.tar.gz"
|
||||||
ungz
|
ungz
|
||||||
ln -s dotnet "$DIR"/AppRun
|
ln -s dotnet "$DIR"/AppRun
|
||||||
part9
|
part9
|
||||||
|
|
|
@ -10,6 +10,7 @@ unarc
|
||||||
mv "$DIR"/wine*/* "$DIR"/GE-Proton*/files/* "$DIR"/lutris*/* "$DIR" || true
|
mv "$DIR"/wine*/* "$DIR"/GE-Proton*/files/* "$DIR"/lutris*/* "$DIR" || true
|
||||||
t=winetricks; wget -O"$DIR"/bin/$t github.com/$t/$t/raw/master/src/$t
|
t=winetricks; wget -O"$DIR"/bin/$t github.com/$t/$t/raw/master/src/$t
|
||||||
chmod +x "$DIR"/bin/$t
|
chmod +x "$DIR"/bin/$t
|
||||||
|
rm -r "$DIR"/lib/wine/i386*
|
||||||
|
|
||||||
if [ "$PREFIX" ]; then
|
if [ "$PREFIX" ]; then
|
||||||
WINEPREFIX="$DIR/prefix" "$DIR/bin/wine" cmd /c exit
|
WINEPREFIX="$DIR/prefix" "$DIR/bin/wine" cmd /c exit
|
||||||
|
|
Loading…
Reference in New Issue