Skip to content

Commit

Permalink
remove true portable data directory
Browse files Browse the repository at this point in the history
Don't currently have a way to determine portable/non-portable. Will consider readding this.
  • Loading branch information
xgi committed Nov 5, 2024
1 parent 7cb2833 commit 021d1a4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ import { createUpdaterIpcHandlers } from './services/updater';
import { DEFAULT_DOWNLOADS_DIR, LOGS_DIR, PLUGINS_DIR, THUMBNAILS_DIR } from './util/appdata';
import { createFilesystemIpcHandlers } from './services/filesystem';

if (process.platform === 'win32') {
app.setPath('userData', path.join(path.dirname(app.getPath('exe')), 'data'));
}

log.transports.file.resolvePath = () => path.join(LOGS_DIR, 'main.log');

console.info(`Starting Houdoku main process (client version ${packageJson.version})`);
Expand Down

0 comments on commit 021d1a4

Please sign in to comment.