path now support both dir and file

This commit is contained in:
2021-09-06 17:54:33 +08:00
parent d0257d6de7
commit 8c65d63900
3 changed files with 19 additions and 9 deletions

View File

@@ -3,10 +3,10 @@ programs:
- name: Your program name # This name is used to identify different application.
base: /path/to/save/path # Must be absoulte path.
files:
- BGI.gdb # A single save file. Must be relative path.
- BGI.gdb # path to a file/folder. All subfolders will include if it is a folder. Must be relative path.
- type: path
path: folder # path to a folder. All subfolders will include. Must be relative path.
path: folder # path to a file/folder. All subfolders will include if it is a folder. Must be relative path.
- type: leveldb # module plyvel is needed to support this type. This will store leveldb database to a single file database (sqlite3)
path: leveldb # path to leveldb. Must be relative path.
path: leveldb # path to leveldb. Must be relative path.
domains: # optional. Just backup minor domains in localstorage database. Only chromium is tested.
- some domain