Files
LegacyConsoleLauncher/LauncherPaths.cs
GatoWare c0a509ac05 Move launcher data to AppData and remove admin requirement
- 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
2026-03-10 12:01:07 -03:00

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");
}
}