<commit_before>import {
  app,
} from 'electron';
import path from 'path';
import Store from 'electron-store';

import pkg from '../../../package.json';

const store = new Store();

export function initSettings() {
  if (!store.has('baseCloneDir')) {
    store.set('baseCloneDir', path.join(app.getPath('home'), pkg.name));
  }

  if (!store.has('dbDir')) {
    store.set('dbDir', path.join(app.getPath('userData'), 'library.db'));
  }

  if (!store.has('win')) {
    store.set('win', {
      minimizeToTray: true,
      closeToTray: false,
      showTray: true,
      showDock: false,
    });
  }

  if (!store.has('repo')) {
    store.set('repo', {
      openDir: true,
      fixDirs: true,
    });
  }

  if (!store.has('pillage')) {
    store.set('pillage', {
      owned: true,
      forked: false,
      member: false,
    });
  }
}<commit_msg>refactor(settings): Change auto-fix dir to false<commit_after>import {
  app,
} from 'electron';
import path from 'path';
import Store from 'electron-store';

import pkg from '../../../package.json';

const store = new Store();

export function initSettings() {
  if (!store.has('baseCloneDir')) {
    store.set('baseCloneDir', path.join(app.getPath('home'), pkg.name));
  }

  if (!store.has('dbDir')) {
    store.set('dbDir', path.join(app.getPath('userData'), 'library.db'));
  }

  if (!store.has('win')) {
    store.set('win', {
      minimizeToTray: true,
      closeToTray: false,
      showTray: true,
      showDock: false,
    });
  }

  if (!store.has('repo')) {
    store.set('repo', {
      openDir: true,
      fixDirs: false,
    });
  }

  if (!store.has('pillage')) {
    store.set('pillage', {
      owned: true,
      forked: false,
      member: false,
    });
  }
}
{'fraction_non_alphanumeric': 0.195852534562212, 'fraction_numerical': 0.0, 'mean_word_length': 2.8514412416851442, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4526555', 'n_tokens_mistral': 622, 'n_tokens_neox': 612, 'n_words': 125}