From 413c8a4fefee00e94025548fe400f624de885e6a Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 13 Dec 2023 17:37:48 +0000 Subject: [PATCH] sponsorblock: re-disable the first-launch nag --- pkgs/additional/firefox-extensions/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/additional/firefox-extensions/default.nix b/pkgs/additional/firefox-extensions/default.nix index 0b2687e8..df36b22e 100644 --- a/pkgs/additional/firefox-extensions/default.nix +++ b/pkgs/additional/firefox-extensions/default.nix @@ -174,9 +174,9 @@ in (lib.makeScope newScope (self: with self; { # but web shit is absolutely cursed and building from source requires a fucking PhD # (if you have one, feel free to share your nix package) # - # NB: in source this is `if (!userID)...`, but the build process mangles the names - substituteInPlace js/background.js \ - --replace 'default.config.userID)' 'default.config.userID && false)' + # NB: in source this is `alreadyInstalled: false`, but the build process hates Booleans or something + substituteInPlace js/*.js \ + --replace 'alreadyInstalled:!1' 'alreadyInstalled:!0' ''; } )