docs: provide guidance/tooling for app distribution (packaging, code signing, notarization, installers, etc.) #1161

Open
opened 2024-02-16 16:42:37 +00:00 by emidoots · 0 comments
emidoots commented 2024-02-16 16:42:37 +00:00 (Migrated from github.com)
  • Bundling of assets
  • Building binaries for distribution (e.g. the right glibc version, the right CPU target, etc.)
  • How to hide the windows command prompt (exe.subsystem = .Windows;)
  • Code signing / notarization
  • Packaging of apps for distribution (e.g. installers, debian packages, etc.)
  • Custom icons:

i believe on windows you need a resource file (.rc), luckily someone added an rc compiler to zig so it should be as easy as exe.addWin32ResourceFile(.{ .path = });
on linux i think you need a .desktop file which needs to be placed in somewhere like ~/.local/share/applications but you also need icon images in ~/.local/share/icons (linux is just a mess, this is why we have system package managers

* Bundling of assets * Building binaries for distribution (e.g. the right glibc version, the right CPU target, etc.) * How to hide the windows command prompt (`exe.subsystem = .Windows;`) * Code signing / notarization * Packaging of apps for distribution (e.g. installers, debian packages, etc.) * Custom icons: > i believe on windows you need a resource file (.rc), luckily someone added an rc compiler to zig so it should be as easy as exe.addWin32ResourceFile(.{ .path = <LazyPath to the file> }); on linux i think you need a .desktop file which needs to be placed in somewhere like ~/.local/share/applications but you also need icon images in ~/.local/share/icons (linux is just a mess, this is why we have system package managers
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#1161
No description provided.