Skip to content

Commit

Permalink
Fix os check
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Apr 12, 2024
1 parent d98760d commit 43fdc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/tun2socks/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tasks:
# -w Omit the DWARF symbol table.
# -X Set the value of the string variable.
- |
{{if ne OS "{{.TARGET_OS}}" -}}
{{if ne .OS .TARGET_OS -}}
GOOS={{.TARGET_OS}} GOARCH=amd64 CGO_ENABLED=1 CC='zig cc -target x86_64-{{.TARGET_OS}}'
{{- end}} \
go build -trimpath -ldflags="-s -w -X=main.version={{.TUN2SOCKS_VERSION}}" -o '{{.OUTPUT}}' '{{.TASKFILE_DIR}}/outline/electron'
Expand Down

0 comments on commit 43fdc9a

Please sign in to comment.