mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Added retrodeck folder check before startup
This commit is contained in:
parent
effe72d49c
commit
71f209eb7a
10
retrodeck.sh
10
retrodeck.sh
|
@ -84,4 +84,14 @@ else
|
|||
fi
|
||||
|
||||
# Normal Startup
|
||||
|
||||
# Check if the retrodeck folder is existing
|
||||
if [ ! -d $rdhome ] then
|
||||
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
|
||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK" \
|
||||
--text="The retrodeck folder was not found on the previous location, please choose a new location.\nNOTE: the folder selection may work on desktop mode only."
|
||||
configurator_destination_choice_dialog()
|
||||
fi
|
||||
|
||||
start_retrodeck
|
Loading…
Reference in a new issue