Skip to content

Commit

Permalink
2.3.6 Cloud Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 28, 2024
1 parent 09b95c4 commit a567e0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EmuDeck",
"version": "2.3.5",
"version": "2.3.6",
"description": "Play all your RetroGames",
"license": "MIT",
"author": {
Expand Down
23 changes: 4 additions & 19 deletions src/renderer/pages/CloudSyncConfigPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,24 +186,6 @@ function CloudSyncPageConfig() {
};

const installRclone = () => {
// OLD TOKEN upload, not needed for now
// if (
// confirm(
// 'Press OK if you already have CloudSync installed on another EmuDeck installation and you want to sync that installation to this one, if not, press Cancel'
// ) === true
// ) {
// ipcChannel.sendMessage('emudeck', [
// `cloud_sync_install_and_config_with_code|||cloud_sync_install_and_config_with_code ${cloudSync}`,
// ]);
// ipcChannel.once('cloud_sync_install_and_config_with_code', (message) => {
// // No versioning found, what to do?
//
// alert(
// `All Done, every time you load a game your Game states and Saved games will be synced to ${cloudSync}`
// );
// });
// } else {

const modalData = {
active: true,
header: <span className="h4">Installing Cloud{cloudSyncType}</span>,
Expand All @@ -220,9 +202,12 @@ function CloudSyncPageConfig() {

let cloudFunction;
cloudFunction = 'cloud_sync_install_and_config ';
let patreonToken = localStorage.getItem('patreon_token');

patreonToken = patreonToken.replaceAll('|', '-');
console.log(`cloud_saves|||${cloudFunction} ${cloudSync} ${patreonToken}`);
ipcChannel.sendMessage('emudeck', [
`cloud_saves|||${cloudFunction} ${cloudSync}`,
`cloud_saves|||${cloudFunction} ${cloudSync} ${patreonToken}`,
]);

ipcChannel.once('cloud_saves', (message) => {
Expand Down

0 comments on commit a567e0b

Please sign in to comment.