Giter Club home page Giter Club logo

Comments (12)

chrisknepper avatar chrisknepper commented on May 23, 2024

Thanks for reporting this! I don't have too much experience with desktop Linux unfortunately. I can dig into this when I have some time, but the first thing that strikes me is the path to that module. It probably shouldn't be under /tmp/. The electron.asar should be in a sub-directory of whatever directory the binary is in.

from android-messages-desktop.

zwickel avatar zwickel commented on May 23, 2024

Same issue here with the AppImage on Arch Linux (Manjaro).

from android-messages-desktop.

ukulanne avatar ukulanne commented on May 23, 2024

What I did was pull the gt module and then npm run release and then execute android-messages-desktop under dist/linux-unpacked as I am unfamiliar with snap and AppImage. I am running on Fedora 29. The app seems to work find but I cannot get system tray icon / notifications working.

from android-messages-desktop.

scotnewbury avatar scotnewbury commented on May 23, 2024

AppImage is a way of packaging linux versions of an application so that they can be executed from the command line. You just need to change the permissions on it. Check out https://appimage.org/

from android-messages-desktop.

chrisknepper avatar chrisknepper commented on May 23, 2024

Ah, I'm also unfamiliar with the various Linux packaging systems. I'm wondering if the resulting folder structure that @scotnewbury got from running the AppImage matches the linux-unpacked directory @ukulanne is using.

BTW, as far as tray icon support, I kept that for Windows only because I don't have a Linux distro installed at the moment and didn't want to risk breaking the app for Linux users. If you'd like to test that (which would be a great help!), you could comment out the if (IS_WINDOWS) guard around the tray code in src/background.js and re-build. You may also want to get rid of the IS_LINUX code beneath that as well.

And as far as notification support, I wasn't aware they weren't working on Linux. Electron docs say they're supported, what's your DE?

from android-messages-desktop.

scotnewbury avatar scotnewbury commented on May 23, 2024

So I had a couple of minutes, pulled node.js, and cloned the project locally.

When I compile the project I receive the same error for the AppImage (while annoying it does reproduce the issue consistantly). I can however go into the dist/linux-unpacked directory and execute the android-messages-desktop from there, this would lead me to believe that the build for the AppImage is broken.

I should note that I did receive a message that the APPIMAGE env was not defined when I executed the app this way.

When I get a chance I'll take a look at the directory structures and see if anything looks odd.

from android-messages-desktop.

squarewell avatar squarewell commented on May 23, 2024

I just tested the .deb using debtap. Works perfectly if anyone is looking for another install option. (tested on LTS kernel 4.9.78)

from android-messages-desktop.

chrisknepper avatar chrisknepper commented on May 23, 2024

Hey all, 0.4.0 includes a .pacman build binary. Would you Arch users mind testing and seeing if it works the same/better than the .deb?

from android-messages-desktop.

scotnewbury avatar scotnewbury commented on May 23, 2024

I downloaded the .pacman file and it installed and ran just fine. I was able to sync up my phone and sending and receiving messages seems to be working as well.

from android-messages-desktop.

jacob-swenson avatar jacob-swenson commented on May 23, 2024

The .pacman is running great for me and is definitely preferred over the .deb.

from android-messages-desktop.

zwickel avatar zwickel commented on May 23, 2024

Yes, the .pacman file works great. Just updated with the package from aur :-) great work!

from android-messages-desktop.

chrisknepper avatar chrisknepper commented on May 23, 2024

Thanks everyone for your help and bringing up this issue! I think there is still more to discuss in regards to AUR maintenance and how updates are delivered on Arch. A lot of this same discussion is happening over in #30 , so I'll close this and we can continue there.

from android-messages-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.