Skip to content

Commit

Permalink
Revert "testing new cloudsync"
Browse files Browse the repository at this point in the history
This reverts commit bb0413c.
  • Loading branch information
dragoonDorise committed Aug 10, 2024
1 parent bb0413c commit 59a9296
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 228 deletions.
9 changes: 4 additions & 5 deletions functions/ToolScripts/emuDeckSaveSync.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -842,12 +842,11 @@ function cloud_sync_init($emulator){
}else{
"$emulator" | Set-Content $savesPath/.emulator -Encoding UTF8
}
Start-Process powershell.exe -ArgumentList "-ExecutionPolicy Bypass -File `"$env:USERPROFILE/AppData/Roaming/EmuDeck/tools/cloudSync/cloud_sync_watcher_user.ps1`" $env:USERNAME" -WindowStyle Hidden

#& "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/wintools/nssm.exe" stop "CloudWatch"
#cls
#Start-Process "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/wintools/nssm.exe" -Args "start CloudWatch" -WindowStyle Hidden
#cls
& "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/wintools/nssm.exe" stop "CloudWatch"
cls
Start-Process "$env:USERPROFILE/AppData/Roaming/EmuDeck/backend/wintools/nssm.exe" -Args "start CloudWatch" -WindowStyle Hidden
cls
$toast.Close()
}
}
Expand Down
5 changes: 2 additions & 3 deletions functions/emulatorInit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ function emulatorInit($emuName, $emulatorFile, $formattedArgs){

if($formattedArgs){
#$formattedArgs += "`"$netplayCMD`""
$process = Start-Process $emulatorFile -PassThru -WindowStyle Maximized -Wait -Args $formattedArgs
Start-Process $emulatorFile -WindowStyle Maximized -Wait -Args $formattedArgs
}else{
$process = Start-Process $emulatorFile -PassThru -WindowStyle Maximized -Wait
Start-Process $emulatorFile -WindowStyle Maximized -Wait
}
$process.WaitForExit()
rm -fo -r "$savesPath/.watching" -ErrorAction SilentlyContinue
rm -fo -r "$savesPath/.emulator" -ErrorAction SilentlyContinue
}
220 changes: 0 additions & 220 deletions tools/cloudSync/cloud_sync_watcher_user.ps1

This file was deleted.

0 comments on commit 59a9296

Please sign in to comment.