diff options
-rw-r--r-- | vesktop.scm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vesktop.scm b/vesktop.scm index c627980..82e8ef1 100644 --- a/vesktop.scm +++ b/vesktop.scm @@ -31,23 +31,23 @@ (define-public vesktop (package - (name "vesktop") - (version "0.4.4") + (name "vesktop-bin") + (version "1.5.0") (source (origin (method url-fetch) (uri (string-append - "https://github.com/Vencord/Vesktop/releases/download/v" version "/VencordDesktop_" version "_amd64.deb")) + "https://github.com/Vencord/Vesktop/releases/download/v" version "/vesktop_" version "_amd64.deb")) (sha256 - (base32 "1anc7bm1w7a01lkd9fpm3i53ckjr6h00zqdc05ry4clxw6g7d3xh")))) + (base32 "0clrmd7m2izwaq2apvjm5i7dh38aifmaxpsqa59c5gzxar0i8kg6")))) (supported-systems '("x86_64-linux")) (build-system chromium-binary-build-system) (arguments (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files #:wrapper-plan #~'( - "lib/Vesktop/vencorddesktop" + "lib/Vesktop/vesktop" ) #:phases #~(modify-phases %standard-phases @@ -56,7 +56,7 @@ (invoke "ar" "x" #$source) (invoke "tar" "xvf" "data.tar.xz") ;; Fix the .desktop file binary location. - (substitute* '("usr/share/applications/vencorddesktop.desktop") + (substitute* '("usr/share/applications/vesktop.desktop") (("/opt/Vesktop/") (string-append #$output "/bin/"))) (copy-recursively "usr/" ".") ;; Use the more standard lib directory for everything. @@ -71,12 +71,12 @@ (lambda _ (delete-file (string-append #$output "/environment-variables")) (mkdir-p (string-append #$output "/bin")) - (symlink (string-append #$output "/lib/Vesktop/vencorddesktop") + (symlink (string-append #$output "/lib/Vesktop/vesktop") (string-append #$output "/bin/discord")))) (add-after 'install-wrapper 'wrap-where-patchelf-does-not-work (lambda _ - (wrap-program (string-append #$output "/lib/Vesktop/vencorddesktop") + (wrap-program (string-append #$output "/lib/Vesktop/vesktop") `("LD_LIBRARY_PATH" ":" prefix (,(string-join (list |