mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:31:32 +01:00
Obfuscation
This commit is contained in:
parent
9958b2d166
commit
21f76cb380
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -24,6 +24,10 @@ jobs:
|
||||
- name: Execute Gradle build
|
||||
run: ./gradlew setupDecompWorkspace clean build --refresh-dependencies
|
||||
|
||||
- name: Install and Build Final Jar
|
||||
- name: Obfuscating Jar
|
||||
working-directory: ./autobuilder
|
||||
run: java -jar obfuscator.jar --jarIn ../build/libs/client-1.8.9.jar --jarOut ./jars/Client.jar --scriptFile obfuscationScript.js --config config
|
||||
|
||||
- name: Building Jar with Libraries
|
||||
working-directory: ./autobuilder
|
||||
run: npm install && LOGIN=${{ secrets.LOGIN }} PASSWORD=${{ secrets.PASSWORD }} node index --version 1.8.9 --branch ${{ steps.branch-name.outputs.current_branch }} --commit ${{ steps.commit.outputs.short }}
|
||||
|
@ -45,7 +45,7 @@ async function build() {
|
||||
`Silent Client AutoBuilder (MC Version: ${version}, branch: ${branch})`
|
||||
);
|
||||
console.log("Checking Jars");
|
||||
if (!fs.existsSync(`../build/libs/client-${version}.jar`)) {
|
||||
if (!fs.existsSync(`./jars/Client.jar`)) {
|
||||
console.error("JAR file does not exist.");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user