Unverified Commit 1a798f6b authored by yaya's avatar yaya Committed by GitHub
Browse files

mattermost-desktop: disable update checking (#512364)

parents dfaa40e6 c3e216bd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@ buildNpmPackage rec {
      --replace-fail \
        "const VERSION = childProcess.execSync('git rev-parse --short HEAD', {cwd: __dirname}).toString();" \
        "const VERSION = process.env.version;"
    substituteInPlace src/common/config/buildConfig.ts \
      --replace-fail 'enableUpdateNotifications: true,' 'enableUpdateNotifications: false,'
  '';

  postBuild = ''