diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..35cce68 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,28 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + # You may remove this if you don't use go modules. + # - go mod download + # you may remove this if you don't need go generate + # - go generate ./... +builds: +- env: + - CGO_ENABLED=0 +archives: +- replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' diff --git a/dist/config.yaml b/dist/config.yaml new file mode 100644 index 0000000..ac5c860 --- /dev/null +++ b/dist/config.yaml @@ -0,0 +1,82 @@ +project_name: postwoman-proxy +release: + github: + owner: postwoman-io + name: postwoman-proxy + name_template: '{{.Tag}}' +scoop: + name: postwoman-proxy + commit_author: + name: goreleaserbot + email: goreleaser@carlosbecker.com + commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }} +builds: +- id: postwoman-proxy + goos: + - linux + - darwin + goarch: + - amd64 + - "386" + goarm: + - "6" + targets: + - linux_amd64 + - linux_386 + ignore: + - goos: darwin + goarch: "" + goarm: "" + gomips: "" + dir: . + main: . + ldflags: + - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser + binary: postwoman-proxy + env: + - CGO_ENABLED=0 + lang: go +archives: +- id: default + builds: + - postwoman-proxy + name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}' + replacements: + "386": i386 + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + format: tar.gz + files: + - licence* + - LICENCE* + - license* + - LICENSE* + - readme* + - README* + - changelog* + - CHANGELOG* +snapshot: + name_template: '{{ .Tag }}-next' +checksum: + name_template: checksums.txt + algorithm: sha256 +changelog: + filters: + exclude: + - '^docs:' + - '^test:' + sort: asc +dist: dist +env_files: + github_token: ~/.config/goreleaser/github_token + gitlab_token: ~/.config/goreleaser/gitlab_token + gitea_token: ~/.config/goreleaser/gitea_token +source: + name_template: '{{ .ProjectName }}-{{ .Version }}' + format: tar.gz +github_urls: + download: https://github.com +gitlab_urls: + download: https://gitlab.com diff --git a/resources/darwin/PostwomanProxy.app/Contents/Info.plist b/resources/darwin/PostwomanProxy.app/Contents/Info.plist index 98d6433..0594038 100644 --- a/resources/darwin/PostwomanProxy.app/Contents/Info.plist +++ b/resources/darwin/PostwomanProxy.app/Contents/Info.plist @@ -26,11 +26,15 @@ public.app-category.developer-tools LSMinimumSystemVersion 10.8.0 - NSHighResolutionCapable - NSSupportsAutomaticGraphicsSwitching NSHumanReadableCopyright MIT License; The Postwoman Project + + NSHighResolutionCapable + + + LSUIElement + 1