=================================================================
  OMEGA TWEAKS - Desktop App
  Premium gaming optimizer with server-verified licensing
=================================================================

HOW IT WORKS
------------
This is ONE app for all three tiers. The tier (Lite / Pro / Elite)
is decided by the SERVER when the customer activates their license
key - not by which file they download. This is the secure way:
a customer cannot change their tier locally.

  1. Customer buys -> gets a license key by email
  2. Customer opens the app -> "Enter your OMEGA License Key"
  3. App sends key + device fingerprint to your backend
  4. Backend replies with the tier -> app unlocks that tier
  5. Key locks to that device. Sharing it = "already activated".

LICENSE SERVER (already wired up)
---------------------------------
The app validates keys against the live server:
  https://omega-license-webhook.onrender.com/validate?code=KEY

On Activate it trims + uppercases the key, calls the server, and on a
valid response unlocks the tier returned by the server (LITE/PRO/ELITE).
The activation is saved to %LOCALAPPDATA%\OMEGA\license.json as
{ code, tier, product }, so the user never re-enters the key.

On launch the saved license unlocks the app INSTANTLY (works offline).
When online it quietly re-checks with the server; if the key was revoked
the user is sent back to the activation screen.

Note: the server sleeps after ~15 min idle and takes ~50s to wake, so the
first activation shows a "Checking..." state, uses a 60s timeout, and
retries once so it does not falsely fail.

HOW TO RUN
----------
Double-click RUN-OMEGA.bat
(It launches with admin rights, needed for some Elite/Pro tweaks.)

If Windows blocks scripts, run once in PowerShell as admin:
    Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

WHAT EACH TIER UNLOCKS
----------------------
LITE  : Basic FPS, Basic Windows, Startup cleanup, Temp cleanup,
        Simple Fortnite settings
PRO   : Everything in Lite + Advanced FPS, Input delay, GPU/CPU
        priority, Power plan, Game Mode, Advanced Fortnite config
ELITE : Everything in Pro + Internet tweaks, Network latency,
        DNS, TCP/IP, Ping stability, Endgame stability, VIP profile

DISTRIBUTING AS THREE FILES (optional)
--------------------------------------
The single app already adapts to the customer's tier, so you can
just distribute OMEGA-Tweaks.ps1 to everyone. If you specifically
want three separate downloads for marketing, run:

    BUILD-VERSIONS.bat

This produces OMEGA_Lite, OMEGA_Pro and OMEGA_Elite folders. They
are identical apps - the server still controls real access, so a
Lite customer cannot unlock Pro by downloading the Pro file.

The device fingerprint and saved license are stored at:
    %LOCALAPPDATA%\OMEGA\license.json
A log is written to your Desktop as OMEGA-Log.txt

=================================================================
  NEW: INTERNET OPTIMIZATION (ELITE EXCLUSIVE)
=================================================================
A dedicated "Internet" category appears in the sidebar, unlocked
only for Elite licenses (the server enforces this - Lite/Pro see
it locked). It is the most advanced part of OMEGA Tweaks:

  - Individual ON/OFF toggle for every optimization
  - Short description under each tweak
  - "Apply Internet Optimizations" master button (applies all
    enabled toggles at once)
  - "Reset" button to restore all network settings to Windows
    defaults
  - Live status: "X of Y optimizations active" + per-row ACTIVE/Off
  - Toggle states are remembered between launches
    (saved to %LOCALAPPDATA%\OMEGA\net-state.json)

Optimizations included:
  Disable Network Throttling, Max System Responsiveness,
  Disable Nagle's Algorithm, TCP Auto-Tuning, ECN, Receive Side
  Scaling, Disable TCP Heuristics, Disable RSC, Fast Gaming DNS
  (Cloudflare), Flush DNS, Game Network Priority, Remove QoS
  Reserve, Optimize Network Adapter, Limit Background Update
  Traffic, High Precision Network Timer.

Many of these need Administrator rights (run via RUN-OMEGA.bat).
