Changed Proxmox provider to run also on Linux and to use newest version of RestSharp. (This needs testing)
Added deb & rpm installation packages for Linux for easy installation on Linux.
SolidCP.UniversalInstaller now working so the CoreWCF branch can be easily installed on Linux.
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.
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)
Fixed deploy-debug.bat not working.
Todo
Creation of WinGet package for Installer.
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.
[x] Did run deploy-debug.bat
[x] Built code to ensure it has no errors
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
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: