This commit is contained in:
Zacharias-Brohn
2026-02-11 22:56:20 +01:00
parent 32027ce136
commit ae23c309a2
5 changed files with 53 additions and 3 deletions
Regular → Executable
+9 -1
View File
@@ -1,8 +1,16 @@
#!/usr/bin/env bash
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
SCRIPT="./zshell.sh"
prepare_binary() {
sed -ir "s|QML_ROOT=.*|QML_ROOT=${SCRIPT_DIR}/..|" "$SCRIPT"
}
main() {
if [[ ]]
prepare_binary
sudo cp "$SCRIPT" /usr/bin/zshell
}
main "$@"