mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
don't care about migrating super old versions anymore
This commit is contained in:
parent
df000f95bb
commit
5a2d5c059a
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue