mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-09 00:23:20 +01:00
well
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import Orion
|
||||
import UIKit
|
||||
|
||||
class UIOpenURLContextHook: ClassHook<NSObject> {
|
||||
|
||||
static let targetName = "UIOpenURLContext"
|
||||
class UIOpenURLContextHook: ClassHook<UIOpenURLContext> {
|
||||
|
||||
func URL() -> URL {
|
||||
|
||||
let url = orig.URL()
|
||||
|
||||
if url.isOpenSpotifySafariExtension {
|
||||
return Foundation.URL(string: "https:/\(orig.URL().path)")!
|
||||
return Foundation.URL(string: "https:/\(url.path)")!
|
||||
}
|
||||
|
||||
return url
|
||||
|
||||
Reference in New Issue
Block a user