diff --git a/vesktop/vesktop.desktop b/vesktop/vesktop.desktop index e69de29..0ee6d0a 100644 --- a/vesktop/vesktop.desktop +++ b/vesktop/vesktop.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Vesktop +GenericName=Internet Messenger +Comment=Vesktop is a free/libre cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed +Type=Application +Exec=/usr/bin/vesktop +Icon=vesktop +Categories=Network;InstantMessaging; +StartupWMClass=Vesktop; +Keywords=discord;vencord;vesktop diff --git a/vesktop/vesktop.sh b/vesktop/vesktop.sh index e69de29..a91067f 100644 --- a/vesktop/vesktop.sh +++ b/vesktop/vesktop.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} + +# Allow users to override command-line options +if [[ -f $XDG_CONFIG_HOME/vesktop-flags.conf ]]; then + VESKTOP_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/vesktop-flags.conf)" +fi + +# Launch +exec electron /usr/lib/vesktop/app.asar $VESKTOP_USER_FLAGS "$@"