mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
* new paths * / * EmuDeck/ * mv * no & * ESDE new location * ESDE new path * no symlink load * bigpemu new path * force move * global vars * oopsie * missing $emudeckBackend * better migration detection * Keep Appimages in Applications * Keep Appimages in Applications
23 lines
630 B
Bash
23 lines
630 B
Bash
#!/bin/bash
|
|
|
|
createFolders(){
|
|
#Folder creation... This code is repeated outside of this if for the yes zenity mode
|
|
mkdir -p "$emulationPath"
|
|
mkdir -p "$toolsPath"/launchers
|
|
mkdir -p "$savesPath"
|
|
mkdir -p "$romsPath"
|
|
mkdir -p "$storagePath"
|
|
mkdir -p "$biosPath"/yuzu
|
|
mkdir -p "$biosPath"/HdPacks
|
|
mkdir -p "$biosPath"/Mupen64plus/cache
|
|
mkdir -p "$emulationPath"/hdpacks
|
|
|
|
##Generate rom folders
|
|
setMSG "Creating roms folder in $romsPath"
|
|
##remove old readme.txt
|
|
find "$romsPath" -name readme.txt -type f -delete -maxdepth 2
|
|
|
|
sleep 3
|
|
rsync -r --ignore-existing "$emudeckBackend/roms/" "$romsPath"
|
|
#End repeated code
|
|
} |