termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.63k stars 2.91k forks source link

[package request] ArchiSteamFarm #6144

Open ghost opened 3 years ago

ghost commented 3 years ago

https://github.com/JustArchiNET/ArchiSteamFarm/

Used to "idle" Steam trading cards and adds numerous other additional features, such as automatically ignoring Steam friend requests and discount coupon drops (a form of advertising). See the wiki for further information.

Requires .NET Core runtime and on desktop the program has its internal updater.

Vinfall commented 1 year ago

Now that we have mono through #8686, it is indeed possible to run ASF inside Termux with mono installed.

Just make sure you download ASF-generic-netf.zip instead of ASF-linux-arm64.zip/ASF-linux-arm.zip/ASF-generic.zip. Unpack the zip and run mono /path/to/ArchiSteamFarm.exe --ignore-unsupported-environment. Other packages I tried returned the same error: Cannot open assembly 'ArchiSteamFarm.sh/whatever-extension': File does not contain a valid CIL image.

Due the lack of .Net development knowledge, I cannot build ASF in Termux following the Compilation Guide (after replacing dotnet and target framework). And it seems that I need to use msbuild to build C# program (?).

After reading Building packages wiki, I'm still confused. Is it required for a program to be built in Termux to get added?