-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See earlier PRs #873
See earlier PRs #873
Conversation
Finally! |
responding to reviews from Godsbane
derp. mixed up the cloned folder and the installed folder.
@@ -102,7 +103,31 @@ Citra_setABXYstyle(){ | |||
|
|||
#Migrate | |||
Citra_migrate(){ | |||
echo "NYI" | |||
echo "Begin Citra Migration" | |||
emu="Citra" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could also use Citra_emuName here.
rsync -av "${origPath}citra/sdmc" "${storagePath}/citra/" && rm -rf "${origPath}citra/sdmc" | ||
rsync -av "${origPath}citra/nand" "${storagePath}/citra/" && rm -rf "${origPath}citra/nand" | ||
rsync -av "${origPath}citra/screenshots" "${storagePath}/citra/" && rm -rf "${origPath}citra/screenshots" | ||
rsync -av "${origPath}citra/tas" "${storagePath}/citra/" && rm -rf "${origPath}citra/tas" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below, Citra_IsInstalled should be updated:
migrationFlag="$HOME/.config/EmuDeck/.${Citra_emuName}MigrationCompleted"
if [ ! -f "$migrationFlag" ]; then
isFpInstalled "$Citra_emuPath"
else
if [ -e "$HOME/.config/citra-emu" ]; then
echo "true"
else
echo "false
fi
fi
@@ -15,7 +15,8 @@ Citra_finalize(){ | |||
Citra_install(){ | |||
setMSG "Installing $Citra_emuName" | |||
installEmuFP "${Citra_emuName}" "${Citra_emuPath}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is installEmuFP still here?
@@ -15,7 +15,8 @@ Citra_finalize(){ | |||
Citra_install(){ | |||
setMSG "Installing $Citra_emuName" | |||
installEmuFP "${Citra_emuName}" "${Citra_emuPath}" | |||
flatpak override "${Citra_emuPath}" --filesystem=host --user | |||
curl -L https://github.com/citra-emu/citra-web/releases/download/2.0/citra-setup-linux > citra-setup-linux && chmod +x citra-setup-linux && ./citra-setup-linux --accept-licenses --confirm-command install | |||
rm citra-setup-linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The binupdate.sh needs to be updated also, so that emulator can be updated. Usually the _Install method is called from binupdate so this code should be modified to handle updates.
@@ -31,7 +32,7 @@ Citra_init(){ | |||
#update | |||
Citra_update(){ | |||
setMSG "Updating $Citra_emuName settings." | |||
configEmuFP "${Citra_emuName}" "${Citra_emuPath}" | |||
cd $HOME/.citra && ./maintenancetool update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above, binupdate doesn't call this method.
Adding to the review above, the citra.sh launcher should be updated as well. Currently it launches nothing (launches flatpak but not really what we want :)). |
Hopefully this is the one