[FirstRun > win32] Add logging on export call

This commit is contained in:
Ducko 2021-12-13 19:02:18 +00:00
parent 5a40e4eee8
commit 6835b566a3

View file

@ -49,6 +49,8 @@ const updateShortcuts = (updater) => {
};
exports.performFirstRunTasks = (updater) => {
log('FirstRun', 'Perform');
const flagPath = path.join(paths.getUserDataVersioned(), '.first-run');
if (fs.existsSync(flagPath)) return; // Already ran first path, skip