diff --git a/package.json b/package.json index 2ca18e5..1e9d04d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurora-launcher-app", - "version": "0.0.4-beta.9", + "version": "0.0.4-beta.10", "description": "Launcher for Minecraft", "main": "build/main/index.js", "private": true, diff --git a/src/main/helpers/StorageHelper.ts b/src/main/helpers/StorageHelper.ts index 0b01f7b..93a4128 100644 --- a/src/main/helpers/StorageHelper.ts +++ b/src/main/helpers/StorageHelper.ts @@ -1,8 +1,9 @@ import { existsSync, mkdirSync } from 'fs'; +import { homedir } from 'os'; import { resolve } from 'path'; export class StorageHelper { - static storageDir: string = resolve(__dirname, '../game'); + static storageDir: string = resolve(homedir(), '.aurora-launcher'); static assetsDir: string = resolve(StorageHelper.storageDir, 'assets'); static clientsDir: string = resolve(StorageHelper.storageDir, 'clients'); static librariesDir: string = resolve(