A powerful tool to bundle executables and dependencies into a single file for Windows.
View on GitHubgpak is a command-line tool designed for Windows that bundles an executable and its dependencies into a single self-extracting file. It simplifies the distribution of applications, ensuring users only need one file to execute the program with all its required dependencies.
On execution, the bundled executable will extract the files into a hidden folder in %APPDATA%/gpak/<app_name> and run the main executable automatically.
Using gpak is simple. Just provide the main executable and any dependencies you need to bundle.
gpak <main_executable> [<dependency1> <dependency2> ...]
For example:
gpak myapp.exe lib1.dll lib2.dll
This will generate myapp_bundle.exe which users can execute as a single file.