Added app icon
This commit is contained in:
parent
c01446a082
commit
e7f9dbc5f9
6 changed files with 11 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ jobs:
|
|||
notarization-api-key-base64: ${{ secrets.MACOS_NOTARY_KEY }}
|
||||
notarization-api-key-id: ${{ secrets.MACOS_NOTARY_KEY_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-key: Apps/Dequoter/{version}/{filename}
|
||||
s3-region: ap-southeast-2
|
||||
|
|
|
|||
BIN
extra-assets/AppIcon.afdesign
Normal file
BIN
extra-assets/AppIcon.afdesign
Normal file
Binary file not shown.
BIN
extra-assets/AppIcon.afdesign~lock~
Normal file
BIN
extra-assets/AppIcon.afdesign~lock~
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
|
||||
|
||||
import (
|
||||
"dequoter/icon_asset"
|
||||
"embed"
|
||||
"log"
|
||||
"runtime"
|
||||
|
|
@ -64,6 +65,7 @@ func main() {
|
|||
About: &mac.AboutInfo{
|
||||
Title: "Dequoter",
|
||||
Message: "© 2025-2026 Leon Mika\nVersion: " + VersionNumber,
|
||||
Icon: icon_asset.AppIcon,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue