amanharwara / altus

Desktop client for WhatsApp Web with themes, notifications and multiple account support
GNU General Public License v3.0
457 stars 65 forks source link

App.asar missing #281

Open Peiprjs opened 4 months ago

Peiprjs commented 4 months ago

Describe the bug Altus is unable to launch. From a terminal it exits with error:

Unable to find Electron app at /usr/lib/altus/app.asar

Cannot find module '/usr/lib/altus/app.asar'

To Reproduce Steps to reproduce the behavior:

  1. Be on Arch
  2. Update
  3. Attempt to launch

Expected behavior Altus launching, therefore app.asar being findable

Screenshots If applicable, add screenshots to help explain your problem: image

Information: Version Info (Go to About > About and click "Copy Version Info"): 5.0.0-1 and 5.0.1-1 (According to yay) Additional context Add any other context about the problem here.

amanharwara commented 4 months ago

I'm guessing this from the AUR? Have you reported this to the AUR package you're using?

Do you see this issue if you use the AppImage directly?

admrk commented 4 months ago

It seems like there is a problem in the altus.sh script. If you clone the the Repository yourself and change _RUNNAME="${_APPDIR}/@runname@" to _RUNNAME="${_APPDIR}/app" (line 4) it should work again.

I know it is only a quick fix, but at least it works again.