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

Flatpak unable to find resources files #316

Open
chase9 opened this issue Nov 3, 2024 · 4 comments
Open

Flatpak unable to find resources files #316

chase9 opened this issue Nov 3, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@chase9
Copy link
Contributor

chase9 commented Nov 3, 2024

What happened?

Currently, the flatpak version isn't working as the resources folder is not being included in the build. I've tried including the resources folder in the build a number of ways, but it's pretty finicky. I'm wondering if it would be best for us to write the .service and .timer files in code rather than by copying files. What are your thoughts?

Version

3.5-beta

How did you install Yin & Yang?

Flatpak

What desktop environments are you seeing the problem on?

KDE

Which plugin causes the issue?

None

What software version do you use?

No response

Relevant log output

No response

@chase9 chase9 added the bug Something isn't working label Nov 3, 2024
@chase9
Copy link
Contributor Author

chase9 commented Dec 15, 2024

I spent some time trying to convert the .service system to DBus, but it turns out that there is no way to actually install a .service via flatpak or DBus... In this case, I believe that the only way to get this to work would be to have the application live in the system tray and execute from there.

@l0drex
Copy link
Collaborator

l0drex commented Dec 22, 2024

Can we install the service files at installation time, and only enable / disable them from script?

@chase9
Copy link
Contributor Author

chase9 commented Dec 22, 2024

As far as I can tell, no. Flatpak only allows us to export a couple of files and a .service file is not one of them. I suppose we could ask users to manually run commands to install a .service if we detect it's not installed.

I think that it would probably be better long term to get rid of the .service files and instead run from the system tray. I think this closer matches other applications behavior.

@chase9
Copy link
Contributor Author

chase9 commented Jan 4, 2025

Resolved in #325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants