Skip to content
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

Create AvaloniaSyncer #3332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create AvaloniaSyncer #3332

wants to merge 1 commit into from

Conversation

SuperJMN
Copy link

No description provided.

@SuperJMN SuperJMN closed this Apr 17, 2024
@SuperJMN SuperJMN reopened this Apr 17, 2024
@probonopd
Copy link
Member

Thanks @SuperJMN. Please fix the desktop file:

/tmp/.mount_runtimHOadPH/App.desktop: error: file contains line "0.1.81", which is not a comment, a group or an entry
/tmp/.mount_runtimHOadPH/App.desktop: error: value "$APPDIR/AvaloniaSyncer/AvaloniaSyncer.Desktop" for key "Exec" in group "Desktop Entry" contains a reserved character '$' outside of a quote

@SuperJMN
Copy link
Author

SuperJMN commented Apr 17, 2024

@probonopd Thanks to you! I'm trying to push the AppImages that are generated by my automated tool (DotnetPackaging). But I think you already know that 😀

To avoid push many packages, while I fine tune my tool, I'd like to know if there's a way to validate an .AppImage. Maybe one script or a tool to verify before pushing it and consume precious resources.

@SuperJMN
Copy link
Author

Thanks @SuperJMN. Please fix the desktop file:

/tmp/.mount_runtimHOadPH/App.desktop: error: file contains line "0.1.81", which is not a comment, a group or an entry

Fixed!

/tmp/.mount_runtimHOadPH/App.desktop: error: value "$APPDIR/AvaloniaSyncer/AvaloniaSyncer.Desktop" for key "Exec" in group "Desktop Entry" contains a reserved character '$' outside of a quote

Here, I'm using $APPDIR as a token to be replaced by the actual path. I'm not sure what's the solution to this one. Maybe I should escape the path? Like DesktopEntry='$APPDIR/AvaloniaSyncer/AvaloniaSyncer.Desktop'?

@SuperJMN SuperJMN closed this Apr 18, 2024
@SuperJMN SuperJMN reopened this Apr 18, 2024
@SuperJMN SuperJMN closed this Apr 18, 2024
@SuperJMN SuperJMN reopened this Apr 18, 2024
@SuperJMN
Copy link
Author

I think I have fixed the remaining problems, but an error is still there. It says:

ERROR: Could not find a single window on screen :-(
Error: The operation was canceled.

I have just tested the appimage file in Ubuntu and the application runs as expected (the window appears).
What can I do to pass the this test? 😕 I'm a bit lost.

@probonopd
Copy link
Member

probonopd commented Apr 27, 2024

Thanks @SuperJMN. Possibly the rest is running into a Firejail-related issue here:

Error src/firejail/appimage.c:194 appimage_mount(): mounting appimage: Invalid argument

Unfortunately, I don't know what is causing this or how to resolve it.
Possibly someone from the Firejail project would need to look into this.

Which tool are you using to produce the AppImage? Which compression is this AppImage using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants