script-panel-plus icon indicating copy to clipboard operation
script-panel-plus copied to clipboard

Option to save to user directory

Open djrain opened this issue 2 years ago • 4 comments

Saving configs and sessions in the project folder is problematic when working collaboratively, it causes conflicts since different team members have different scripts open and cannot use different saves. It would be better to save these files to the user:// directory, so it's local for each person. Or at least to have this option would be great. Thanks for the plugin :)

djrain avatar Oct 02 '23 15:10 djrain

It was harder than I expected, but the job is done. Check latest release.

Loregret avatar Oct 03 '23 14:10 Loregret

Thanks for adding this! Unfortunately I can't get the custom config path to work - somehow it keeps getting reset to the default. And if I change the default path in plugin.gd, then the plugin doesn't work at all and produces errors when I enable it again. The save path seems to be working though.

It seems to require that the paths already exist fully? I created the folders, but maybe it was expecting the file config.cfg to already be there? It would be ideal if the plugin created the directories and files as needed.

djrain avatar Oct 04 '23 18:10 djrain

@djrain Try to change path manually in > res://addons/script_panel_plus/configs/config_path.txt

And tell me if it's changed anything.

Loregret avatar Oct 05 '23 07:10 Loregret

@djrain Do you still have issues with custom config path? Do you still need this feature? Please, let me know.

Loregret avatar Dec 30 '23 00:12 Loregret