chr233 / ASFEnhance

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

ASFEnhance v2.1.3.3 can't update with pu command #252

Open Botan626 opened 2 months ago

Botan626 commented 2 months ago

Describe the bug

[6:55:07 PM]
>
pu
[6:55:08 PM]
<
<ASFE> <ASFE> Missing Method Exception Detected, Use ASF-generic version may help
<ASFE> 检测到 Missing Method Exception 错误, 换成 ASF-generic 版本可能可以修正
==========================================================================
   at ASFEnhance.Update.WebRequest.DownloadRelease(String downloadUrl)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine&)
   at ASFEnhance.Update.WebRequest.DownloadRelease(String downloadUrl)
   at ASFEnhance.Update.WebRequest.UpdatePluginFile(String pluginName, Version pluginVersion, String pluginRepo)
   at ArchiSteamFarm.Core.Utilities.InParallel[T](IEnumerable`1 tasks)
   at ASFEnhance.Update.Command.ResponsePluginUpdate(String pluginNames)
   at ASFEnhance.ASFEnhance.OnBotCommand(Bot bot, EAccess access, String message, String[] args, UInt64 steamId)
Botan626 commented 2 months ago

same for v2.1.3.3

Botan626 commented 2 weeks ago

pu didn't work in v2.1.8.1

chr233 commented 2 weeks ago

it requires ASF-generic, unzip functions require trimed method

Botan626 commented 2 weeks ago

it requires ASF-generic, unzip functions require trimed method

then maybe you could disable pu command for win-x64 ASF version completely and other versions which don't support it

zycboss commented 6 days ago

it requires ASF-generic, unzip functions require trimed method

Or don't pack them in zip, it is just a single .dll file.

chr233 commented 6 days ago

it requires ASF-generic, unzip functions require trimed method

Or don't pack them in zip, it is just a single .dll file.

yoy can also use UPFATEPLUSING stable ASFEnhance

gyq180 commented 3 days ago

the same error for 2.1.10.4

chr233 commented 3 days ago

the same error for 2.1.10.4

you can use origin ASF's command: UPFATEPLUSING stable ASFEnhance

chr233 commented 3 days ago

I think it's time to remove this feature, in next version, the pu command will be an alias of the updateplugins command

Botan626 commented 3 days ago

Hi, interesting read for you is from this message and onwards: https://discord.com/channels/267292556709068800/332735075315744768/1258006252617990164