Skip to content

Commit e2471a6

Browse files
committed
feat: commit
1 parent 78634ad commit e2471a6

4 files changed

Lines changed: 4 additions & 41 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
contents: write
1515
packages: write
1616
runs-on: ubuntu-latest
17+
environment: main
1718
steps:
1819
- name: Checkout
1920
uses: actions/checkout@v4
@@ -35,7 +36,7 @@ jobs:
3536
- name: Build
3637
env:
3738
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
run: ./gradlew build
39+
run: ./gradlew build clean
3940

4041

4142
- name: Setup Node.js

patches/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ patches {
44
about {
55
name = "Stick Nodes Filter Addition"
66
description = "an attempt to add more filters"
7-
source = "git@github.com/HZbutcoding/sn-patching.git"
7+
source = "https://github.com/HZbutcoding/sn-patching"
88
author = "ReVanced + HZ"
99
contact = "HZbutcoding"
1010
website = "https://revanced.app"

patches/src/main/kotlin/sticknodes/Fingerprints.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ val figureFiltersInitFingerprint = fingerprint {
1010
parameters()
1111
// The method we’re after has many `INVOKE_DIRECT` and `INVOKE_VIRTUAL`
1212
// calls for LabelInputIncrementField and LabelColorInputIncrementField
13-
// yes
1413
opcodes(
1514
Opcode.NEW_INSTANCE,
1615
Opcode.INVOKE_DIRECT,

patches/src/main/kotlin/sticknodes/customFilters.kt

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -122,41 +122,4 @@ val AddCustomFilterSlot = bytecodePatch(
122122
}
123123

124124
}
125-
}
126-
127-
128-
//another comment
129-
130-
131-
//package com.HZ.CustomFilters
132-
//
133-
//import app.revanced.patcher.patch.bytecodePatch
134-
//import app.revanced.patcher.extensions.InstructionExtensions.addInstruction
135-
//import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
136-
//import app.revanced.patcher.extensions.InstructionExtensions.removeInstruction
137-
//import app.revanced.patcher.extensions.InstructionExtensions.removeInstructions
138-
//
139-
//
140-
//@Suppress("unused")
141-
//val AddCustomFilterSlot = bytecodePatch(
142-
// name = "Custom Filter slot",
143-
// description = "adds an extra custom filter slot for prototyping new shaders",
144-
//) {
145-
// compatibleWith(
146-
// "org.fortheloss.sticknodes"("4.2.3"),
147-
// "org.fortheloss.sticknodespro"("4.2.3")
148-
// )
149-
//
150-
//// extendWith("extensions/extension.rve")
151-
//
152-
// execute {
153-
// val method = figureFiltersInitFingerprint.resultOrThrow().method;
154-
//
155-
//
156-
// // Insert call to your helper at the end of the constructor
157-
// method.addInstruction(
158-
// method.implementation!!.instructions.size - 1, // right before return-void
159-
// "invoke-static {}, Lcom/HZ/CustomFilters/CustomMenu;->addCustomFilter()V"
160-
// )
161-
// }
162-
//}
125+
}

0 commit comments

Comments
 (0)