Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akavel/rsrc
Tool for embedding .ico & manifest resources in Go programs for Windows.
https://github.com/akavel/rsrc
embed go ico ico-files icon linker manifest stable windows
Last synced: 35 minutes ago
JSON representation
Tool for embedding .ico & manifest resources in Go programs for Windows.
- Host: GitHub
- URL: https://github.com/akavel/rsrc
- Owner: akavel
- License: mit
- Created: 2013-12-07T00:26:28.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-05-12T18:51:10.000Z (over 1 year ago)
- Last Synced: 2024-12-05T07:05:45.995Z (7 days ago)
- Topics: embed, go, ico, ico-files, icon, linker, manifest, stable, windows
- Language: Go
- Homepage:
- Size: 1.11 MB
- Stars: 1,254
- Watchers: 35
- Forks: 124
- Open Issues: 13
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
- Authors: AUTHORS
Awesome Lists containing this project
- awesome-golang-repositories - rsrc
- awesome-hacking-lists - akavel/rsrc - Tool for embedding .ico & manifest resources in Go programs for Windows. (Go)
README
rsrc - Tool for embedding binary resources in Go programs.
INSTALL: go get github.com/akavel/rsrc
USAGE:
rsrc.exe [-manifest FILE.exe.manifest] [-ico FILE.ico[,FILE2.ico...]] [OPTIONS...]
Generates a .syso file with specified resources embedded in .rsrc section,
aimed for consumption by Go linker when building Win32 excecutables.The generated *.syso files should get automatically recognized by 'go build'
command and linked into an executable/library, as long as there are any *.go
files in the same directory.OPTIONS:
-arch string
architecture of output file - one of: 386, amd64, [EXPERIMENTAL: arm, arm64] (default "amd64")
-ico string
comma-separated list of paths to .ico files to embed
-manifest string
path to a Windows manifest file to embed
-o string
name of output COFF (.res or .syso) file; if set to empty, will default to 'rsrc_windows_{arch}.syso'Based on ideas presented by Minux.
In case anything does not work, it'd be nice if you could report (either via Github
issues, or via email to [email protected]), and please attach the input file(s)
which resulted in a problem, plus error message & symptoms, and/or any other details.TODO MAYBE/LATER:
- fix or remove FIXMEsLICENSE: MIT
Copyright 2013-2020 The rsrc Authors.http://github.com/akavel/rsrc
(NOTE: This project is currently in low-priority maintenance mode. I welcome
bug reports and sometimes try to address them, but this happens very randomly.
If it works for you, that's great and I'm happy! Still, and especially if not,
you might like to check the following more featureful alternative from @tc-hib
who is a very nice guy:
https://github.com/tc-hib/go-winres)