Add launch scripts for reaper, update some related ENV vars
This commit is contained in:
21
src_files/.local/bin/launch-reaper
Executable file
21
src_files/.local/bin/launch-reaper
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
# trying the "portable install" option; using this launch script to point to that
|
||||
source "$XDG_CONFIG_HOME/zsh/.zshenv"
|
||||
reaper_portable_exec_linux="$DIR_REAPER_PORTABLE_LINUX/REAPER/reaper"
|
||||
reaper_portable_ini_file_linux="$DIR_REAPER_PORTABLE_LINUX/reaper-config/reaper.ini"
|
||||
|
||||
[[ ! -x "$reaper_portable_exec_linux" ]] && {
|
||||
echo "reaper missing or not executable: $reaper_portable_exec_linux" >&2
|
||||
exit 1
|
||||
}
|
||||
[[ ! -r "$reaper_portable_ini_file_linux" ]] && {
|
||||
echo "reaper.ini missing or not readable: $reaper_portable_ini_file_linux" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
nohup \
|
||||
$reaper_portable_exec_linux \
|
||||
-cfgfile $reaper_portable_ini_file_linux \
|
||||
> /dev/null 2>&1 \
|
||||
&
|
Reference in New Issue
Block a user