This commit is contained in:
kirillsaint 2024-05-01 01:53:12 +06:00
parent 4def4b2f91
commit 3d56d76f2b

View File

@ -120,16 +120,16 @@ async function build() {
console.log("Building JAR File"); console.log("Building JAR File");
await zip(tempPaths.jar, buildPath + `/client-${version}.jar`); await zip(tempPaths.jar, buildPath + `/client-${version}.jar`);
//
console.log("Obfuscation") // console.log("Obfuscation")
await exec('cd proguard && java -jar proguard.jar @sc') // await exec('cd proguard && java -jar proguard.jar @sc')
console.log("Uploading build to Silent Client Servers"); console.log("Uploading build to Silent Client Servers");
try { try {
const formData = new FormData(); const formData = new FormData();
formData.append( formData.append(
"jar", "jar",
fs.createReadStream(buildPath + `/client-${version}-obf.jar`) fs.createReadStream(buildPath + `/client-${version}.jar`)
); );
formData.append("version", commit); formData.append("version", commit);
formData.append("branch", branch); formData.append("branch", branch);