Packing CherryGrove
This tutorial will help you pack the files and generate the installer / package for each platform. All packing related resources are located under the packing directory.
Remember to abide by the Terms of Use when you want to distribute your builds.
Microsoft Windows
CherryGrove uses Inno Setup to create an instanced installer, in which users can choose the installation directory and disable registry entries and desktop shortcuts to enable multi-instancing.
A standard procedure for packing CherryGrove on Windows involves these steps:
- Download and install Inno Setup at https://jrsoftware.org/isdl.php.
- Build the release version of CherryGrove, and check if it works properly and locates exactly at
out/windows-x64-releaseandout/windows-arm64-releasedirectory. - Run
packing/windows/pack.ps1. You should see installerCherryGrove_windows_x64.exeandCherryGrove_windows_arm64.exe, archiveCherryGrove_windows_x64.zipandCherryGrove_windows_arm64.zipgenerated inside the same directory.
Adjust the code in the script to create your custom procedure.
Linux
CherryGrove currently uses AppImage to pack the executable itself to register the icon of the program at startup, and then put the AppImage and assets directory into a compressed archive.
A standard procedure for packing CherryGrove on Linux involves these steps:
- Build the release version of CherryGrove, and check if it works properly and locates exactly at
out/linux-x64-releaseandout/linux-arm64-releasedirectory. - Run
packing/linux/pack.shto generate the AppImage and the compressed archive. Adjust the code in the script to create your custom procedure. You should seeCherryGrove_linux_x64.tar.gzandCherryGrove_linux_arm64.tar.gzgenerated inside the same directory.
macOS
TODO: