owlysk/CodeTimer

Provide AppImage releases for Linux

Opened this issue · 10 comments

Hi,
I just came across CodeTimer and the first impression is great. Thank you for this project! I have one request. I would like to have Appimage releases for Linux for more convenience. Could you possibly provide Appimages with new releases?

Hi,
I am affraid that there is a issue with saving setting.
AppImage format has read-only file system and CodeTimer (NeutralinoJS) needs to have permission to write setting and cache files (similiar issue was in macOS bundle #1 (comment))
NeutralinoJS has not option to set location of these files yet - neutralinojs/neutralinojs#1112, so I can't set location of this files outside app bundle.

Deb package will not work for you?

Hi,
Thanks for getting back to this. I understand the problem regarding NeutralinoJS and AppImage format. I guess a deb package would work for me too.

However, even more convenient would be to use a flatpak. Would it be possible to provide the app on Flathub? I know that this requires some work to submit the app to Flathub repositories. But could be worth it also to increase popularity. When searching for Kimai on Flathub there are no relevant results to be found. Would be cool if CodeTimer would fill this gap. What do you think?

Interesting idea and I like it, I'll have a look at the flatpak and let you know.

I am sorry, I was not able to make flatpak work. I will come back to this issue in a future

I am sorry, I was not able to make flatpak work. I will come back to this issue in a future

Ok, do you want to share what was the obstacle? And instead of a Flatpak could you provide a deb package in the meantime?

I think there was something with dependencies. I tried to manually add some system libraries, but I got this error:

flatpak run sk.owly.CodeTimer 
Gtk-Message: 21:24:47.376: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:24:47.379: Failed to load module "canberra-gtk-module"
libEGL warning: DRI2: failed to authenticate
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink

** (CodeTimer-linux_x64:2): ERROR **: 21:24:47.888: Unable to spawn a new child process: Zlyhalo vytvorenie dcérskeho procesu „/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess“ (Adresár alebo súbor neexistuje)

I think error is caused by libwebkit2gtk library, but I don't know how to add it into yaml file.

Here is a deb package for amd64, hope this will work for you
codetimer_1.0.11_x64.zip

Thank you for the deb package. There is somehow a notification regarding Visual Studio when I attempt to run it. Probably, that's not intended? Can you fix that?

image

Hi,
I don't know, why Visual Studio Code notification appears. I don't use Visual Studio Code for making deb package. I tested deb package on Ubuntu & Kubuntu and run just fine.
Which linux distribution are you using?

Well don't mind. I just ran it and it installed just fine (fyi I'm using Zorin OS 17 based on Ubuntu 22.04). Thank you!

Just one minor addition for the deb package: Would be great if the icon was displayed correctly in the dock. 🙏
image