Commit 7e45c9e1 authored by Andrew Marshall's avatar Andrew Marshall
Browse files

openboard: disable software updates by default

Installing with Nix means updating won’t work this way anyway, and
disabling also hopefully means reduced telemetry. This also hides
the action to manually check from the dropdown menu.
parent 903906ce
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -55,6 +55,11 @@ in stdenv.mkDerivation (finalAttrs: {
      --replace-fail '/usr/include/quazip5' '${lib.getDev quazip}/include/QuaZip-Qt5-${quazip.version}/quazip' \
      --replace-fail '-lquazip5' '-lquazip1-qt5' \
      --replace-fail '/usr/include/poppler' '${lib.getDev poppler}/include/poppler'

    substituteInPlace resources/etc/OpenBoard.config \
      --replace-fail 'EnableAutomaticSoftwareUpdates=true' 'EnableAutomaticSoftwareUpdates=false' \
      --replace-fail 'EnableSoftwareUpdates=true' 'EnableAutomaticSoftwareUpdates=false' \
      --replace-fail 'HideCheckForSoftwareUpdate=false' 'HideCheckForSoftwareUpdate=true'
  '';

  nativeBuildInputs = [ qmake copyDesktopItems wrapQtAppsHook ];