Skip to content
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

Merged
merged 3 commits into from
Oct 4, 2023
Merged

See earlier PRs #873

merged 3 commits into from
Oct 4, 2023

Conversation

Efadd
Copy link
Contributor

@Efadd Efadd commented Sep 27, 2023

Hopefully this is the one

@Efadd
Copy link
Contributor Author

Efadd commented Sep 27, 2023

Finally!

Efadd added 2 commits October 4, 2023 09:39
responding to reviews from Godsbane
derp. mixed up the cloned folder and the installed folder.
@Godsbane Godsbane merged commit 13edffb into dragoonDorise:dev Oct 4, 2023
@@ -102,7 +103,31 @@ Citra_setABXYstyle(){

#Migrate
Citra_migrate(){
echo "NYI"
echo "Begin Citra Migration"
emu="Citra"
Copy link
Contributor

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"
}
Copy link
Contributor

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}"
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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.

@SilentException
Copy link
Contributor

SilentException commented Oct 7, 2023

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 :)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants