End-User License Agreement
Tex enforces EULA acceptance before first use. The EulaDialog is shown by App.OnStartup() and blocks the rest of the launch sequence until the user accepts.
Dialog layout
| Element | Purpose |
|---|---|
| Title bar | Shows "End-User License Agreement" and the EULA version |
| Scrollable body | Full agreement text; must be scrolled to read |
| Accept button | Records acceptance and continues startup |
| Decline button | Closes the dialog and exits the application |
Acceptance flow
- Launch Tex for the first time (or after an EULA version bump).
- Read the agreement by scrolling through the body.
- Click Accept to continue to license activation (see 11.2).
- Click Decline to exit. Tex will not run without an accepted EULA.
Tip
Warning — Declining terminates the app. There is no reduced or unlicensed mode.
Tracked settings
All under the License section of %APPDATA%\Tex\settings.json:
| Key | Type | Purpose |
|---|---|---|
EulaAccepted | bool | true once the user clicks Accept |
EulaAcceptedDate | datetime | Timestamp of acceptance |
EulaVersion | string | EULA revision accepted; current is "1.0" |
Re-acceptance on version bump
If a future build ships a new EULA version, EulaVersion in the installed build will not match the stored value. Tex detects the mismatch at startup and shows EulaDialog again with the updated text. Accepting rewrites EulaAcceptedDate and EulaVersion.
Tip
Tip — To re-read the agreement without a version bump, delete the License block from settings.json and relaunch. You will be prompted to accept again and to re-activate the license (see 11.2).