Allow for Building on Linux with Dark Haxx™ #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I've done is simply translating the batch commands to their
sh
equivalents,a tedious task that I'd never get my hands on manually, thx Copilot!This is a very primitive attempt of building The Archive on Linux(and possibly other Unix-like OSes, provided .NET SDK, and
coreutils
-or-equivalent are installed). As changes to Windows batchfiles are included, this "patch" needs to be tested on Windows to see whether the formatting messes with VS.As such, the process is no longer automated by VS, dependency resolution(a la
dotnet restore
) has to be done manually with each submodule before building, the following procedure is concluded:dotnet restore --force /property:Configuration=R_xx
(withR_xx
your desired modloader) forTheArchive_Core
,TheArchive_IL2CPP
, andTheArchive_MONO
. No need forBuildHelper
it seems, as it helps itself out.Pretty helpful BuildHelper!dotnet build --configuration R_xx
under the root. Again withR_xx
your desired modloader.I have tested the produced binary and it seems to be running well on my machine, I hope anybody out there could help with this PR, XOXO <3