Skip to content

Linux support #5

@Sharparam

Description

@Sharparam

This issue is a bit less of an issue/request and more to document what I found.

From the limited testing I've done this seems to work in Linux already (I can open my save file and the analysis seems to show the correct stuff from what I can tell).

In the code I see there are a couple of native methods from user32 though, which I imagine would not work under Linux, they never seem to actually get called under Linux though.

They seem to be used to prevent multiple instances from running at once, and this check fails under Linux. I'm able to have multiple instances of the app running.

Ideally this check would use something that is cross-platform, or failing that, checking at runtime to use different solutions based on the platform. It's a very minor issue though.

What I did to make a package I can run on my Linux (Arch) environment:

dotnet publish --use-current-runtime --no-self-contained -p:PublishSingleFile=true

This should produce the following files under RemnantOverseer/bin/Release/net8.0/linux-x64/publish:

libHarfBuzzSharp.so
libSkiaSharp.so
RemnantOverseer

(Assuming you run it on a 64-bit Linux system.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions