• Stars
    star
    1,084
  • Rank 42,698 (Top 0.9 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tool for embedding .ico & manifest resources in Go programs for Windows.
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 FIXMEs

LICENSE: 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)

More Repositories

1

up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview
Go
8,056
star
2

goluago

[on hold] Port of Lua 5.1 interpreter to Go Language Toolchain. [Work In Progress.] See also: http://lua.org and http://golang.org
C
175
star
3

hellomello

Experiments with writing Android apps in Nim
C++
77
star
4

polyclip-go

Go library for Boolean operations on 2D polygons.
Go
74
star
5

dali

Indie assembler/linker for Dalvik VM .dex & .apk files (Work In Progress)
Nim
69
star
6

martinez-src

Mirrored implementations of polygon clipping/CSG/operations algorithm, in C (original, by Martínez et al) and ActionScript3 (port, by Mahir Iqbal)
C++
44
star
7

WernessDithering

Copy of dithering code by Brent Werness (Koloth) invented for Obra Dinn
Processing
30
star
8

embd-go

embd-go is an embeddable command-line tool for embedding data files in Go source code, specially crafted for easy use with `go generate`.
Go
25
star
9

sherman

A clone of Joe Marshall's Rebol 1.0 to Scheme compiler.
Lua
17
star
10

winq

Package winq provides functions for quick & dirty WinAPI calls, with easy errors capturing.
Go
16
star
11

neatpad

Archived source code from Neatpad Win32 Text Editor tutorial by James Brown
C
16
star
12

gostdc

C
15
star
13

elm-expo

Elm <-> Expo bridge experiment
JavaScript
14
star
14

myopenlab

Copy of https://sourceforge.net/p/myopenlab3/code/HEAD/tree/; donate 1 € to original author at http://myopenlab.de/downloads.html if you find it any worth!
Java
12
star
15

cvsclone

A fork of an anonymous pserver CVS cloning tool, with a (googled) anti-SEGFAULT patch applied. Nothing here's mine, I'm just publishing work of some great people.
9
star
16

bbb-ipd-vcf

Quick & dirty scripts to convert Address Book (Contacts list) from BlackBerry .bbb/.ipd backup (BB Desktop Software 7.1) to vCard .vcf files (for Android & other civilized phones)
Lua
7
star
17

asciinema2gif

Convert ASCIInema asciicast v2 files to animated GIFs
Go
6
star
18

vfmd

"Vanilla-flavored" Markdown parser in Go -- based on http://www.vfmd.org spec
Go
5
star
19

polyclip.go

Go library for Boolean operations on 2D polygons.
Go
5
star
20

marco

Manifests & resources compiler for .apk files (Work in Progress)
Nim
5
star
21

nix-config

custom user config (~/.nixpkgs/config.nix) for Nix
Nix
4
star
22

svgmath

Tool for rendering MathML into SVG.
Lua
4
star
23

bookwin

Nim
2
star
24

go-hyphen

Text hyphenation, using Frank Liang's algorithm.
Python
2
star
25

maniana-fork

Development fork of Maniana Todo List app for Android http://code.google.com/p/maniana/
Java
2
star
26

l4.nix

Experimental Nix expression/script for building Fiasco.OC microkernel and L4 Runtime Environment (L4Re)
Nix
2
star
27

_test_github_

some tests etc.
1
star
28

scissors

Scissors XML Viewer
Lua
1
star
29

splitsound

Java
1
star
30

homebrew-up

Homebrew package ("tap") for github.com/akavel/up
Ruby
1
star
31

go-explorer-rescued

Some rescued code of github.com/garyburd/go-explorer repository; unknown freshness
Go
1
star
32

backer

Small tool for backups/archiving of photos and other files
Go
1
star
33

go-explorer

Go Explorer is Vim plugin for exploring Go code
Vim Script
1
star
34

mana

Mana controls dotfiles and other aspects of a system. Experimental personal configuration & provisioning.
Lua
1
star
35

graph-mirror2

C++
1
star
36

graph-mirror

C++
1
star
37

pltscheme-cvs-cvs2git-1

Scheme
1
star
38

pltscheme-cvs-cvsimport-1

Scheme
1
star
39

wed-editor

Import of "public domain" code of WED Editor from http://wed.sourceforge.net "Simple programmer's text editor. Multiple clipboards, macro record/ play, UNIX CR/LF auto recognition, clean editing of giant files, unlimited undo/redo Auto Save, auto Backup. Minimal system requirements - will run everywhere."
C++
1
star
40

nixme

Nix minimal effector — receives and unpacks prebuilt Nix derivations from `nix copy --to ssh://...`
Rust
1
star
41

tunnel

Simple TLS connection over insecure network between safe fully controlled endpoints, in Go. DISCLAIMER: No Warranties, this can eat your homework, starve your kittens, etc., etc., use at your own risk.
Go
1
star