-
Notifications
You must be signed in to change notification settings - Fork 15
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
Library folder sync #83
base: main
Are you sure you want to change the base?
Conversation
Personally, I never really liked how I did the plugin properties; the plugin was made quite early, and config was just jank enough but worked 😄 I know decky now has some built-in config manager (which looks eerily familiar to your thing here?), so I wouldn't mind migrating all to that. Having 2 separate sources of truth for config will very much confuse users, and we should avoid that. |
@GedasFX sure I can look into combining them into one |
@AkazaRenn hmmm for me it wouldn't matter too much, as ultimately I will do it as part of one release due to leisurely review times on the decky store. But it would make it simpler to do that first, then add this feature. |
@GedasFX it's actually easier than I had expected, I was able to reuse most of the codes and now we have one single {
"destination_directory": "decky111-cloud-savevvv",
"experimental_menu": true,
"toast_auto_sync": true,
"bisync_enabled": false,
"log_level": "INFO",
"sync_on_game_exit": false,
"library_sync": {
"Documents": {
"enabled": false,
"bisync": true,
"destination": "deck-22libraries/Documentsggggggg"
},
"Music": {
"enabled": false,
"bisync": true,
"destination": "deck-33libraries/Music"
},
"Pictures": {
"enabled": false,
"bisync": false,
"destination": "deck44-libraries/Picturesffff"
},
"Videos": {
"enabled": false,
"bisync": false,
"destination": "deck-libra55ries/Videosfvfgghhhhhhhhh"
}
}
} |
There should be no other issues that came to my mind. Please let me know if you want something else to be changed. |
The bisync PR is taking absolutely forever right now... Terribly sorry but its crazy how it is... I haven't forgotten about this PR ^^ |
@GedasFX no worries! It's totally understandable, my plugin is pending pipeline and reviews as well 😂 |
@AkazaRenn @GedasFX I just started playing a game that doesn't have cloud sync and saw this plugin and PR. I might be wrong but my understanding looking over this plugin is the full path of a game save directory gets synced over to the folder specified by the If that's right, what are your thoughts on allowing each include path the ability to specify it's own destination path? This is very similar to what is being proposed here in this PR by the looks of it, but this PR is written as a hard coded special case. I figure the My use-case is an existing dropbox directory I've been using for years for syncing game saves which I setup in this format: The way this plugin is currently designed I'd have to move all these folders to match up with steamdeck paths and all my existing save file syncs on existing PCs would need to be re-done. The current implementation while simple also creates a lot of unnecessary folder depth. Thoughts? |
@jkluch there's too little benefits to allow a custom destination for every folder synced, let alone this would make bidirectional syncing way more complicated. I would not consider implementing it. |
|
||
exec "$PLUGIN_DIR/rclone" "--config" "$CONFIG_DIR/rclone.conf" "$@" | ||
exec "$BIN_DIR/rclone" "--config" "$CONFIG_DIR/rclone.conf" "$@" |
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.
Not sure why but my own build uses Decky Cloud Save
for the folder name, so I changed it to a more generic solution
@@ -0,0 +1,82 @@ | |||
name: Build Plugin |
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.
This action builds and creates a prerelease with the tag using a timestamp like 20240824153302 (when the action runs), it would be triggered on every push on the main branch.
You can check my fork as an example https://github.com/AkazaRenn/decky-cloud-save/tags
Oops, didn't mean that |
Hey @GedasFX , since 1.4.2 has been released I'm thinking if we could get this PR merged as a new release candidate. If you need any more changes just let me know I can take care of it. Once it's merged I can make another PR for the new Decky API introduced in v3.0.0 |
|
For #45
Sorry that it's not using your implementation of configs because I found it doesn't work very well with dictionaries, here's what it looks like in the new settings I created for this change:
A new section will be added to the path config page like this:

@GedasFX
There are some minor stupid problems with the settings UI, I'm a frontend noob so I could really use some help if you happen to have some time. Here are the problems:The most deadly one, keyboard would cover the text box we are inputting toWe now enter the sync path from a dialogNavigation on these three elements can only be done by up/down not by left/right, even if they are visually on the same rowThey can now be navigated by left/right keysBy adding overflow, I can scroll down to the end of this page, but going back to the top becomes impossible because the focus will jump to the search bar. Luckily we can just exit this page and come back, so this one is relatively minorI adjusted the page padding, now we can access all elements in the page without exiting, it's just the top title that may not be visible if you go to the bottom and go back top, since that one is not select-able.