mirror of
https://github.com/k1tbyte/Wand-Enhancer.git
synced 2026-08-28 17:01:04 +00:00
fix: Assignment to constant variable error in the enhancer patcher, bump version to 1.0.9.1
This commit is contained in:
+8
-1
@@ -3,6 +3,13 @@
|
|||||||
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.9.1] - 2026-06-24
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
- Fixed Pro features disappearing after a day or two when Wand refreshed account data in the background; account store updates now preserve the patched active subscription by @Kava-4 in #110. Related issue #106
|
||||||
|
- Fixed the new Pro account reducer guard so normal account updates do not fail while keeping Pro active.
|
||||||
|
|
||||||
## [1.0.9.0] - 2026-06-15
|
## [1.0.9.0] - 2026-06-15
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
@@ -154,4 +161,4 @@ The newest entry must match the version in `WandEnhancer/Properties/AssemblyInfo
|
|||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
- Basic ElectronJS wrapper over the original script.
|
- Basic ElectronJS wrapper over the original script.
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ namespace WandEnhancer.Core
|
|||||||
var state = RequireGroup(match, "state", "setAccountReducer");
|
var state = RequireGroup(match, "state", "setAccountReducer");
|
||||||
var account = RequireGroup(match, "account", "setAccountReducer");
|
var account = RequireGroup(match, "account", "setAccountReducer");
|
||||||
return
|
return
|
||||||
$"const {decl}=\"ACTION_SET_ACCOUNT\";function {fn}({parameters}){{const a={account};return a&&\"object\"==typeof a&&(a={{...a,subscription:{{period:\"yearly\",state:\"active\"}}}}),{{...{state},account:a}}}}";
|
$"const {decl}=\"ACTION_SET_ACCOUNT\";function {fn}({parameters}){{const a={account}&&\"object\"==typeof {account}?{{...{account},subscription:{{period:\"yearly\",state:\"active\"}}}}:{account};return{{...{state},account:a}}}}";
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string BuildRemoteBridgeResetPatch(Match match)
|
private static string BuildRemoteBridgeResetPatch(Match match)
|
||||||
|
|||||||
@@ -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.9.0")]
|
[assembly: AssemblyVersion("1.0.9.1")]
|
||||||
[assembly: AssemblyFileVersion("1.0.9.0")]
|
[assembly: AssemblyFileVersion("1.0.9.1")]
|
||||||
Reference in New Issue
Block a user