From 5a2d5c059a2fedb86ea93975adcc1af095e66664 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Mon, 16 Dec 2024 19:54:45 +1300 Subject: [PATCH] don't care about migrating super old versions anymore --- electron/main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/electron/main.js b/electron/main.js index 9872800..6f14e89 100644 --- a/electron/main.js +++ b/electron/main.js @@ -100,12 +100,6 @@ app.whenReady().then(async () => { // determine path for storage const storageDir = path.join(app.getPath('home'), '.reticulum-meshchat'); // ~/.reticulum-meshchat - // migrate old storage dir to new storage dir - const oldStorageDir = path.join(app.getPath('home'), '.reticulum-webchat'); // ~/.reticulum-webchat - if(fs.existsSync(oldStorageDir) && !fs.existsSync(storageDir)){ - fs.renameSync(oldStorageDir, storageDir); - } - // get arguments passed to application, and remove the provided application path const userProvidedArguments = process.argv.slice(1);