This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# TODO: rebuild dependencies each script run, like qbittorent itself. Currently, the only way to make the script rebuild the dependencies, each dependency's lib folder needs to be deleted. This however would bring a small overhead to each operation, since dependencies are unlikely to be modified. | |
# standalone script to build qBittorent for macOS (including Apple Silicon based Macs) | |
# | |
# Script peforms much better when it caches the process for future use - it is completely unrecommended to run this script in the default temporary folder. (That was only allowed because it is still preferable to the script potentially overwriting by accident in the current working directory.) To make use of the caching functionaly, it is recommended to store the script in its own empty directory. Call the script (from that directory): | |
# ./build_qbt_dmg.sh -w . -o . | |
# This will cause the script to _W_ork and _O_utput in the same directory - everything is nicely centralised. | |
# Default outdir is better: it pops the dmg |