mirror of
https://github.com/luanslimadev/Wand-Enhancer.git
synced 2026-08-28 17:01:05 +00:00
feat: revert patch config regex, update changelog for version 1.0.8.2
This commit is contained in:
@@ -3,6 +3,12 @@
|
|||||||
This file is the source of truth for release notes.
|
This file is the source of truth for release notes.
|
||||||
The newest entry must match the version in `WandEnhancer/Properties/AssemblyInfo.cs`.
|
The newest entry must match the version in `WandEnhancer/Properties/AssemblyInfo.cs`.
|
||||||
|
|
||||||
|
## [1.0.8.2] - 2026-05-15
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
- Rolled back an incorrect Disable Updates patch fix that introduced a `SyntaxError` preventing Wand from launching.
|
||||||
|
|
||||||
## [1.0.8.1] - 2026-05-15
|
## [1.0.8.1] - 2026-05-15
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|||||||
@@ -79,13 +79,15 @@ namespace WandEnhancer.Core
|
|||||||
EPatchType.DisableUpdates,
|
EPatchType.DisableUpdates,
|
||||||
new[]
|
new[]
|
||||||
{
|
{
|
||||||
|
// Regex consumes 4 closing parens (`)))) `); the 5th (registerHandler's own close)
|
||||||
|
// remains in the original file after replacement. Patch must end with 3 parens — NOT 4.
|
||||||
new PatchEntry
|
new PatchEntry
|
||||||
{
|
{
|
||||||
CandidateFileNames = new[] { "index.js" },
|
CandidateFileNames = new[] { "index.js" },
|
||||||
SearchHints = new[] { "ACTION_CHECK_FOR_UPDATE" },
|
SearchHints = new[] { "ACTION_CHECK_FOR_UPDATE" },
|
||||||
Target = new Regex(@"registerHandler\(""ACTION_CHECK_FOR_UPDATE"".*?\)\)\)\)",
|
Target = new Regex(@"registerHandler\(""ACTION_CHECK_FOR_UPDATE"".*?\)\)\)\)",
|
||||||
RegexOptions.Singleline),
|
RegexOptions.Singleline),
|
||||||
Patch = "registerHandler(\"ACTION_CHECK_FOR_UPDATE\",(e=>expectUpdateFeedUrl(e,(e=>null))))"
|
Patch = "registerHandler(\"ACTION_CHECK_FOR_UPDATE\",(e=>expectUpdateFeedUrl(e,(e=>null)))"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -51,5 +51,5 @@ using System.Windows;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.8.1")]
|
[assembly: AssemblyVersion("1.0.8.2")]
|
||||||
[assembly: AssemblyFileVersion("1.0.8.1")]
|
[assembly: AssemblyFileVersion("1.0.8.2")]
|
||||||
Reference in New Issue
Block a user