From 0d3ee0a0ebdcd5c6e412d837125b83952b519340 Mon Sep 17 00:00:00 2001 From: Surillya Date: Fri, 20 Jun 2025 19:19:58 +0200 Subject: [PATCH] Switched to neutral /root as the virtual file system! --- apps.php | 2 +- config.php | 2 +- file.php | 2 +- index.php | 4 ++-- install_app.php | 6 +++--- state.php | 2 +- wallpapers.php | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps.php b/apps.php index 52cb6fe..ffdaf51 100644 --- a/apps.php +++ b/apps.php @@ -1,5 +1,5 @@ window.THOS = { - version: '6 Build-32' + version: '6 Build-33' }; let timeoutSeconds = 180; @@ -748,7 +748,7 @@ if (!$state || !isset($state['localData']) || !json_decode($state['localData'], try { const isValid = /^https:\/\/surillya\.com\//.test(packageFileUrl); const fileName = packageFileUrl.split('/').pop().split('?')[0]; - const outputPath = `/home/surillya/.temp/${fileName}`; + const outputPath = `/root/.temp/${fileName}`; // I HATE UNDERSCORES!!!! // underscore =/= dash diff --git a/install_app.php b/install_app.php index 01dc14a..e96322b 100644 --- a/install_app.php +++ b/install_app.php @@ -15,10 +15,10 @@ if (!preg_match('/^https:\/\/surillya\.com\//', $url)) { $verified = 0; } -$targetPath = '/home/surillya/.temp/' . basename($output); +$targetPath = '/root/.temp/' . basename($output); -if (!is_dir("/home/surillya/.temp/")){ - if (!mkdir("/home/surillya/.temp/", 0755, true)){ +if (!is_dir("/root/.temp/")){ + if (!mkdir("/root/.temp/", 0755, true)){ fail("Failed to create temporary download directory."); } } diff --git a/state.php b/state.php index 5aa1bcf..8e6af51 100644 --- a/state.php +++ b/state.php @@ -1,5 +1,5 @@ Wallpaper Picker