Unverified Commit c3e216bd authored by Diogo Correia's avatar Diogo Correia
Browse files

mattermost-desktop: disable update checking

parent b15d161d
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 = ''