appdwarf/apps/mkwine

13 lines
400 B
Plaintext
Raw Normal View History

#!/bin/sh
2022-10-18 14:09:41 +00:00
. "$(dirname "$0")"/appmk
part0
VER=Kron4ek/Wine-Builds
[ "$1" = "proton" ] && VER=GloriousEggroll/proton-ge-custom && shift
LINK=$(curl -L api.github.com/repos/$VER/releases | jq .[0].assets[1] | grep -om1 git.\*tar..z)
2022-10-18 14:09:41 +00:00
unarc
mv "$DIR"/wine*/* "$DIR"/GE-Proton*/files/* "$DIR" || true
t=winetricks; wget -O"$DIR"/bin/$t github.com/$t/$t/raw/master/src/$t
chmod +x "$DIR"/bin/$t
2022-10-18 14:09:41 +00:00
appb
part9