Skip to content

Commit 021d1a4

Browse files
committed
remove true portable data directory
Don't currently have a way to determine portable/non-portable. Will consider readding this.
1 parent 7cb2833 commit 021d1a4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/index.ts

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ import { createUpdaterIpcHandlers } from './services/updater';
2323
import { DEFAULT_DOWNLOADS_DIR, LOGS_DIR, PLUGINS_DIR, THUMBNAILS_DIR } from './util/appdata';
2424
import { createFilesystemIpcHandlers } from './services/filesystem';
2525

26-
if (process.platform === 'win32') {
27-
app.setPath('userData', path.join(path.dirname(app.getPath('exe')), 'data'));
28-
}
29-
3026
log.transports.file.resolvePath = () => path.join(LOGS_DIR, 'main.log');
3127

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

0 commit comments

Comments
 (0)