Skip to content

Commit

Permalink
fix(InitialUsers) fix opening when .config folder does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
eythaann committed Mar 21, 2024
1 parent 7efca5c commit 62f7865
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export async function saveUserSettings(settings: UserSettings) {
settings.jsonSettings.update_notification = settings.updateNotification;

if (!(await fs.exists(json_route))) {
await fs.mkdir(await path.join(await path.homeDir(), '.config'));
await fs.mkdir(await path.join(await path.homeDir(), '.config/komorebi-ui'));
}

Expand Down

0 comments on commit 62f7865

Please sign in to comment.