Merge pull request #148938 from r-ryantm/auto-update/logseq

logseq: 0.4.6 -> 0.5.1
This commit is contained in:
Bobby Rong 2021-12-10 14:46:22 +08:00 committed by GitHub
commit 47f45c8440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_13 }:
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_15 }:
stdenv.mkDerivation rec {
pname = "logseq";
version = "0.4.6";
version = "0.5.1";
src = fetchurl {
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage";
sha256 = "fGRPuv98sr3wcVbkVCJr2yKxBZ/IiQP854T9NBf/vCk=";
sha256 = "/ZI9kK/9bYRJL8jOyRKpdMcy4Cbau+a28AO+kTUl+SE=";
name = "${pname}-${version}.AppImage";
};
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
makeWrapper ${electron_13}/bin/electron $out/bin/${pname} \
makeWrapper ${electron_15}/bin/electron $out/bin/${pname} \
--add-flags $out/share/${pname}/resources/app
'';