diff options
Diffstat (limited to '')
-rwxr-xr-x | com.rodsbooks.refind/refind-run | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/com.rodsbooks.refind/refind-run b/com.rodsbooks.refind/refind-run new file mode 100755 index 0000000..2a43352 --- /dev/null +++ b/com.rodsbooks.refind/refind-run @@ -0,0 +1,15 @@ +#!/usr/bin/bash +if [[ $1 == "install" ]]; then + mkdir ~/refind-install + cp -r /app ~/refind-install/. + cd ~/refind-install/. + sed -i "s|* RefindDir=*| RefindDir=\"${HOME}/refind-install/app/refind\"|" app/bin/refind-install + flatpak-spawn --host pkexec app/bin/refind-install +elif [[ $1 == "mkdefault" ]]; then + /app/bin/refind-mkdefault +elif [[ $1 == "mkrlconf" ]]; then + /app/bin/mkrlconf +elif [[ $1 == "mvrefind" ]]; then + /app/bin/mvrefind +fi + |