- Install Ninja
sudo apt install ninja-build
- Configure CMake to create Ninja build files
mkdir build && cd build
| #!/bin/bash | |
| # Usage: ./install-appimage.sh /path/to/MyApp.AppImage | |
| set -e | |
| APPIMAGE_PATH="$1" | |
| if [[ -z "$APPIMAGE_PATH" || ! -f "$APPIMAGE_PATH" ]]; then | |
| echo "Usage: $0 /path/to/AppImage" |
| #!/bin/bash | |
| # Updates zig to the latest master version using the official binary, | |
| # no compilation required. | |
| # | |
| # - Edit the ARCHITECTURE string to match your system. | |
| # - Requires jq. `brew install jq` (macOS) or get it at https://jqlang.github.io/jq/. | |
| # - Put the script in the directory you want zig to be installed below, such as ~/zig/bin. | |
| # - Then run: chmod +x update-zig.sh && ./update-zig.sh | |
| # - Zig will live in a subfolder named zig-master-latest. | |
| # - Add that dir to your path, for example: |