Files
dotfiles-and-setup/src_files/bin_overrides_macos/launch-reaper

21 lines
646 B
Bash
Executable File

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