mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-28 19:02:24 +00:00
37 lines
885 B
Bash
37 lines
885 B
Bash
#!/bin/bash
|
|
appImageInit() {
|
|
|
|
if [ "$system" == "chimeraos" ]; then
|
|
ESDE_chimeraOS
|
|
mkdir -p $HOME/Applications
|
|
|
|
downloads_dir="$HOME/Downloads"
|
|
destination_dir="$HOME/Applications"
|
|
file_name="EmuDeck"
|
|
|
|
find "$downloads_dir" -type f -name "*$file_name*.AppImage" -exec mv {} "$destination_dir/$file_name.AppImage" \;
|
|
|
|
fi
|
|
|
|
#Autofixes, put here functions that make under the hood fixes.
|
|
autofix_duplicateESDE
|
|
autofix_lnk
|
|
SRM_migration # 2.2 Changes
|
|
ESDE_migration # 2.2 Changes
|
|
autofix_dynamicParsers # 2.2 Changes
|
|
|
|
|
|
#Force SRM appimage move in case the migration fails
|
|
mv "${toolsPath}/srm/Steam-ROM-Manager.AppImage" "${toolsPath}/Steam ROM Manager.AppImage" &> /dev/null
|
|
|
|
#Xenia temp fix
|
|
if [ "$(Xenia_IsInstalled)" == "true" ]; then
|
|
setSetting doInstallXenia "true"
|
|
fi
|
|
|
|
# Init functions
|
|
mkdir -p "$HOME/emudeck/logs"
|
|
mkdir -p "$HOME/emudeck/feeds"
|
|
|
|
}
|