cinny-desktop: disable update notification (#394401)

This commit is contained in:
Pol Dellaiera
2025-03-30 09:39:34 +02:00
committed by GitHub
+5 -4
View File
@@ -14,6 +14,8 @@
glib,
glib-networking,
webkitgtk_4_0,
jq,
moreutils,
}:
rustPlatform.buildRustPackage rec {
@@ -46,10 +48,9 @@ rustPlatform.buildRustPackage rec {
};
in
''
substituteInPlace tauri.conf.json \
--replace-warn '"distDir": "../cinny/dist",' '"distDir": "${cinny'}",'
substituteInPlace tauri.conf.json \
--replace-warn '"cd cinny && npm run build"' '""'
${lib.getExe jq} \
'del(.tauri.updater) | .build.distDir = "${cinny'}" | del(.build.beforeBuildCommand)' tauri.conf.json \
| ${lib.getExe' moreutils "sponge"} tauri.conf.json
'';
postInstall =