wtf goproxy

This commit is contained in:
Phantop 2022-05-25 15:09:37 -04:00
parent 44fe9a32b1
commit e064bb457f

View file

@ -7,6 +7,7 @@ curl -L https://go.dev/"$LINK" | tar xz -C$DIR
cp "$(dirname "$(readlink -f "${0}")")"/../AppRun $DIR/go cp "$(dirname "$(readlink -f "${0}")")"/../AppRun $DIR/go
sed -i 5s#/#/bin/# $DIR/go/AppRun sed -i 5s#/#/bin/# $DIR/go/AppRun
sed -i '4a export GOPROXY=direct' $DIR/go/AppRun
appdwarf $DIR/go appdwarf $DIR/go
mv $DIR/go.sh go mv $DIR/go.sh go