From e1aa7fded11a159b410a3a01ab5cfa6d8e3a14af Mon Sep 17 00:00:00 2001 From: Dragoon Dorise Date: Mon, 30 Sep 2024 11:03:10 +0200 Subject: [PATCH] EmuDeck cloud --- release/app/package.json | 2 +- src/renderer/components | 2 +- src/renderer/pages/CloudSyncConfigPage.jsx | 13 ++++++++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/release/app/package.json b/release/app/package.json index 956207b..c87f317 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,6 +1,6 @@ { "name": "EmuDeck", - "version": "2.3.0", + "version": "2.3.1", "description": "Play all your RetroGames", "license": "MIT", "author": { diff --git a/src/renderer/components b/src/renderer/components index 3198ee7..e31670a 160000 --- a/src/renderer/components +++ b/src/renderer/components @@ -1 +1 @@ -Subproject commit 3198ee72dc4d60b7e950447d8ea18d54789e0ef0 +Subproject commit e31670a74b7ef37379f4a5c4f194ec5c58e7e429 diff --git a/src/renderer/pages/CloudSyncConfigPage.jsx b/src/renderer/pages/CloudSyncConfigPage.jsx index a262a36..57e2d29 100644 --- a/src/renderer/pages/CloudSyncConfigPage.jsx +++ b/src/renderer/pages/CloudSyncConfigPage.jsx @@ -220,9 +220,12 @@ function CloudSyncPageConfig() { let cloudFunction; cloudFunction = 'cloud_sync_install_and_config '; + let patreonToken = localStorage.getItem('patreon_token'); + + patreonToken = patreonToken.replaceAll('|', '-'); ipcChannel.sendMessage('emudeck', [ - `cloud_saves|||${cloudFunction} ${cloudSync}`, + `cloud_saves|||${cloudFunction} ${cloudSync} ${patreonToken}`, ]); ipcChannel.once('cloud_saves', (message) => { @@ -384,6 +387,10 @@ function CloudSyncPageConfig() { {cloudSyncType === 'Sync' && (
+

+ Automatically sync or backup your saves and saved states to the + cloud. +

+

+ Automatically sync or backup your saves and saved states to the + cloud. +