Skip to content

Commit

Permalink
ну так апдейтер файлы игры не затрёт
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCat committed Nov 13, 2023
1 parent cbd3b77 commit 9f18011
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
3 changes: 2 additions & 1 deletion src/main/helpers/StorageHelper.ts
Original file line number Diff line number Diff line change
@@ -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(
Expand Down

0 comments on commit 9f18011

Please sign in to comment.