mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-18 04:43:17 +00:00
wtf goproxy
This commit is contained in:
parent
44fe9a32b1
commit
e064bb457f
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue