Open Botan626 opened 1 month ago
maybe updating logic from @Rudokhvist will help you to solve this
Not an issue with ASFE - ASF for compatibility reasons will update the plugin to the same version if more than one zip asset is found, since new ASF version could decide to use different asset than the one used in the previous run.
I have no clue why ASFE provides a zip asset per language though :slightly_smiling_face:
I have no clue why ASFE provides a zip asset per language though 🙂
So having only single ASFEnhance.zip archive in ASFE releases would fix it?
Yes, although what you're describing is not an issue, plugin can force itself to be updated to the same version at any time it wants, and it should never cause you issues.
plugin can force itself to be updated to the same version at any time it wants
I'm pretty sure @chr233 never intended this.
since new ASF version could decide to use different asset
And if the asset ASF decided to update to is the same as current one?
In this case ASFE is in the ASFEnhance-en-US
directory (asset name?), version is the same (2.2.3.3), why updating?
Not an issue with ASFE - ASF for compatibility reasons will update the plugin to the same version if more than one zip asset is found, since new ASF version could decide to use different asset than the one used in the previous run.
I have no clue why ASFE provides a zip asset per language though 🙂
tried use resx for multiple language support, and it will output resource dlls like zh-hans/ASFEnhance.resources.dll
, and the plugin will always use the default language, even if define a linguage in String.Format method (tested in ASF 5.x.x.x), so I decide to use this way, not elegant enough, but it works
All ASF plugins are shipped with multi-lang support and they work fine, so it seems ASFE does something different which is why it doesn't load. You definitely should not have a real need for that.
All ASF plugins are shipped with multi-lang support and they work fine, so it seems ASFE does something different which is why it doesn't load. You definitely should not have a real need for that.
You are right, this's a "historical issues"
Now ASFE updates to v2.2.4.2.
2024-10-07 22:13:33|ArchiSteamFarm-1|INFO|ASF|GetTargetReleaseURL() Found ASFEnhance plugin update from version 2.2.4.0 to 2.2.4.2... 2024-10-07 22:18:17|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() Updating ASFEnhance plugin...
but after restart it's v2.2.4.0 again
2024-10-07 22:18:30|ArchiSteamFarm-1|INFO|ASF|GetTargetReleaseURL() Found ASFEnhance plugin update from version 2.2.4.0 to 2.2.4.2... 2024-10-07 22:18:30|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() New ASFEnhance plugin version is available! Consider updating yourself!
Something's wrong. It should update to v2.2.4.2, because my ASF is v6.0.8.3 and is Pre-Release, right?
Now ASFE updates to v2.2.4.2.
2024-10-07 22:13:33|ArchiSteamFarm-1|INFO|ASF|GetTargetReleaseURL() Found ASFEnhance plugin update from version 2.2.4.0 to 2.2.4.2... 2024-10-07 22:18:17|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() Updating ASFEnhance plugin...
but after restart it's v2.2.4.0 again
2024-10-07 22:18:30|ArchiSteamFarm-1|INFO|ASF|GetTargetReleaseURL() Found ASFEnhance plugin update from version 2.2.4.0 to 2.2.4.2... 2024-10-07 22:18:30|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() New ASFEnhance plugin version is available! Consider updating yourself!
Something's wrong. It should update to v2.2.4.2, because my ASF is v6.0.8.3 and is Pre-Release, right?
just for testing github action, no need to upgrade this release
Now ASFEnhance will publish with all supported language together (english and russion), what's way to name plugin's resource libraries?
.net's default way
named manually
just for testing github action, no need to upgrade this release
I know it's was for testing, but still it had to update to v2.2.4.2 if I'm correct, since both ASF and ASFE were pre-release.
--
ASFE was successfully updated to v2.2.5.0 now.
Another thing is PV
command output.
this line
Current version: 2.2.5.0 New version: 2.2.4.0
could be like
Installed version: 2.2.5.0 Stable version: 2.2.4.0
in order to differentiate between pre-release and stable ASFE versions.
During updating ASF from v6.0.7.5 to v6.0.8.0 ASFEnhance was updated from v2.2.3.3 to v2.2.3.3.