lencx / ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
https://nofwl.com
51.67k stars 5.8k forks source link

Update The Tauri in Linux app image.[Feature] #1235

Open bhaumik-tripathi opened 3 months ago

bhaumik-tripathi commented 3 months ago

Feature description

I would like you to update tauri to the latest version in your AppImage build for linux.

Motivation

I have been trying to install the AppImage of chatgpt from here. Since the application image was not showing in the applications in ubuntu, I refered to this article to find a work around. On running the following command at last, it was doing nothing: sudo desktop-file-install chat-gpt.desktop (I created the chat-gpt.desktop myself accourding to the article) When nothing happened I executed the exec variable in the file directly on the command prompt to check for the problem, the command was as follows /opt/chat-gpt/AppRun %F This is the same AppRun file which I received from the AppImage. It is giving me the following error now, And Chat-gpt(browser): suggested me to ask on tauri forum from where I moved here after getting the conclusion that the tauri version is old in the AppImage. Any help or redirections would be appreciable.

thread 'main' panicked at '`APPDIR` or `APPIMAGE` environment variable found but this application was not detected as an AppImage; this might be a security issue.', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-1.3.0/src/lib.rs:205:11
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

and then this after RUST_BACKTRACE=1 is set

thread 'main' panicked at '`APPDIR` or `APPIMAGE` environment variable found but this application was not detected as an AppImage; this might be a security issue.', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-1.3.0/src/lib.rs:205:11
stack backtrace:
   0:     0x64f356f5f494 - <unknown>
   1:     0x64f356df62ef - <unknown>
   2:     0x64f356f32220 - <unknown>
   3:     0x64f356f6100f - <unknown>
   4:     0x64f356f60895 - <unknown>
   5:     0x64f356f617a4 - <unknown>
   6:     0x64f356f61263 - <unknown>
   7:     0x64f356f611f6 - <unknown>
   8:     0x64f356f611e1 - <unknown>
   9:     0x64f356c46f22 - <unknown>
  10:     0x64f356d12e9b - <unknown>
  11:     0x64f356ce83cf - <unknown>
  12:     0x64f356daebda - <unknown>
  13:     0x64f356d3a707 - <unknown>
  14:     0x64f356dae7f6 - <unknown>
  15:     0x7dd19be29d90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  16:     0x7dd19be29e40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  17:     0x64f356c5abd5 - <unknown>
  18:                0x0 - <unknown>

Alternatives

I have previously tried using .deb on my system but that started causing problem after a week, it logged out somehow and was causing problems in again logging in.Thus, virtually making it unusable. That's why the only way left was to use AppImage. It was mentioned to have worked better than its .deb alternative.

Additional context

You can find the tauri discussion here My system specs are as following:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian

Please request for any further information required.