Documentation
¶
Overview ¶
Command launchers writes what a desktop needs to start icon-sets-sync with no terminal in sight, from binaries `make cross` already built.
make app # build/macos/icon-sets-sync.app, from the universal binary make desktop # build/linux/icon-sets-sync.desktop and icon-sets-sync.png make cross # also build/windows/icon-sets-sync-launcher_windows_<arch>.exe
macOS opens a bare executable inside Terminal, and nothing the process does can stop it, so double-clicking needs a bundle. The bundle's binary is the universal binary itself, byte for byte: it notices it runs from Contents/MacOS, and with no arguments starts the web UI with nothing on screen but the browser. With arguments it is the ordinary CLI.
Linux desktops run a .desktop entry with Terminal=false without one.
Windows gives a console program a console window before any of its code runs, so the binary's own Explorer double-click handling (internal/cli, desktop_windows.go) still flashed a window. The launcher is a second, GUI-subsystem program (src/cmd/icon-sets-sync-launcher, -H=windowsgui) that opens no console and starts the binary's `serve` beside it. It is built here for each Windows target, with the toolchain cross-compiling.
Nothing here signs or notarises; that needs the owner's Apple Developer identity (docs/installation.md gives the commands).