mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:51:32 +01:00
fix
This commit is contained in:
parent
4def4b2f91
commit
3d56d76f2b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user