Compare commits
2 commits
c01446a082
...
0f82360369
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f82360369 | ||
|
|
e7f9dbc5f9 |
|
|
@ -33,6 +33,7 @@ jobs:
|
||||||
notarization-api-key-base64: ${{ secrets.MACOS_NOTARY_KEY }}
|
notarization-api-key-base64: ${{ secrets.MACOS_NOTARY_KEY }}
|
||||||
notarization-api-key-id: ${{ secrets.MACOS_NOTARY_KEY_ID }}
|
notarization-api-key-id: ${{ secrets.MACOS_NOTARY_KEY_ID }}
|
||||||
notarization-api-issuer-id: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
|
notarization-api-issuer-id: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
|
||||||
|
extra-build-flags: '-ldflags "-X main.VersionNumber=${{ forgejo.ref_name }}"'
|
||||||
s3-bucket: lmika-public-files
|
s3-bucket: lmika-public-files
|
||||||
s3-key: Apps/Dequoter/{version}/{filename}
|
s3-key: Apps/Dequoter/{version}/{filename}
|
||||||
s3-region: ap-southeast-2
|
s3-region: ap-southeast-2
|
||||||
|
|
|
||||||
BIN
extra-assets/AppIcon.afdesign
Normal file
BIN
extra-assets/AppIcon.afdesign
Normal file
Binary file not shown.
BIN
icon_asset/appicon.png
Normal file
BIN
icon_asset/appicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
8
icon_asset/fs.go
Normal file
8
icon_asset/fs.go
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
package icon_asset
|
||||||
|
|
||||||
|
import (
|
||||||
|
_ "embed"
|
||||||
|
)
|
||||||
|
|
||||||
|
//go:embed appicon.png
|
||||||
|
var AppIcon []byte
|
||||||
2
main.go
2
main.go
|
|
@ -1,6 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"dequoter/icon_asset"
|
||||||
"embed"
|
"embed"
|
||||||
"log"
|
"log"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
@ -64,6 +65,7 @@ func main() {
|
||||||
About: &mac.AboutInfo{
|
About: &mac.AboutInfo{
|
||||||
Title: "Dequoter",
|
Title: "Dequoter",
|
||||||
Message: "© 2025-2026 Leon Mika\nVersion: " + VersionNumber,
|
Message: "© 2025-2026 Leon Mika\nVersion: " + VersionNumber,
|
||||||
|
Icon: icon_asset.AppIcon,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue