wealthfolio: deactivate the upstream updater (#373198)

This commit is contained in:
Donovan Glover
2025-01-14 01:48:04 +00:00
committed by GitHub
+12
View File
@@ -3,7 +3,9 @@
stdenv,
fetchFromGitHub,
cargo-tauri,
jq,
libsoup_3,
moreutils,
nodejs,
openssl,
pkg-config,
@@ -41,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cargo-tauri.hook
jq
moreutils
nodejs
pkg-config
pnpm.configHook
@@ -54,6 +58,14 @@ stdenv.mkDerivation (finalAttrs: {
webkitgtk_4_1
];
postPatch = ''
jq \
'.plugins.updater.endpoints = [ ]
| .bundle.createUpdaterArtifacts = false' \
src-tauri/tauri.conf.json \
| sponge src-tauri/tauri.conf.json
'';
passthru.updateScript = nix-update-script { };
meta = {