mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-26 19:47:42 +00:00
12 lines
293 B
Bash
Executable File
12 lines
293 B
Bash
Executable File
#!/bin/sh
|
|
# Preserve diagnostics when a menu launcher has no terminal attached.
|
|
set -eu
|
|
umask 077
|
|
repo=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
mkdir -p "$repo/build"
|
|
log="$repo/build/desktop-launch.log"
|
|
touch "$log"
|
|
chmod 600 "$log"
|
|
exec >>"$log" 2>&1
|
|
exec "$repo/scripts/run.sh" "$@"
|