Files
dotfiles-and-setup/src_files/bin_overrides_macos/launch-reaper
2025-11-14 20:00:31 -06:00

19 lines
578 B
Bash
Executable File

#!/bin/sh
# trying the "portable install" option; using this launch script to point to that
. $XDG_CONFIG_HOME/profile
reaper_portable_exec_macos="$DIR_REAPER_PORTABLE_MACOS/REAPER.app/Contents/MacOS/REAPER"
[[ ! -x "$reaper_portable_exec_macos" ]] && {
echo "reaper missing or not executable: $reaper_portable_exec_macos" >&2
exit 1
}
reaper_portable_ini_file_macos="$DIR_REAPER_PORTABLE_MACOS/reaper.ini"
[[ ! -r "$reaper_portable_ini_file_macos" ]] && touch "$reaper_portable_ini_file_macos"
nohup \
$reaper_portable_exec_macos \
> /dev/null 2>&1 \
&