Aerion / uptobox-dl

An Uptobox/Uptostream batch downloader.
MIT License
52 stars 11 forks source link

build instruction #1

Closed nephaste closed 3 years ago

nephaste commented 3 years ago

any build instruction to use it on Linux ...

i wonder to compile this for armv7, armv8 (aarch64) and x86_64

thanks for your help

nephaste commented 3 years ago

look like it did the trick

dotnet publish uptobox-dl --configuration Release --self-contained --runtime linux-x64 --output="/tmp/uptobox-dl"

runtime are available on Microsoft dotnet website.... thanks again for this soft all is running fine on my Qnap NAS

Aerion commented 3 years ago

Sorry, I didn't see your issue. I'm glad to know that you made it work. Indeed, this is a .NET core application, so to publish it on different platforms, follow the instructions specified here: https://docs.microsoft.com/en-us/dotnet/core/deploying/

Check out what the self-contained flag does: if it's set to true, the .NET framework will be embedded in the published application, and you shouldn't need any runtime installed on your target machine. But if you installed the runtime, you may set --self-contained false, this will reduce considerably the size of the output.

As you managed to build it, I'll close the issue, but feel free to open other issues if needed!