Skip to content

Commit ee37621

Browse files
committed
add theme
1 parent c2987df commit ee37621

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+5438
-4054
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
go.work
2222

2323
bin/
24+
build/
2425

2526
*.syso
2627
*.apk
2728
*.idsig
28-
gost-plus
29+
gost.plus

Makefile

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
# https://gioui.org/doc/install
22

3-
NAME=gost-plus
3+
NAME=gost.plus
44
BINDIR=bin
55
VERSION=$(shell cat version/version.go | grep 'Version =' | sed 's/.*\"\(.*\)\".*/\1/g')
66
GOBUILD=CGO_ENABLED=0 go build --ldflags="-s -w" -v -x -a
77
GOFILES=*.go
88

99
PLATFORM_LIST = \
10-
linux-amd64
10+
linux-amd64 \
11+
linux-arm64
1112

1213
WINDOWS_ARCH_LIST = \
13-
windows-amd64
14+
windows-amd64 \
15+
windows-arm64
1416

1517
linux-amd64:
1618
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build --ldflags="-s -w" -v -x -a -o $(BINDIR)/$(NAME)-$@ $(GOFILES)
19+
20+
linux-arm64:
21+
GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build --ldflags="-s -w" -v -x -a -o $(BINDIR)/$(NAME)-$@ $(GOFILES)
1722

1823
darwin-amd64:
1924
GOOS=darwin GOARCH=amd64 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ $(GOFILES)
@@ -22,13 +27,17 @@ darwin-arm64:
2227
GOOS=darwin GOARCH=arm64 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ $(GOFILES)
2328

2429
# https://github.com/tc-hib/go-winres
25-
windows-amd64: winres
26-
go-winres make
30+
windows-amd64:
31+
GOOS=windows GOARCH=amd64 go-winres make --in winres/winres.json --out winres/rsrc
2732
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-s -w -H windowsgui" -o $(BINDIR)/$(NAME)-$@.exe $(GOFILES)
2833

34+
windows-arm64:
35+
GOOS=windows GOARCH=arm64 go-winres make --in winres/winres.json --out winres/rsrc
36+
GOOS=windows GOARCH=arm64 CGO_ENABLED=0 go build -ldflags="-s -w -H windowsgui" -o $(BINDIR)/$(NAME)-$@.exe $(GOFILES)
37+
2938
# go install gioui.org/cmd/gogio@latest
3039
android:
31-
gogio -x -work -target android -minsdk 22 -version 1 -appid gost.plus -o $(BINDIR)/$(NAME)-$(VERSION).apk .
40+
gogio -x -work -target android -minsdk 33 -version $(VERSION).2 -signkey build/sign.keystore -signpass android -appid gost.plus -o $(BINDIR)/$(NAME)-$(VERSION).aab .
3241

3342
gz_releases=$(addsuffix .gz, $(PLATFORM_LIST))
3443
zip_releases=$(addsuffix .zip, $(WINDOWS_ARCH_LIST))
@@ -43,4 +52,5 @@ $(zip_releases): %.zip : %
4352
releases: $(gz_releases) $(zip_releases)
4453

4554
clean:
46-
rm $(BINDIR)/*
55+
rm *.syso -f
56+
rm $(BINDIR)/* -rf

README.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

assets/add-android.png

-157 KB
Binary file not shown.

assets/add.png

-37.2 KB
Binary file not shown.

assets/edit-android.png

-148 KB
Binary file not shown.

assets/edit.png

-53.9 KB
Binary file not shown.

assets/file-tunnel.gif

-778 KB
Binary file not shown.

assets/http-tunnel.gif

-1.16 MB
Binary file not shown.

assets/list-android.png

-391 KB
Binary file not shown.

0 commit comments

Comments
 (0)