Skip to content

Commit bdee7d0

Browse files
authored
feat: PLEASE
1 parent f3d2892 commit bdee7d0

File tree

1 file changed

+5
-5
lines changed
  • app/src/main/kotlin/io/github/pyoncord/xposed

1 file changed

+5
-5
lines changed

app/src/main/kotlin/io/github/pyoncord/xposed/Main.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ class Main : IXposedHookLoadPackage {
136136

137137
val url =
138138
if (config.customLoadUrl.enabled) config.customLoadUrl.url
139-
else "https://raw.githubusercontent.com/pyoncord/detta-builds/main/bunny.min.js"
139+
else "https://raw.githubusercontent.com/opti-mod/builds/main/opti.js"
140140

141-
Log.e("Bunny", "Fetching JS bundle from $url")
141+
Log.e("Opti", "Fetching JS bundle from $url")
142142

143143
val response: HttpResponse = client.get(url) {
144144
headers {
@@ -160,7 +160,7 @@ class Main : IXposedHookLoadPackage {
160160
return@async
161161
} catch (e: RedirectResponseException) {
162162
if (e.response.status != HttpStatusCode.NotModified) throw e;
163-
Log.e("Bunny", "Server responded with status code 304 - no changes to file")
163+
Log.e("Opti", "Server responded with status code 304 - no changes to file")
164164
} catch (e: Throwable) {
165165
onActivityCreate { activity ->
166166
activity.runOnUiThread {
@@ -172,7 +172,7 @@ class Main : IXposedHookLoadPackage {
172172
}
173173
}
174174

175-
Log.e("Bunny", "Failed to download bundle", e)
175+
Log.e("Opti", "Failed to download bundle", e)
176176
}
177177
}
178178

@@ -224,4 +224,4 @@ class Main : IXposedHookLoadPackage {
224224
})
225225
}
226226
}
227-
}
227+
}

0 commit comments

Comments
 (0)