srevinsaju / zap

:zap: Delightful AppImage package manager
https://zap.srev.in
MIT License
506 stars 20 forks source link

system-wide installation not behaving as expected #74

Open renzhamin opened 2 years ago

renzhamin commented 2 years ago

Current behaviour by sudo zap install

Expected behaviour

The current implications of system-wide installation is that zap can used by any user but apps can't be installed system-wide. Zap should automatically switch to system-wide installation of the app when invoked with sudo. A --user flag will be used for user installation or the default could be user installation introducing the --system flag

zap --version
Zap version Build:v2.2.1.6.gdc5b7ff 1646814234
srevinsaju commented 2 years ago

That's a really good idea. I will mark it as a feature request.

hyperio546 commented 2 years ago

Same happened with me today! $ zap install guiscrcpy ? Choose a release continuous ? Choose a asset guiscrcpy-v4.12.0-8-g97c0bcd.dev.r.glibc2.31-x86_64.AppImage Downloading guiscrcpy-v4.12.0-8-g97c0bcd.dev.r.glibc2.31-x86_64.AppImage of size 122.24 MB. ? Proceed? Yes Downloading guiscrcpy [i]: 100% [====================] (4.876 MB/s)
? Do you want to integrate this appimage? Yes guiscrcpy installed successfully ✨

image And then it's nowhere to be found (I can obviously run it through the terminal)

renzhamin commented 2 years ago

Same happened with me today! $ zap install guiscrcpy ? Choose a release continuous ? Choose a asset guiscrcpy-v4.12.0-8-g97c0bcd.dev.r.glibc2.31-x86_64.AppImage Downloading guiscrcpy-v4.12.0-8-g97c0bcd.dev.r.glibc2.31-x86_64.AppImage of size 122.24 MB. ? Proceed? Yes Downloading guiscrcpy [i]: 100% [====================] (4.876 MB/s) ? Do you want to integrate this appimage? Yes guiscrcpy installed successfully ✨

image And then it's nowhere to be found (I can obviously run it through the terminal)

Some appimages do not contain a desktop file or zap fails to extract it, thats a different issue

hyperio546 commented 2 years ago

Same happened with me today! $ zap install guiscrcpy ? Choose a release continuous ? Choose a asset guiscrcpy-v4.12.0-8-g97c0bcd.dev.r.glibc2.31-x86_64.AppImage Downloading guiscrcpy-v4.12.0-8-g97c0bcd.dev.r.glibc2.31-x86_64.AppImage of size 122.24 MB. ? Proceed? Yes Downloading guiscrcpy [i]: 100% [====================] (4.876 MB/s) ? Do you want to integrate this appimage? Yes guiscrcpy installed successfully ✨ image And then it's nowhere to be found (I can obviously run it through the terminal)

Some appimages do not contain a desktop file or zap fails to extract it, thats a different issue

Let's just ignore it because I switched to Fedora KDE today and zap works totally fine. Issue fixed LOL.

hertz98 commented 9 months ago

Same behavior

hyperio546 commented 9 months ago

Same behavior

One year later? I have given up on Linux as a whole.

srevinsaju commented 9 months ago

For the above particular error, best I could suggest is

zap install --github --from=srevinsaju/guiscrcpy guiscrcpy