mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
Fix downloaded_media import location. (#1402)
* Update import.sh Fixed path from 'bios' to 'downloaded_media' * shadps4 location * fix bigpemu * fix paths --------- Co-authored-by: Dragoon Dorise <rodrigosedano@me.com>
This commit is contained in:
parent
32cda41c8e
commit
c69f6f93f8
@ -2,10 +2,12 @@
|
||||
#variables
|
||||
BigPEmu_emuName="BigPEmu"
|
||||
BigPEmu_emuType="$emuDeckEmuTypeWindows"
|
||||
|
||||
BigPEmu_emuPath="$emusFolder/BigPEmu/bigpemu"
|
||||
BigPEmu_appData="$emusFolder/BigPEmu/UserData"
|
||||
BigPEmu_BigPEmuSettings="$emusFolder/BigPEmu/UserData/BigPEmuConfig.bigpcfg"
|
||||
|
||||
|
||||
#cleanupOlderThings
|
||||
BigPEmu_cleanup(){
|
||||
echo "NYI"
|
||||
@ -50,7 +52,9 @@ BigPEmu_install(){
|
||||
#ApplyInitialSettings
|
||||
BigPEmu_init(){
|
||||
setMSG "Initializing $BigPEmu_emuName settings."
|
||||
|
||||
rsync -avhp "$emudeckBackend/configs/bigpemu/" "$BigPEmu_appData" --backup --suffix=.bak
|
||||
|
||||
sed -E -i "s|/run/media/mmcblk0p1/Emulation|$emulationPath|g" "$BigPEmu_BigPEmuSettings"
|
||||
BigPEmu_setEmulationFolder
|
||||
BigPEmu_setupSaves
|
||||
@ -67,7 +71,9 @@ BigPEmu_init(){
|
||||
#update
|
||||
BigPEmu_update(){
|
||||
setMSG "Updating $BigPEmu_emuName settings."
|
||||
|
||||
rsync -avhp "$emudeckBackend/configs/bigpemu/" "$BigPEmu_appData" --ignore-existing
|
||||
|
||||
sed -E -i "s|/run/media/mmcblk0p1/Emulation|$emulationPath|g" "$BigPEmu_BigPEmuSettings"
|
||||
BigPEmu_setEmulationFolder
|
||||
BigPEmu_setupSaves
|
||||
|
@ -166,7 +166,7 @@ if [ "$size" -gt 4096 ]; then
|
||||
|
||||
for entry in "$origin/EmuDeck/tools/downloaded_media/"*
|
||||
do
|
||||
rsync -ravL --ignore-existing --progress "$entry" "$emulationPath/bios/" | awk -f $emudeckBackend/rsync.awk | zenity --progress --text="Importing $entry to $emulationPath/tools/downloaded_media/" --title="Importing $entry..." --width=400 --percentage=0 --auto-close
|
||||
rsync -ravL --ignore-existing --progress "$entry" "$emulationPath/tools/downloaded_media/" | awk -f $HOME/.config/EmuDeck/backend/rsync.awk | zenity --progress --text="Importing $entry to $emulationPath/tools/downloaded_media/" --title="Importing $entry..." --width=400 --percentage=0 --auto-close
|
||||
done
|
||||
|
||||
else
|
||||
@ -215,4 +215,4 @@ else
|
||||
--ok-label="Bye" \
|
||||
--text="${text}"
|
||||
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user