appimage.github.io icon indicating copy to clipboard operation
appimage.github.io copied to clipboard

Create tooka

Open Benji377 opened this issue 6 months ago • 16 comments

Benji377 avatar Jun 10 '25 19:06 Benji377

Hm... I guess CLI apps are not supported?

Benji377 avatar Jun 10 '25 19:06 Benji377

They are, if Terminal=true is set in the desktop file.

probonopd avatar Jun 10 '25 21:06 probonopd

Looks like a permissions issue: AppRun: Permission denied

Check AppRun (must be 0755) and the directory it is in (must also be 0755)

probonopd avatar Jun 10 '25 21:06 probonopd

They are, if Terminal=true is set in the desktop file.

Thank you, I just fixed it and am now waiting for a new build. I will then update the release.

Looks like a permissions issue: AppRun: Permission denied

Check AppRun (must be 0755) and the directory it is in (must also be 0755)

I really hope it's not, because I have no idea how to fix that. I am using cargo-packager to create the AppImage and there is no configuration for that

Benji377 avatar Jun 10 '25 21:06 Benji377

I have now added three custom files to the AppImage:

And set their path using the cargo-packager config like so:

[package.metadata.packager.appimage.files]
"../data/io.github.benji377.tooka.desktop" = "usr/share/applications/io.github.benji377.tooka.desktop"
"../data/io.github.benji377.tooka.svg" = "usr/share/icons/hicolor/scalable/apps/io.github.benji377.tooka.svg"
"../data/io.github.benji377.tooka.metainfo.xml" = "usr/share/metainfo/io.github.benji377.tooka.metainfo.xml"

Benji377 avatar Jun 10 '25 22:06 Benji377

FATAL: No .desktop file or multiple desktop files present Did I name or structure my desktop file wrongly? If I mount it locally, I can see it inside usr/share/applications/

Benji377 avatar Jun 10 '25 22:06 Benji377

There must be (also) exactly 1 desktop file in the root directory.

probonopd avatar Jun 10 '25 22:06 probonopd

Ok I think I found the issue, I had to rename my desktop file.

Benji377 avatar Jun 10 '25 22:06 Benji377

Looks like everything is working now, except for the image generation: https://i.imgur.com/XEWYs8M.png

But I really don't know how to change the permissions of the AppRun folder since I am not packaging it by hand.

Benji377 avatar Jun 10 '25 23:06 Benji377

@probonopd I just tested my AppImage on different Linux devices, and it worked fine on all of them. I really have no idea why the permission error occurs, it didn't show up on any of my own tests. Furthermore, when I set it manually, it made no difference. Could this be an issue with the test pipeline?

Benji377 avatar Jun 15 '25 10:06 Benji377

Getting

image

Can you please chmod 0755 the AppRun file and the directory it is in?

probonopd avatar Jun 22 '25 08:06 probonopd

ptFanSM Even AppImage is affected by this 🙁. It's a known issue: https://github.com/tooka-org/cli/issues/25

Benji377 avatar Jun 22 '25 12:06 Benji377

Getting

image

Can you please chmod 0755 the AppRun file and the directory it is in?

Fixed! ✅

Benji377 avatar Jun 22 '25 14:06 Benji377

I am now getting a completely empty picture, which I guess is a good thing (?)

image

Benji377 avatar Jun 22 '25 14:06 Benji377

@probonopd your GitHub Workflow seems to break if I just update the branch without changing anything in the data/ folder. It was working before, then I merged master into my branch, and it broke because no files were changed in the data/ folder.

Benji377 avatar Aug 09 '25 10:08 Benji377

Job 5278996707 was the latest working run and I haven't made a new release since. Do you need anything else?

Benji377 avatar Aug 17 '25 17:08 Benji377