rsrc

Tool for embedding .ico & manifest resources in Go programs for Windows. ⛺

Github stars Tracking Chart

rsrc - Tool for embedding binary resources in Go programs.

INSTALL: go get github.com/akavel/rsrc

USAGE:

rsrc [-manifest FILE.exe.manifest] [-ico FILE.ico[,FILE2.ico...]] -o FILE.syso
Generates a .syso file with specified resources embedded in .rsrc section.
The .syso file can be linked by Go linker when building Win32 executables.
Icon embedded this way will show up on application's .exe instead of empty icon.
Manifest file embedded this way will be recognized and detected by Windows.

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="386": architecture of output file - one of: 386, [EXPERIMENTAL: amd64]
-data="": path to raw data file to embed [WARNING: useless for Go 1.4+]
-ico="": comma-separated list of paths to .ico files to embed
-manifest="": path to a Windows manifest file to embed
-o="rsrc.syso": name of output COFF (.res or .syso) file

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 czapkofan@gmail.com), 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 FIXMEs

LICENSE: MIT
Copyright 2013-2017 The rsrc Authors.

http://github.com/akavel/rsrc

Main metrics

Overview
Name With Ownerakavel/rsrc
Primary LanguageGo
Program languageGo (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2013-12-07 00:26:28
Pushed At2023-05-12 18:51:10
Last Commit At2021-03-12 15:42:57
Release Count6
Last Release Namev0.10.2 (Posted on )
First Release Namev0.2.0 (Posted on )
用户参与
Stargazers Count1.3k
Watchers Count34
Fork Count129
Commits Count138
Has Issues Enabled
Issues Count33
Issue Open Count11
Pull Requests Count5
Pull Requests Open Count2
Pull Requests Close Count6
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private