Removed unnecessary semicolon in typescript too, changed type of settings function
parent
5e47dc3926
commit
aca4661620
|
|
@ -1,4 +1,4 @@
|
||||||
(function (back: Function) {
|
(function (back) {
|
||||||
const loader = require('folderlaunch-configLoad.js');
|
const loader = require('folderlaunch-configLoad.js');
|
||||||
const storage = require('Storage');
|
const storage = require('Storage');
|
||||||
const textinput = require('textinput');
|
const textinput = require('textinput');
|
||||||
|
|
@ -181,7 +181,7 @@
|
||||||
config.hash = 0; // Invalidate the cache so changes to hidden apps or folders actually get reflected
|
config.hash = 0; // Invalidate the cache so changes to hidden apps or folders actually get reflected
|
||||||
loader.cleanAndSave(config);
|
loader.cleanAndSave(config);
|
||||||
changed = false; // So we don't do it again on exit
|
changed = false; // So we don't do it again on exit
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
E.on('kill', save);
|
E.on('kill', save);
|
||||||
|
|
@ -269,4 +269,4 @@
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
showMainMenu();
|
showMainMenu();
|
||||||
});
|
} satisfies SettingsFunc);
|
||||||
Loading…
Reference in New Issue