You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 402c7d7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ body:
5
5
- type: markdown
6
6
attributes:
7
7
value: |
8
-
Thank you for reporting a bug! Please fill out the sections below so we can reproduce and fix the issue.
8
+
Thank you for reporting a bug! Please fill out the sections below to help reproduce and diagnose the issue.
9
9
10
10
**Note:** If CheckModsExtended keeps showing an "update available" for a mod you've confirmed is already up to date, that's a version-data mismatch on the Forge, not a bug. You can suggest that version be ignored for everyone using the [Ignored Update Suggestion](https://github.com/TerribleTurtle/CheckModsExtended/issues/new?template=report-ignored-updates.yml) form.
11
11
@@ -59,7 +59,7 @@ body:
59
59
attributes:
60
60
label: CheckModsExtended Version
61
61
description: The version of CheckModsExtended you are running.
Copy file name to clipboardExpand all lines: .github/SECURITY.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
If you discover a security vulnerability in CheckModsExtended, please report it responsibly by following these steps:
12
12
13
13
1.**Do NOT** create a public GitHub issue for security vulnerabilities
14
-
2.Send an email to the project maintainers with details about the vulnerability
14
+
2.Submit a report through [GitHub Private Vulnerability Reporting](https://github.com/TerribleTurtle/CheckModsExtended/security/advisories/new) with details about the vulnerability
15
15
3. Include the following information:
16
16
- Description of the vulnerability
17
17
- Steps to reproduce the issue
@@ -28,9 +28,9 @@ CheckModsExtended handles:
28
28
29
29
To ensure the safety and integrity of the binaries distributed via GitHub Releases, the project employs several automated supply chain security measures:
30
30
1.**GitHub Artifact Attestations**: Releases are cryptographically signed using GitHub Actions OIDC tokens, providing verifiable build provenance. This guarantees the `.exe` was built by the official CI workflow and has not been maliciously modified.
31
-
2.**VirusTotal Scanning**: The CI workflow automatically submits release binaries to VirusTotal. A link to the comprehensive scan report (checking against 70+ antivirus engines) is included in the release notes.
31
+
2.**VirusTotal Scanning**: The CI workflow automatically submits release binaries to VirusTotal. A link to the vulnerability scan report (checking against 70+ antivirus engines) is included in the release notes.
32
32
3.**SHA256 Checksums**: Checksums are generated for all artifacts, allowing users to manually verify the downloaded files match the built artifacts exactly.
33
33
34
34
## Disclosure Policy
35
35
36
-
We will acknowledge receipt of your vulnerability report within 48 hours and provide regular updates on our progress. Once the vulnerability is resolved, we will coordinate with you on the disclosure timeline.
36
+
This repository is maintained by an individual contributor. Reports submitted via GitHub Security Advisories are reviewed on a best-effort basis. Once a reported vulnerability is resolved, coordination on disclosure will be handled through the advisory.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
-
## [2.0.0] - 2026-07-16
5
+
## [2.0.0] - 2026-10-25
6
6
7
7
This release incorporates structural changes to the command-line interface, output formatting, dependency injection initialization, and cross-platform compilation capabilities, as well as introducing a Web Manager GUI.
8
8
@@ -16,7 +16,7 @@ First, thank you to Refringe for the foundational work on the original SPT-Check
16
16
- Supports both full Forge API compatibility scans (`RESCAN MODS` / `POST /api/scan`) and offline local disk scans (`LOCAL SCAN` / `GET /api/local`) that reconcile disk additions/removals while preserving cached Forge API statuses for unchanged mods.
17
17
- Streams structured Server-Sent Events (`/api/scan/progress`) with scan phases, item counters, active mod names, and Forge API rate-limit cooldown countdowns across both scanning and mod update planning/installation.
18
18
- Provides dry-run update previews (`POST /api/updates/plan`) and single or batch mod update installation (`POST /api/updates/install`) with component filtering (`all`, `server`, `client`), target cleanup preview, and `.new` configuration diff notices.
19
-
- Supports on-demand manual backup creation (`POST /api/backups/create`) per mod, for selected batches, or across all installed mods, alongside backup listing (`GET /api/backups`) and one-click rollback (`POST /api/backups/restore`).
19
+
- Supports on-demand manual backup creation (`POST /api/backups/create`) per mod, for selected batches, or across all installed mods, alongside backup listing (`GET /api/backups`) and rollback support (`POST /api/backups/restore`).
20
20
- Includes runtime SPT root path switching (`POST /api/system/path`), a diagnostic bundle confirmation modal supporting both custom disk destination paths (`POST /api/system/diag`) and direct browser `.zip` downloads (`GET /api/system/diag/download`), cache reset (`POST /api/system/clean`), source-filtered ignore list management (`All`, `User`, `Community`), and multi-format exports (Discord support Markdown summary, Markdown table, JSON, and plain mod list).
21
21
-**Mod Match Confirmation**: Interactive CLI prompt and Web Manager `CONFIRM?` modal (`POST /api/confirm`) for confirming or rejecting fuzzy Forge API mod matches, stored in `confirmed-matches.json`, with immediate version compatibility and dependency enrichment in the Web GUI.
22
22
-**Misplaced Mod Warning Banner**: Displays a collapsible warning banner in the Web GUI when misplaced mod files or folders are detected during a scan.
@@ -29,7 +29,7 @@ First, thank you to Refringe for the foundational work on the original SPT-Check
29
29
-**Code Standards**: Enforced `public sealed` composition, explicit typing, XML documentation, and strict exception filtering per `.editorconfig`.
30
30
-**CLI Framework Integration**: The command-line interface is handled by `Spectre.Console.Cli`, supporting explicit subcommands and options:
31
31
-`update`: Downloads, extracts, verifies, and installs mod updates (`--all`, `--mod`, `--type`, `--dry-run`, `--keep-extra-files`, `--no-backup`) while preserving existing user configuration files (writing incoming changed default configs as `.new`) and creating automatic rollback backups.
32
-
-`rollback`: Lists (`--list`), creates (`-c|--create`), or restores (`-m|--mod`, `--file <PATH>`) mod backup archives (retaining up to 3 backups per mod in `<AppData>/backups`).
32
+
-`rollback`: Lists (`-l|--list`), creates manual backup snapshots without rolling back (`-c|--create [<MOD>]`), or restores (`-m|--mod`, `--file <PATH>`) mod backup archives (retaining up to 3 backups per mod in `<AppData>/backups`).
33
33
-`list`: Lists locally installed mods without initiating external network requests to check for updates.
34
34
-`ignore list | add | remove`: Views or modifies the ignored updates list (`--source` filter and sorting).
35
35
-`clean`: Clears the local application data directory (configuration overrides, ignored updates, confirmed matches, scan cache, and logs).
@@ -63,7 +63,8 @@ First, thank you to Refringe for the foundational work on the original SPT-Check
63
63
-**UI Sorting**: Set the default UI sort to place "Status" (needs updating) on top, with a fallback to alphabetical name sort.
64
64
-**Cache Scoping**: Scoped the mod cache strictly to the specific SPT installation path it was scanned from, preventing prompts to load results from a different SPT installation.
65
65
-**Immediate Exit**: Removed the redundant "Press any key to exit..." prompt after selecting "Close CheckModsExtended" at the end of a CLI run or when executing one-shot CLI subcommands (`list`, `clean`, `diag`, `license`, `ignore`).
66
-
-**Metadata & Licensing**: Added `TerribleTurtle` alongside `Refringe` to the assembly metadata and copyright headers to attribute the fork.
66
+
-**Metadata & Licensing**: Added `TerribleTurtle` alongside `Refringe` to the assembly metadata and copyright headers, restored the MIT copyright header in `alpine.esm.js`, added `THIRD-PARTY-NOTICES.md` and `CONTRIBUTING.md`, and bundled `LICENSE` and `THIRD-PARTY-NOTICES.md` in published release `.zip` archives.
-**Configuration Safety Adjustments**: Modified `appsettings.example.json` to remove empty string fallbacks for file paths. Relative and rooted paths are resolved through the dependency injection container, preventing logs or data files from being written to unintended working directories.
68
69
-**Deterministic Stream Disposal**: Wrapped `Mono.Cecil` module streams in explicit `using` declarations in `BinaryParser` so scanned DLL file handles are closed immediately after inspection, and added null-conditional assembly guards for `.netmodule` files.
69
70
-**Dependency & Local Version Normalization**: Standardized 1-part (`1`), 2-part (`1.0`), 4-part (`1.0.4.0`), and `v`-prefixed version normalization across `SemVer.NormalizeForApiQuery`, `SemVer.ParseOrDefault`, `CompatibilityValidationService`, and `ModInstallerService` so non-strict local version strings resolve installed dependencies, SPT compatibility checks, and enrichment queries consistently.
Copy file name to clipboardExpand all lines: CHANGES_FROM_ORIGINAL.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Architectural & Feature Additions
2
2
3
-
This project is a fork of the original [SPT-Check-Mods](https://github.com/refringe/SPT-Check-Mods) repository by Refringe. The original application established a foundation for mod management, including API integration, server/client mod reconciliation, dependency analysis, and update detection.
3
+
`CheckModsExtended` began as a fork of Refringe's [SPT-Check-Mods](https://github.com/refringe) repository (`v1.2.1`, MIT License). The original repository and SPT Forge listing are no longer publicly hosted. The original application established a foundation for mod management, including API integration, server/client mod reconciliation, dependency analysis, and update detection.
4
4
5
5
This fork builds upon that foundation by modifying the internal architecture and introducing several features. Below is a factual list of the structural and functional changes introduced in this repository.
6
6
@@ -37,10 +37,10 @@ This fork builds upon that foundation by modifying the internal architecture and
37
37
- Source-filtered ignore list management (`All`, `User`, `Community`) and multi-format export tools (Discord support Markdown summary, Markdown table, JSON, and plain mod list).
38
38
-**Mod Match Confirmation:** Confirm or reject fuzzy Forge API mod matches from the CLI or Web GUI (`POST /api/confirm`), persisted in `confirmed-matches.json`, with immediate version and dependency enrichment upon confirmation.
39
39
-**CLI Commands & Mod Updater:** Built with `Spectre.Console.Cli`, the application switches to CLI mode when passed `cli` or any command-line arguments, supporting `table`, `json`, and `csv` output formats and distinct exit codes (`--fail-on <incompatible|outdated>`, `-t|--type <all|server|client>`):
40
-
-`update`: Downloads, verifies magic bytes (`.zip`, `.7z`, `.rar`), normalizes archive directory layouts across server (`SPT/user/mods` or SPT 4.1 `SPT_Runtime/user/mods`) and client (`BepInEx/plugins` and `BepInEx/patchers`) roots while unwrapping wrapper folders that contain root documentation files, creates pre-update backups, preserves user configuration files by writing changed upstream defaults to `<filename>.new` with added-key diffs, and re-scans disk to verify installation.
41
-
-`rollback`: Lists, creates (`-c|--create`), or restores (`-m|--mod`, `--file`) mod backup archives (retaining up to 3 backups per mod in `<AppData>/backups`).
40
+
-`update`: Downloads, verifies magic bytes (`.zip`, `.7z`, `.rar`), extracts `.zip` and `.tar.gz`/`.tgz` archives natively while delegating `.7z` and `.rar` extraction to the system `tar` (`bsdtar`) command on `PATH` (included with Windows 10/11 and standard Linux/macOS installs), normalizes archive directory layouts across server (`SPT/user/mods` or SPT 4.1 `SPT_Runtime/user/mods`) and client (`BepInEx/plugins` and `BepInEx/patchers`) roots while unwrapping wrapper folders that contain root documentation files, creates pre-update backups, preserves user configuration files by writing changed upstream defaults to `<filename>.new` with added-key diffs, and re-scans disk to verify installation.
41
+
-`rollback`: Lists (`-l|--list`), creates manual backup snapshots without rolling back (`-c|--create [<MOD>]`), or restores (`-m|--mod`, `--file <PATH>`) mod backup archives (retaining up to 3 backups per mod in `<AppData>/backups`).
42
42
-`list`: View installed mods locally without network requests.
43
43
-`ignore`: Manage the ignore list manually (`list`, `add`, `remove`).
44
44
-`clean`: Clear local caches, confirmed matches, ignored updates, and overrides.
45
-
-`diag`: Zip and export application logs for debugging, with optional custom output path (`-o|--output`).
45
+
-`diag`: Zip and export application logs for debugging, with optional custom output path (`-o|--output <PATH>`).
46
46
-`license`: Display the application license in the terminal.
Before opening a pull request, run the following verification commands from the repository root:
15
+
16
+
```powershell
17
+
dotnet build CheckModsExtended.slnx
18
+
dotnet test CheckModsExtended.slnx --no-build
19
+
dotnet format analyzers --verify-no-changes CheckModsExtended.slnx
20
+
dotnet csharpier check .
21
+
```
22
+
23
+
To format code with CSharpier:
24
+
```powershell
25
+
dotnet csharpier format .
26
+
```
27
+
28
+
## Core Code Conventions
29
+
30
+
-**Architecture**: Classes are `public sealed` (composition over inheritance). Primary constructors and collection expressions (`[]`) are standard.
31
+
-**Error Handling**: Discriminated unions via `OneOf<TSuccess, TError1, ...>` are required for expected failure modes. Control flow must not use exceptions. Catch and convert exceptions to typed error records only at API or I/O boundaries.
32
+
-**Testing**: Tests use xUnit with hand-crafted fakes. Mocking frameworks are not used. Test methods use `Snake_case_behavior()` naming.
33
+
-**Code Formatting**: CSharpier is authoritative. Lines are limited to 120 characters and Allman-style braces are required.
0 commit comments