Ideas of enhancements for persist function #5169
AkariiinMKII
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
See #3248 for persistence rework, but that’s outdated and needs some updating. Does that logic fit your need? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's the situation I met when using
persist
function in manifest.There is an app, whose config file needs to be persisted but:
Additionally, all
persist
values without existing items found are treated as folder name in current version.Of course we can use custom scripts to solve this, however, it will be nice if we are able to declare properties like
persist_as_file
andforce_persist
inpersist
function, and it is supposed to work when installing, uninstalling and updating:Furtherly, some apps may break file links that
persist
cannot work with them, could we add abackup
field in manifest with functions to backup and restore items instead of persisting, which is also implemented by custom scripts.Beta Was this translation helpful? Give feedback.
All reactions