Commit Graph

14 Commits

Author SHA1 Message Date
Namhyeon, Go
0e051dd035 Add example TLS error message to README
Included a sample error output for TLS connection failures on legacy Windows systems to clarify troubleshooting steps for users.
2025-12-22 01:36:35 +09:00
Namhyeon, Go
495cea6577 Update download link to version 1.0.0.2 in README
Changed the pre-compiled file download URL in the README to point to Catswords.Phantomizer version 1.0.0.2 instead of 1.0.0.1.
2025-12-22 01:29:30 +09:00
Namhyeon, Go
624bf7e7f5 Remove redundant 404 check in AssemblyLoader
Eliminated an unnecessary check for HttpStatusCode.NotFound in AssemblyLoader.cs, as EnsureSuccessStatusCode already throws for non-success responses. Updated Catswords.Phantomizer.dll.gz to reflect the latest changes.
2025-12-22 01:19:48 +09:00
Namhyeon, Go
8145a81190 Handle empty hash in AddIntegrityHash gracefully
Changed AddIntegrityHash to log a warning and return when given a null or whitespace hash, instead of throwing an exception. This prevents unnecessary exceptions and improves robustness.
2025-12-22 01:09:49 +09:00
Namhyeon, Go
b2df311db5 Refactor AssemblyLoader to use injected HttpClient
Updated AssemblyLoader to pass HttpClient explicitly to GetStreamFromUrl for improved flexibility and testability. Simplified GZip download logic to use the new method signature. Updated binary resource Catswords.Phantomizer.dll.gz.
2025-12-22 01:07:11 +09:00
Namhyeon, Go
4728b0e512 Improve protocol parsing and curl integrity checks
Added case-insensitive parsing for SecurityProtocolType and enforced that integrity hashes must be loaded before using the curl fallback. This ensures more robust protocol handling and prevents curl.exe from being used without prior integrity verification.
2025-12-22 00:47:41 +09:00
Namhyeon, Go
e50a966b89 Remove telemetry, add curl fallback and integrity hash
Removed all telemetry-related code and configuration from WelsonJS.Launcher, including source files, resource strings, and app.config keys. Enhanced AssemblyLoader to support fallback to curl.exe for downloads on legacy Windows, with integrity hash verification. Updated documentation and resource files to reflect the new curl fallback mechanism and added the required integrity hash for curl.exe.
2025-12-22 00:37:42 +09:00
Namhyeon, Go
f6b32d3c88 Add methods to ensure TLS security protocols are enabled
Introduced EnsureSecurityProtocols and EnsureSecurityProtocolByName methods to programmatically enable TLS 1.2 and optionally TLS 1.3 if available. This improves security and compatibility by ensuring required protocols are set at runtime, with logging for protocol changes and error handling.
2025-12-21 20:44:12 +09:00
f49f847cb1
Update WelsonJS.Augmented/Catswords.Phantomizer/AssemblyLoader.cs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-14 21:02:07 +09:00
Namhyeon, Go
5665de20cf Update AssemblyLoader.cs (Catswords.Phantomizer)
Update AssemblyLoader.cs (Catswords.Phantomizer)
2025-12-14 20:45:59 +09:00
Namhyeon, Go
17e3c8df46 Add TryVerifyUrl method (Catswords.Phantomizer)
Add TryVerifyUrl method (Catswords.Phantomizer)
2025-12-14 20:40:10 +09:00
Namhyeon, Go
52ea58ce49 Update AssemblyLoader.cs (Catswords.Phantomizer)
Update AssemblyLoader.cs (Catswords.Phantomizer)
2025-12-14 20:12:52 +09:00
Namhyeon, Go
7d5c60d0a3 Update AssemblyLoader.cs and examples (Catswords.Phantomizer)
Update AssemblyLoader.cs and examples (Catswords.Phantomizer)
2025-12-14 19:15:51 +09:00
Namhyeon, Go
fdabeab54f Change the project name to WelsonJS.Toolkit to WelsonJS.Augmented
Change the project name to WelsonJS.Toolkit to WelsonJS.Augmented
2025-12-14 18:54:32 +09:00