FuseCP / SolidCP

Multi Server Control Panel for Windows based on C#
https://solidcp.com
Other
84 stars 73 forks source link

Various Improvements to the CoreWCF Branch #176

Closed simonegli8 closed 6 months ago

simonegli8 commented 6 months ago

Description

Because the build process relies on Linux rpmbuild, in order to build, there needs to be an WSL distro with rpmbuild installed for the build to complete without errors. This has been tested with Ubuntu & Fedora Remix.

To use Ubuntu for this, inside Ubuntu run:

sudo apt install rpm rpmlint

To use Fedora Remix, use

winget install -e --id whitewaterfoundry.fedora-remix-for-wsl

After installing Fedora you need to install rpmdevtools and rpmlint on it with

sudo dnf install -y rpmdevtools rpmlint

After this you should be able to build deploy-debug.bat and deploy-release.bat without errors.

Fixes # (issue)

Todo

How Has This Been Tested?

The modifications to Proxmox need testing. I did remove dependencies on SimpleJson in order to use the newest version of RestSharp and replaced the dependency on System.Drawing for the Thumbnail creation with SkiaSharp, so it's runnig on Linux also.

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

Checklist: