Add storage mode migration: internal NVMe vs USB flash, Settings tab, fix hardcoded /boot/ paths

This commit is contained in:
Gmer4Lfe
2026-06-03 17:40:35 -04:00
parent e9ea67ec14
commit 0cb429222a
10 changed files with 661 additions and 7 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
require_once __DIR__ . '/config.php';
define('VV_DOCKER_JSON', '/boot/config/plugins/varaverk/docker_folders.json');
define('VV_DOCKER_JSON', SCRIPTS_DIR . '/docker_folders.json');
define('VV_FV3_JSON', '/boot/config/plugins/folder.view3/docker.json');
// ── JSON helpers ──────────────────────────────────────────────────────────────
+2 -2
View File
@@ -5,8 +5,8 @@
require_once __DIR__ . '/config.php';
require_once __DIR__ . '/confform.php';
define('SCHEDULE_FILE', '/boot/config/plugins/varaverk/schedule.json');
define('CRON_FILE', '/boot/config/plugins/varaverk/varaverk.cron');
define('SCHEDULE_FILE', SCRIPTS_DIR . '/schedule.json');
define('CRON_FILE', '/boot/config/plugins/varaverk/varaverk.cron'); // must stay in /boot — update_cron scans there
function vv_pretty_label(string $slug): string {
return ucwords(str_replace('_', ' ', $slug));