Package Details: vesktop 1.5.5-4

Git Clone URL: https://aur.archlinux.org/vesktop.git (read-only, click to copy)
Package Base: vesktop
Description: A standalone Electron-based Discord app with Vencord & improved Linux support
Upstream URL: https://github.com/Vencord/Vesktop
Keywords: discord vencord vesktop
Licenses: GPL-3.0-only
Conflicts: vesktop
Provides: vesktop
Submitter: picokan
Maintainer: Edu4rdSHL (Covkie, zt64)
Last Packager: Covkie
Votes: 47
Popularity: 10.29
First Submitted: 2024-01-16 08:05 (UTC)
Last Updated: 2025-02-07 22:28 (UTC)

Pinned Comments

Edu4rdSHL commented on 2024-09-17 03:25 (UTC) (edited on 2024-10-27 20:33 (UTC) by Edu4rdSHL)

As of 2024-09-16, this package is being co-maintained by official vesktop developers, and any packaging decisions they make will not be questioned on my part unless it's something harmful for the users, which is very unlikely to happen. As I see it coming, they will not use the system's electron on this package purposely, if you don't like it, use vesktop-electron, which is also maintained by the same devs.

Thanks!

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 Next › Last »

picokan commented on 2024-01-17 08:20 (UTC)

@alphabitserial That desktop file launching the binary itself is a con here, not a pro because the binary with the embedded electron is not being used in this package. It only installs the app.asar and launches it using the system electron. That's all the shell "binary" is doing.

And I'd like to keep my desktop file synced with upstream, but right now looking here it doesn't seem to have a StartupWMClass anymore.

picokan commented on 2024-01-17 08:03 (UTC)

I've fixed the hash, but why you do want me to add you as a co-maintainer?

olie commented on 2024-01-16 18:37 (UTC)

package has moved to https://aur.archlinux.org/packages/vesktop

Edu4rdSHL commented on 2024-01-16 16:41 (UTC)

Hi - please update the .desktop file SHA sums. Also, do you mind adding me as co-maintainer? Thanks!

alphabitserial commented on 2024-01-16 12:07 (UTC)

The upstream packaging solution generates its own desktop file - it would be preferable to use it instead of the one this package is currently using.

  1. It launches the 'vesktop' binary directly instead of using a shell script
  2. It properly sets the StartupWMClass, which fixes an issue wherein open Vesktop windows are not properly associated with pinned application launchers (see: https://github.com/Vencord/Vesktop/issues/305)

Alternatively, you could update the desktop file here; but then you need to keep it in sync with upstream changes.

picokan commented on 2024-01-03 07:59 (UTC)

@solonovamax Using which electron doesn't work because, afaik, it only works with exact matches. I did add -maxdepth 1 to fix the problem you mentioned.

solonovamax commented on 2023-12-19 23:45 (UTC)

The funny sed and find magic that you have in the buildscript causes the build to fail if slack-desktop is installed.

This is because slack-desktop creates a folder, /usr/lib/slack/resources/app.asar.unpacked/node_modules/electron-native-auth, however this folder does not actually contain electron. It only contains a bin and build directory. And, because of the ordering of directories due to find, this directory occurs last. It is just by happenstance that /usr/lib/electron22 and /usr/lib/electron25 come after other valid matches, such as /usr/lib/node_modules/@bitwarden/cli/node_modules/electron-to-chromium, /usr/lib/code/out/vs/code/electron-main, /usr/lib/code/out/vs/code/electron-sandbox, /usr/lib/code/out/vs/base/parts/sandbox/electron-sandbox, /usr/lib/code/out/vs/platform/profiling/electron-sandbox, and /usr/lib/geogebra/resources/app/node_modules/electron-store.

I looked at how you're matching a valid version of electron, and that's probably not a good way. Might be better to do smth like which electron and grab that path instead.

picokan commented on 2023-11-11 15:29 (UTC)

Package now looks for any electron installation in /usr/lib/.

picokan commented on 2023-11-08 22:49 (UTC)

The build fails with those electron packages because there is no /usr/lib/electron if they are your only electron package. I'll try to see if I can sed the correct /usr/lib/electron* path to electron-builder in the PKGBUILD.

And for the second issue, it looks like it's just using the path of its executable (in this case electron) for the .desktop file, but without any parameters. This might be something that can be fixed on vencord's/vesktop's side.

Yamashiro commented on 2023-11-08 13:34 (UTC)

There is also an issue where enabling autostart will generate a shortcut in .config/autostart that instead of starting /usr/bin/vencord-desktop starts /usr/lib/electron25/electron so the user needs to either manually fix it or create their own startup shortcut.