Commit 0985f9f
committed
fluxdown: prepare persist for portable_data migration (refs #91)
FluxDown v0.3+ moves portable runtime data from exe root into
portable_data/ subdirectory (zerx-lab/FluxDown#91).
- persist: add portable_data/ so Scoop hardlinks the new data directory
- pre_install: create portable_data/ dir first so persist step handles
it as a directory junction
- notes: update all data path references to portable_data/ prefix
Old root-level persist items (flux_down.db, bt_session, settings.json,
logs) are kept for seamless 0.2.x→0.3.0 upgrades: the app's built-in
migration code rename()s existing hardlinks from root into portable_data/
on first launch. They can be removed in a follow-up once users have
upgraded.1 parent 9e9b2b2 commit 0985f9f
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
0 commit comments