From eb3d85c554ed0b7485813dff3d28040ce25e601b Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:44:37 +0200 Subject: [PATCH] Fix migration --- post-install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-install.js b/post-install.js index 51d303c8c..406154aae 100644 --- a/post-install.js +++ b/post-install.js @@ -185,7 +185,7 @@ function migrateBackground() { return; } - settingsJSON.background = { file: bgFilename, url: `url('backgrounds/${bgFilename}')` }; + settingsJSON.background = { name: bgFilename, url: `url('backgrounds/${bgFilename}')` }; fs.writeFileSync('./public/settings.json', JSON.stringify(settingsJSON, null, 4)); fs.rmSync('./public/css/bg_load.css'); }