summarylogtreecommitdiffstats
path: root/disable-updater.js
blob: 2ba9a869fc5f9cb5938c84e28a6666f9080a5005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict';

const fs = require("fs");

const buildConfig = JSON.parse(
	fs.readFileSync("wow.export/build.conf")
);

for (const platformConfig of buildConfig.builds) {
	if (platformConfig.name == "linux-x64") {
		platformConfig.updater = undefined;
		platformConfig.updateBundle = undefined;
	}
}

fs.writeFileSync(
	"wow.export/build.conf",
	JSON.stringify(buildConfig)
);