@chrrybmb Thansk for your feedback, I've create and new package named 'vdesktop' (https://aur.archlinux.org/packages/vdesktop-bin) ,and sent a request to merge this package to that.
Search Criteria
Package Details: vesktop-bin 1.5.2-2
Package Actions
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: | 33 |
Popularity: | 9.86 |
First Submitted: | 2024-01-15 09:12 (UTC) |
Last Updated: | 2024-05-06 04:23 (UTC) |
zxp19821005 commented on 2024-01-15 02:44 (UTC)
chrrybmb commented on 2024-01-12 19:32 (UTC)
Shouldn't this be named vesktop-bin
?
zxp19821005 commented on 2023-12-26 08:20 (UTC)
@Fazzi Thanks for your feedback,fixed it.
Fazzi commented on 2023-12-22 14:45 (UTC)
Seems you have not merged takase's diff correctly. The flags are not being sourced because you haven't written "${flags[@]}" on the electron27 lines.
zxp19821005 commented on 2023-11-10 00:55 (UTC)
@takase Thanks a lot,accept it.
takase commented on 2023-11-09 10:18 (UTC)
I've been patching the launcher script to read a config file from ~/.config/vencord-desktop-flags.conf based on discord_arch_electron. Hope this would be useful:
diff --git a/vencord-desktop.sh b/vencord-desktop.sh
index 41a8120..71d7986 100644
--- a/vencord-desktop.sh
+++ b/vencord-desktop.sh
@@ -4,8 +4,21 @@ APPDIR="/usr/lib/vencord-desktop"
export PATH="${APPDIR}:${APPDIR}/usr/sbin:${PATH}"
export LD_LIBRARY_PATH="${APPDIR}/usr/lib":"${APPDIR}/swiftshader":"${LD_LIBRARY_PATH}"
_ASAR="${APPDIR}/app.asar"
+_FLAGS_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/vencord-desktop-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} ${_ASAR} "$@"
+ exec ${_ELECTRON} ${_ASAR} "$@" "${flags[@]}"
else
- exec ${_ELECTRON} ${_ASAR} --no-sandbox "$@"
-fi
\ No newline at end of file
+ exec ${_ELECTRON} ${_ASAR} --no-sandbox "$@" "${flags[@]}"
+fi
zxp19821005 commented on 2023-10-27 01:10 (UTC)
@Mylloon Sorry, it way my mistak ,fixed it.
Mylloon commented on 2023-10-26 12:34 (UTC) (edited on 2023-10-26 12:35 (UTC) by Mylloon)
Vesktop isn't installing correctly
$ vencord-desktop
Error launching app
Unable to find Electron app at /usr/lib/vencord-desktop/resources/app.asar
Cannot find module '/usr/lib/vencord-desktop/resources/app.asar'
Require stack:
- /usr/lib/electron27/resources/default_app.asar/main.js
-
I think /resources
has been overlooked when changing installation location
https://aur.archlinux.org/cgit/aur.git/commit/?h=vencord-desktop-bin&id=8e3973ef8ee88354d2431b80a7d2ac99ccd3f8ae
$ ls /usr/lib/vencord-desktop/
app.asar
zxp19821005 commented on 2023-10-26 01:16 (UTC)
@tulpenkiste Maybe you should feedback to https://github.com/Vencord/Vesktop/issues
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).