rsrc

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

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者akavel/rsrc
主編程語言Go
編程語言Go (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2013-12-07 00:26:28
推送於2023-05-12 18:51:10
最后一次提交2021-03-12 15:42:57
發布數6
最新版本名稱v0.10.2 (發布於 )
第一版名稱v0.2.0 (發布於 )
用户参与
星數1.3k
關注者數34
派生數129
提交數138
已啟用問題?
問題數33
打開的問題數11
拉請求數5
打開的拉請求數2
關閉的拉請求數6
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?