mirror of
https://github.com/OxyZin/LegacyConsoleLauncher.git
synced 2026-07-15 23:30:54 +00:00
- Refactored file paths to use %LOCALAPPDATA% instead of the executable directory - Added centralized launcher data directory (LCELauncher) - Game now installs to AppData - Skins, accounts and launcher data now stored in AppData - Fixed permission issues when running without administrator privileges - New and working settings menu
16 lines
712 B
C#
16 lines
712 B
C#
using System;
|
|
using System.IO;
|
|
|
|
namespace LegacyConsoleLauncher
|
|
{
|
|
public static class LauncherPaths
|
|
{
|
|
public static readonly string DataDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "LCELauncher");
|
|
public static readonly string GameDir = Path.Combine(DataDir, "game");
|
|
public static readonly string SkinsDir = Path.Combine(DataDir, "skins");
|
|
public static readonly string AccountsFile = Path.Combine(DataDir, "accounts.txt");
|
|
public static readonly string GamePathFile = Path.Combine(DataDir, "gamepath.txt");
|
|
public static readonly string ReleaseInfoFile = Path.Combine(GameDir, "releaseinfo.txt");
|
|
}
|
|
}
|