Extras icon indicating copy to clipboard operation
Extras copied to clipboard

Playnite persist

Open Skyline404 opened this issue 5 years ago • 9 comments

Please add Themes and Extensions as persisted folders. Also: C:\Users\<username>\scoop\apps\playnite\current\Backup\exclusionList.json C:\Users\<username>\scoop\apps\playnite\current\Backup\windowPositions.json

Maybe all files from backup folder ?

Skyline404 avatar Oct 18 '20 23:10 Skyline404

Per rejected PR https://github.com/lukesampson/scoop-extras/pull/5088...

I think the problem is that the Themes folder is part of the downloaded package, so if it is persisted, the unpacking will override anything in Themes. This is the problem with applications that are not really designed to be portable.

Any way to persist specific subfolders (with unknown names) and a single file?

Lockszmith-GH avatar Jul 14 '21 15:07 Lockszmith-GH

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 27 '21 16:10 stale[bot]

This issue is still unresolved, I'm willing to take a stab at resolving this with a PR, but I would appreciate some guidance on how to persist a subfolder. Is there an example anyone can provide?

Lockszmith-GH avatar Oct 27 '21 19:10 Lockszmith-GH

You can persist any paths and subpaths in the manifest, like this path\\to\\folder. That being said, you need to know beforehand what (sub)folder to persist.

rashil2000 avatar Oct 28 '21 04:10 rashil2000

So here is the problem, The Themes\ subfolder will always contain 2 default themes (path names), those should be updated when downloading a new version, but other sub folders should not.

Any idea how this can be resolved?

Lockszmith-GH avatar Oct 28 '21 17:10 Lockszmith-GH

but other sub folders should not.

Can you give a list of these folders?

rashil2000 avatar Oct 28 '21 17:10 rashil2000

The name is depending on the theme the user downloaded. https://playnite.link/docs/tutorials/themes/installing.html

because there are default files in there, persisting these folders is trouble

Lockszmith-GH avatar Oct 28 '21 17:10 Lockszmith-GH

I don't think they can be persisted then. Best idea would be persist the entire Themes folder, and use an installer script to overwrite the default themes (if they exist) on each new update.

rashil2000 avatar Oct 28 '21 17:10 rashil2000

That actually makes sense, I'll try that and submit a PR if I'm successful. Thanks @rashil2000

Lockszmith-GH avatar Oct 28 '21 20:10 Lockszmith-GH