EmuDeck/functions/configEmuFP.sh
Dragoon Dorise 00a8f1c19c
New paths (#1381)
* 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
2025-01-02 13:42:31 +01:00

18 lines
331 B
Bash

#!/bin/bash
configEmuFP(){
name=$1
ID=$2
overwrite=$3
if [[ $overwrite == 'true' ]]; then
overwrite="--backup --suffix=.bak"
else
overwrite="--ignore-existing"
fi
setMSG "Updating $name Config using $overwrite"
rsync -avhp --mkpath "$emudeckBackend/configs/${ID}" "$HOME/.var/app/" $overwrite
}