hanzala123 / arch2appimage

This is a python script that downloads Arch Linux packages (Official/Chaotic AUR) and converts to an AppImage executable
GNU General Public License v3.0
339 stars 11 forks source link

mullvad-vpn fails to run, no such file or directory #19

Open elogicuk opened 1 year ago

elogicuk commented 1 year ago

Enter the name of the package (leave empty to quit) [?] >>: mullvad

Multiple Packages were found. Please select which one to use [?] >>: mullvad-vpn-beta-2022.4.stable-1-x86_64

mullvad-vpn-beta-2022.4.stable-1-x86_64 mullvad-vpn-cli-2022.4-1-x86_64 None of the above

Downloading mullvad...

Please select the icon file to be used [?] >>: AppDir/usr/share/icons/hicolor/1024x1024/apps/mullvad-vpn.png

AppDir/usr/share/icons/hicolor/1024x1024/apps/mullvad-vpn.png

These packages (and their dependencies) will be downloaded:

  1. iputils
  2. libnotify
  3. libappindicator-gtk3
  4. nss

If you would like to add additional packages please enter them below (space seperated). Leave empty to start downloading [?] >>: Downloading iputils... Downloading libnotify... Downloading libappindicator-gtk3.. Downloading nss...

Would you like to download the latest libunionpreload.so? If you select No the existing one will be used. [?] >>: Yes

Yes No

Downloading libunionpreload.so...

AppDir is ready. Please take a look into the directory to ensure everything is OK. Exec the AppRun (command './AppRun') to test if everything works.

~/Dow/arch/AppDir ./AppRun ./AppRun: line 14: /home/home/Downloads/arch2appimage-main/AppDir/"/opt/Mullvad: No such file or directory

hanzala123 commented 1 year ago

I would recommend you to check the .desktop file in the AppDir. It porbably contains full paths in the Exec section. You will have to tweak that to make this work.

elogicuk commented 1 year ago

the .desktop file contains this

Exec="/opt/Mullvad VPN/mullvad-vpn" %U

what do i edit it to? (im a linux newbie) thanks

hanzala123 commented 1 year ago

Hi, I just tried to make the AppImage but failed. It seems that the issue is far more complicated than it looks. Mullvad vpn has a systemd service that needs to run before the GUI starts. And those require sudo. Here this probably requires a lot of tweaking in the AppDir to make it work. Here is something i found which could be of help.