mirror of
https://github.com/RoyalnetworkTR/simple-launcher.git
synced 2026-09-25 00:19:50 +03:00
Backend (PHP+SQLite): Discord OAuth2 + JWT, coklu hesap (1 Discord = 3-5), tek-kullanimlik join token (/api/join/prepare+verify), custom skin yukleme/sunma, hesap/Discord/HWID ban, admin paneli kartlari; deterministik offline UUID (PHP<->C# paritesi dogrulandi). 25 entegrasyon testi gecti. AthenaCore (Forge 1.12.2): tek client+server mod — join token dogrulama + kick, grace-gate, custom skin uygulama. Sunucu offline-mode kalir (UUID/dunya verisi korunur). Masaustu: WPF -> Avalonia (Windows+Linux), Discord giris/hesap/skin/oyna; WMI/DPAPI yerine cross-platform (machine-id HWID, AES-GCM secret store). Derlenir + calisir. CI: athenacore-mod.yml (JDK8), desktop-release.yml (Win+Linux self-contained). Deploy: deploy.sh (.env uretimi, php-gd, nginx Authorization gecisi) + HANDOFF.md. Android: backend hazir; entegrasyon spec'i ANDROID_INTEGRATION.md.
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using System;
|
||
|
||
namespace OfflineMinecraftLauncher
|
||
{
|
||
/// <summary>
|
||
/// Central application configuration constants for the Athena Studios Launcher.
|
||
/// </summary>
|
||
public static class AppConfig
|
||
{
|
||
// Backend taban adresi (paket, ban, ping, metrik, sürüm uçları).
|
||
// Varsayılan canlı domain; ATHENA_BACKEND_URL ortam değişkeniyle (örn. yerel test)
|
||
// geçici olarak değiştirilebilir.
|
||
public static string BackendUrl { get; } =
|
||
Environment.GetEnvironmentVariable("ATHENA_BACKEND_URL") is string u && u.Length > 0
|
||
? u.TrimEnd('/')
|
||
: "https://oyna.athenastudios.com.tr";
|
||
|
||
// AppData folder name where game/package files are stored.
|
||
public const string AppDataFolder = ".AthenaStudios";
|
||
|
||
// User-facing product name.
|
||
public const string ProductName = "Athena Studios Launcher";
|
||
|
||
// Topluluk bağlantıları (gerçek adreslerinizle değiştirin).
|
||
public const string DiscordUrl = "https://discord.gg/athenastudios";
|
||
public const string WebsiteUrl = "https://athenastudios.com.tr";
|
||
}
|
||
}
|