obsidian: electron_18 -> electron_21

This commit is contained in:
1sixth 2023-01-30 22:08:29 +08:00
parent 0ee931c4a9
commit cb15fbd72e
No known key found for this signature in database
GPG key ID: 55A1774C8F50733A

View file

@ -2,7 +2,7 @@
, fetchurl
, lib
, makeWrapper
, electron_18
, electron_21
, makeDesktopItem
, graphicsmagick
, writeScript
@ -50,7 +50,7 @@ let
installPhase = ''
runHook preInstall
mkdir -p $out/bin
makeWrapper ${electron_18}/bin/electron $out/bin/obsidian \
makeWrapper ${electron_21}/bin/electron $out/bin/obsidian \
--add-flags $out/share/obsidian/app.asar \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
install -m 444 -D resources/app.asar $out/share/obsidian/app.asar