Package Details: vesktop-bin 1.5.1-3

Git Clone URL: https://aur.archlinux.org/vesktop-bin.git (read-only, click to copy)
Package Base: vesktop-bin
Description: A cross platform electron-based desktop app aiming to give you a snappier Discord experience with Vencord pre-installed
Upstream URL: https://github.com/Vencord/Vesktop
Keywords: discord electron vencord
Licenses: GPL-3.0-only
Conflicts: vencord-desktop, vesktop
Provides: vencord-desktop, vesktop
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 29
Popularity: 6.64
First Submitted: 2024-01-15 09:12 (UTC)
Last Updated: 2024-04-08 03:35 (UTC)

Pinned Comments

zxp19821005 commented on 2024-01-17 01:43 (UTC)

This package has renamed to vesktop-bin (https://aur.archlinux.org/packages/vesktop-bin).

Latest Comments

1 2 3 4 Next › Last »

zxp19821005 commented on 2024-04-22 04:10 (UTC)

@stk Sorry,I'm in China and I can't visit Discord normally,even though I used the proxy,I can't registed successfully.Could you please directlly point it directlly?Thanks.

stk commented on 2024-04-21 18:58 (UTC)

Hey, there has been a important fix of a bug where settings menu won't show up, can you please update the package?

nho1ix commented on 2024-04-13 09:45 (UTC)

@sewer56 not sure if it's part of the maintainer's recent upgrade, but you can copy your electron-flags.conf (that's where you usually put your --[insert electron / chromium flag here] stuff in) to vesktop-flags.conf. It worked for me at least. The file is usually in ~/.config/vesktop-flags.conf

zxp19821005 commented on 2024-04-08 03:36 (UTC)

@sewer56 Thanks for your feedback,fixed it.

sewer56 commented on 2024-04-07 16:04 (UTC) (edited on 2024-04-08 01:52 (UTC) by sewer56)

Could I ask if it is possible to have flags reading restored as per @Fazzi comment?

In my case, I want to run the app under Wayland, so I need flags. This lets me drag and drop onto the window, and also run Vencord in the correct DPI in multi monitor setup.

While I could keep patching my local install, or put a separate AUR package out, I feel both would be counterproductive for people as a whole on the grand scale of things for the vast majority of the users

zxp19821005 commented on 2024-03-29 01:03 (UTC)

@PickMeMeNow Thanks for your feedback,fixed it.The version of the electron was determined by the compiled version . You can see it : https://github.com/Vencord/Vesktop/blob/b09f035ea990232041e7dfdfbea4574ca510d0ea/package.json#L40 .It was my mistake.

PickMeMeNow commented on 2024-03-28 12:06 (UTC)

Shouldn't this use the last electron29 ("electron" from official repos)? I noticed today I have electron28 and electron29

PotatoCider commented on 2024-02-09 10:01 (UTC)

https://github.com/Vencord/Vesktop/issues/383

It seems running electron directly on the app.asar causes autostart "Start With System" to not function when using this package.

Fazzi commented on 2024-01-18 20:57 (UTC)

~/.config/vesktop-flags.conf file is not being read like the old package. Here is a diff which will add this feature.

diff --git a/.SRCINFO b/.SRCINFO
index 96cc98b..a3bed07 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,7 +13,7 @@ pkgbase = vesktop-bin
    conflicts = vesktop
    conflicts = vencord-desktop
    source = vesktop.sh
-   sha256sums = d4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231
+   sha256sums = 831c9cb9d57b7ce3f2347aa9147a5daece70167911b315f1da30bf3c15e4ff80
    source_aarch64 = vesktop-1.5.0-aarch64.deb::https://github.com/Vencord/Vesktop/releases/download/v1.5.0/vesktop_1.5.0_arm64.deb
    sha256sums_aarch64 = cab6b72a969c759e305d6d7b4d499a30cb03df0da16e878393e71937fe1894b4
    source_x86_64 = vesktop-1.5.0-x86_64.deb::https://github.com/Vencord/Vesktop/releases/download/v1.5.0/vesktop_1.5.0_amd64.deb
diff --git a/PKGBUILD b/PKGBUILD
index 2048800..de16b5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,7 +29,7 @@ depends=(
 source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_arm64.deb")
 source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb")
 source=("${pkgname%-bin}.sh")
-sha256sums=('d4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231')
+sha256sums=('831c9cb9d57b7ce3f2347aa9147a5daece70167911b315f1da30bf3c15e4ff80')
 sha256sums_aarch64=('cab6b72a969c759e305d6d7b4d499a30cb03df0da16e878393e71937fe1894b4')
 sha256sums_x86_64=('e64d144156fdbfc2525158dfaeaa8b0a0dd84e2c55eeab0456fc47514fab9932')
 build() {
@@ -48,4 +48,4 @@ package() {
         install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \
             -t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps"
     done
-}
\ No newline at end of file
+}
diff --git a/vesktop.sh b/vesktop.sh
index aacd8f8..1729b20 100644
--- a/vesktop.sh
+++ b/vesktop.sh
@@ -1,4 +1,5 @@
-#!/bin/sh
+#!/usr/bin/env bash
+
 set -e
 _APPDIR="/usr/lib/@appname@"
 _ASAR="${_APPDIR}/@appasar@"
@@ -6,10 +7,20 @@ export PATH="${_APPDIR}:${PATH}"
 export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
 export ELECTRON_IS_DEV=0
 export NODE_ENV=production
-cd "${_APPDIR}"
+_FLAGS_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/@appname@-flags.conf"
+declare -a flags
+if [[ -f "${_FLAGS_FILE}" ]]; then
+    mapfile -t < "${_FLAGS_FILE}"
+fi
+for line in "${MAPFILE[@]}"; do
+    if [[ ! "${line}" =~ ^[[:space:]]*#.* ]] && [[ -n "${line}" ]]; then
+        flags+=("${line}")
+    fi
+done
 if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
-    exec electron@electronversion@ "${_ASAR}" "$@"
+    cd "${_APPDIR}"
+    exec electron@electronversion@ "${_ASAR}" "$@" "${flags[@]}"
 else
-    exec electron@electronversion@ "${_ASAR}" --no-sandbox "$@"
+    cd "${_APPDIR}"
+    exec electron@electronversion@ "${_ASAR}" --no-sandbox "$@" "${flags[@]}"
 fi
-exit
\ No newline at end of file

zxp19821005 commented on 2024-01-17 01:43 (UTC)

This package has renamed to vesktop-bin (https://aur.archlinux.org/packages/vesktop-bin).