winresource
winresource copied to clipboard
Create and set windows icons and metadata for executables with a rust build script
In #12, the default icon id has been changed from `1` to `32512`. I've written longer about my findings and experiments with icon IDs in this pull request, but **summarized**:...
The VarFileInfo block in a ResourceFile looks roughly like this: ```rc BLOCK "VarFileInfo" { VALUE "Translation", 0x409, 0x04b0 } ``` However, according to the [Microsoft documentation](https://learn.microsoft.com/en-us/windows/win32/menurc/varfileinfo) > [The block] typically...
Hello and thanks for the crate! If the package description contains the `'` character, it will show up as `\'` in the file properties when compiling with `rc.exe`. Example: ```toml...
there are some more windows [targets](https://doc.rust-lang.org/nightly/rustc/platform-support/pc-windows-gnullvm.html)
https://stackoverflow.com/questions/15495613/correct-usage-of-the-versioninfo-resource  It is up for debate whether we should put the application name or the description (like I have done in 3cf2f6229950d3fc439b07ec6c6b4f4ffcb54d39) into that field . See...
If you just use the crate as described in the README.md, the manifest will also end up in the library crate and linked to crates depending on this crate. This...
I am using [cargo-xwin](https://github.com/rust-cross/cargo-xwin) to cross-compile my project from Linux using the MSVC toolchain. I was able to make it work with a symlink for `rc.exe` to the LLVM provided...
Resolves #8. Its a port of https://github.com/tauri-apps/winres/pull/8.
If someone has a cargo.toml that has multiple output binaries, like this: ``` [[bin]] name = "foo" path = "bin/foo.rs" [[bin]] name = "bar" path = "bin/bar.rs" [[bin]] name =...