chr233 / ASFEnhance

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

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

Closed Botan626 closed 4 months ago

Botan626 commented 7 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 7 months ago

same for v2.1.3.3

Botan626 commented 5 months ago

pu didn't work in v2.1.8.1

chr233 commented 5 months ago

it requires ASF-generic, unzip functions require trimed method

Botan626 commented 5 months 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 5 months 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 5 months 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 4 months ago

the same error for 2.1.10.4

chr233 commented 4 months ago

the same error for 2.1.10.4

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

chr233 commented 4 months 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 4 months ago

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

zycboss commented 4 months 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

Correction:

updateplugins stable ASFEnhance

works

chr233 commented 4 months ago

fixed, and now pu is alias to updateplugins