feat(windows): manifest file

This commit is contained in:
Jan De Dobbeleer 2022-08-26 21:51:47 +02:00 committed by Jan De Dobbeleer
parent 2f4ebfc493
commit 29c7a2751b
11 changed files with 47 additions and 1 deletions

View file

@ -25,5 +25,5 @@ jobs:
with:
distribution: goreleaser
version: latest
args: build --rm-dist --snapshot --skip-post-hooks
args: build --rm-dist --snapshot --skip-post-hooks --skip-before
workdir: src

View file

@ -3,6 +3,8 @@
before:
hooks:
- go mod tidy
- go install github.com/tc-hib/go-winres@latest
- go-winres make --product-version=git-tag --file-version=git-tag --arch="amd64,386,arm64"
builds:
-
binary: "posh-{{ .Os }}-{{ .Arch }}"

BIN
src/rsrc_windows_386.syso Normal file

Binary file not shown.

BIN
src/rsrc_windows_amd64.syso Normal file

Binary file not shown.

BIN
src/rsrc_windows_arm64.syso Normal file

Binary file not shown.

BIN
src/winres/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
src/winres/icon16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
src/winres/icon32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
src/winres/icon48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
src/winres/icon64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

44
src/winres/winres.json Normal file
View file

@ -0,0 +1,44 @@
{
"RT_GROUP_ICON": {
"APP": {
"0000": [
"icon.png",
"icon64.png",
"icon48.png",
"icon32.png",
"icon16.png"
]
}
},
"RT_MANIFEST": {
"#1": {
"0409": {
"description": "A prompt theme engine for any shell.",
"minimum-os": "win8",
"execution-level": "as invoker",
"long-path-aware": true,
"segment-heap": true
}
}
},
"RT_VERSION": {
"#1": {
"0000": {
"fixed": {
"file_version": "0.0.0.0",
"product_version": "0.0.0.0"
},
"info": {
"0409": {
"CompanyName": "github.com/jandedobbeleer",
"FileDescription": "A prompt theme engine for any shell.",
"InternalName": "oh-my-posh",
"LegalCopyright": "© Jan De Dobbeleer. Licensed under MIT.",
"OriginalFilename": "oh-my-posh.exe",
"ProductName": "Oh My Posh"
}
}
}
}
}
}