chr233 / ASFEnhance

ASF 扩展命令插件 / External commands for ASF
GNU Affero General Public License v3.0
476 stars 41 forks source link

Add updateplugins command compatibility #239

Closed Botan626 closed 3 weeks ago

Botan626 commented 3 months ago

Make it possible to update ASFEnhance via updateplugins command.

https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Commands#commands-1

chr233 commented 3 months ago

seems this command is used to update ASF's offical plugins, I think it's better not to modify origin ASF's command

Botan626 commented 3 months ago

seems this command is used to update ASF's offical plugins, I think it's better not to modify origin ASF's command

no, it's not for offical plugins, please read changelog for 6.0.1.12: https://github.com/JustArchiNET/ArchiSteamFarm/releases/tag/6.0.1.12

chr233 commented 3 months ago

got it

Botan626 commented 3 months ago

more info: https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Plugins-development#automatic-updates

chr233 commented 3 months ago

thank you, I will test when I have time

woctezuma commented 1 month ago

The update process loops.

Botan626 commented 4 weeks ago

updateplugins command updates latest ASFE now too ASF 6.0.4.1 and ASFE 2.1.8.1

2024-06-18 13:28:31|ArchiSteamFarm-1|INFO|ASF|UpdateASF() Checking for new version...
2024-06-18 13:28:32|ArchiSteamFarm-1|INFO|ASF|UpdateASF() Local version: 6.0.4.1 | Remote version: 6.0.4.1
2024-06-18 13:28:32|ArchiSteamFarm-1|INFO|ASF|UpdatePlugins() Checking for plugin updates...
2024-06-18 13:28:32|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() Checking update for ASFEnhance plugin...
2024-06-18 13:28:32|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() Updating ASFEnhance plugin...
2024-06-18 13:28:33|ArchiSteamFarm-1|DEBUG|ASF|OnProgressChanged() ASFEnhance 0%...
2024-06-18 13:28:34|ArchiSteamFarm-1|DEBUG|ASF|OnProgressChanged() ASFEnhance 100%...
2024-06-18 13:28:34|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() Patching ASF files...
2024-06-18 13:28:34|ArchiSteamFarm-1|INFO|ASF|UpdatePlugin() Updating ASFEnhance plugin has succeeded, the changes will be loaded on the next ASF launch.
Botan626 commented 4 weeks ago

this works now

Botan626 commented 4 weeks ago

would be nice if you would get rid of chinese letters here: [06/18/24, 06:06:55 PM] ArchiSteamFarm-1 INFO ASF > GetTargetReleaseURL() 插件名称: ASFEnhance The plugin is up to date, no need to update

chr233 commented 4 weeks ago

would be nice if you would get rid of chinese letters here: [06/18/24, 06:06:55 PM] ArchiSteamFarm-1 INFO ASF > GetTargetReleaseURL() 插件名称: ASFEnhance The plugin is up to date, no need to update

edit localized text here: https://crowdin.com/project/asfenhance

Botan626 commented 4 weeks ago

would be nice if you would get rid of chinese letters here: [06/18/24, 06:06:55 PM] ArchiSteamFarm-1 INFO ASF > GetTargetReleaseURL() 插件名称: ASFEnhance The plugin is up to date, no need to update

edit localized text here: https://crowdin.com/project/asfenhance

I found this: https://crowdin.com/editor/asfenhance/12/zhcn-en?view=comfortable#6722 but it doesn't have 插件名称: ASFEnhance in it where is it?

chr233 commented 4 weeks ago

image

UpdatePluginListItemName

Botan626 commented 4 weeks ago

UpdatePluginListItemName

Where this screenshot was taken from?

Botan626 commented 4 weeks ago

Man please can we get rid of chinese when updating more of this: `2024-06-19 20:58:23|ArchiSteamFarm-1|INFO|ASF|GetTargetReleaseURL() 插件名称: ASFEnhance 可更新

2024-06-19 20:58:23|ArchiSteamFarm-1|INFO|ASF|GetTargetReleaseURL() 当前版本: 2.1.8.2 在线版本: 2.1.8.3`

chr233 commented 3 weeks ago

UpdatePluginListItemName

Where this screenshot was taken from?

ResXManager, a visual studio extension https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager

chr233 commented 3 weeks ago

Author

https://crowdin.com/editor/asfenhance/12/zhcn-en?view=comfortable&filter=basic&value=0#7092

Botan626 commented 3 weeks ago

Please approve translations.

https://crowdin.com/editor/asfenhance/12/zhcn-en?view=comfortable&filter=basic&value=0#7068 https://crowdin.com/editor/asfenhance/12/zhcn-en?view=comfortable&filter=basic&value=0#7090 https://crowdin.com/editor/asfenhance/12/zhcn-en?view=comfortable&filter=basic&value=0#7092

Botan626 commented 3 weeks ago

What about translations?