-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steamdeck / Linux Build #77
Comments
I've put a copy of the packages into the Maybe we'll have to wait with this issue until @philippjbauer / @MikeYeager / @tryphotino have released their documentation for publishing under Linux in the future. |
Hi Laura! Over the last few days I dug deeper into the issue. Looking at the build output folder, do you find the library in the root of the output folder alongside the It might help if you add the following code to your // This is more accurate than Directory.CurrentDirectory() to get the Working Directory
string entryAssemblyLocation = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
// Set the current directory to the location of the executable
// This may be necessary for the native libraries to load properly
Directory.SetCurrentDirectory(entryAssemblyLocation); |
Hey @philippjbauer, thank's for stopping by! .net folderOn the SteamDeck, there are two folders with a seemingly generated ID under Build folderThe published build (
This is the folder I've zipped and pushed to the SteamDeck for testing. Just building does give me the .so libraries alongside the applications .dll files. Setting the workdirChanging the type from WinExe to Exe and setting the workdir did not open a terminal, opening the executable through the terminal gave me a different error claiming libPhotino.Native.so can't be found now (this time, in the I do have a Sentry.io entry for the crash.
|
This is working really well thanks to @philippjbauer publish script. Webkit2GTK doesn't seem to have proper Gamepad support yet, but that's a different issue and I've seen some movement about this in the Webkit Bugzilla. |
Currently, the release pipeline does not package libwebkit2gtk into the executable to be able to be run on Linux without installing additional packages. This is especially bad since the SteamDeck (one of our target devices) do not allow installation of arbitrary packages.
As laid out in tryphotino/photino.Documentation#18 (comment), there seems to be a way to package the dependency itself.
The text was updated successfully, but these errors were encountered: