diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.pbxproj" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.pbxproj" new file mode 100644 index 00000000..9207da50 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.pbxproj" @@ -0,0 +1,1003 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXBuildFile section */ + 34ACF3912CD53234001AB3CD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ACF3902CD53234001AB3CD /* AppDelegate.swift */; }; + 34ACF3932CD53234001AB3CD /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ACF3922CD53234001AB3CD /* SceneDelegate.swift */; }; + 34ACF3962CD53234001AB3CD /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3942CD53234001AB3CD /* LaunchScreen.storyboard */; }; + 34ACF3992CD53234001AB3CD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3972CD53234001AB3CD /* Main.storyboard */; }; + 34ACF3A22CD53234001AB3CD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ACF3A12CD53234001AB3CD /* AppDelegate.swift */; }; + 34ACF3A52CD53234001AB3CD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3A32CD53234001AB3CD /* Main.storyboard */; }; + 34ACF3AD2CD53234001AB3CD /* B站空降助手 Extension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 34ACF3AC2CD53234001AB3CD /* B站空降助手 Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + 34ACF3B72CD53234001AB3CD /* B站空降助手 Extension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 34ACF3B62CD53234001AB3CD /* B站空降助手 Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + 34ACF3BD2CD53234001AB3CD /* Main.html in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3802CD53232001AB3CD /* Main.html */; }; + 34ACF3BE2CD53234001AB3CD /* Main.html in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3802CD53232001AB3CD /* Main.html */; }; + 34ACF3BF2CD53234001AB3CD /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3822CD53232001AB3CD /* Icon.png */; }; + 34ACF3C02CD53234001AB3CD /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3822CD53232001AB3CD /* Icon.png */; }; + 34ACF3C12CD53234001AB3CD /* Style.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3832CD53232001AB3CD /* Style.css */; }; + 34ACF3C22CD53234001AB3CD /* Style.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3832CD53232001AB3CD /* Style.css */; }; + 34ACF3C32CD53234001AB3CD /* Script.js in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3842CD53232001AB3CD /* Script.js */; }; + 34ACF3C42CD53234001AB3CD /* Script.js in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3842CD53232001AB3CD /* Script.js */; }; + 34ACF3C52CD53234001AB3CD /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ACF3852CD53232001AB3CD /* ViewController.swift */; }; + 34ACF3C62CD53234001AB3CD /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ACF3852CD53232001AB3CD /* ViewController.swift */; }; + 34ACF3C72CD53234001AB3CD /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3862CD53234001AB3CD /* Assets.xcassets */; }; + 34ACF3C82CD53234001AB3CD /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3862CD53234001AB3CD /* Assets.xcassets */; }; + 34ACF3C92CD53234001AB3CD /* SafariWebExtensionHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ACF3882CD53234001AB3CD /* SafariWebExtensionHandler.swift */; }; + 34ACF3CA2CD53234001AB3CD /* SafariWebExtensionHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ACF3882CD53234001AB3CD /* SafariWebExtensionHandler.swift */; }; + 34ACF3E92CD53234001AB3CD /* options in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DC2CD53234001AB3CD /* options */; }; + 34ACF3EA2CD53234001AB3CD /* res in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DD2CD53234001AB3CD /* res */; }; + 34ACF3EB2CD53234001AB3CD /* oss-attribution in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DE2CD53234001AB3CD /* oss-attribution */; }; + 34ACF3EC2CD53234001AB3CD /* content.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DF2CD53234001AB3CD /* content.css */; }; + 34ACF3ED2CD53234001AB3CD /* js in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E02CD53234001AB3CD /* js */; }; + 34ACF3EE2CD53234001AB3CD /* popup.html in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E12CD53234001AB3CD /* popup.html */; }; + 34ACF3EF2CD53234001AB3CD /* shared.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E22CD53234001AB3CD /* shared.css */; }; + 34ACF3F02CD53234001AB3CD /* permissions in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E32CD53234001AB3CD /* permissions */; }; + 34ACF3F12CD53234001AB3CD /* icons in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E42CD53234001AB3CD /* icons */; }; + 34ACF3F22CD53234001AB3CD /* manifest.json in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E52CD53234001AB3CD /* manifest.json */; }; + 34ACF3F32CD53234001AB3CD /* popup.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E62CD53234001AB3CD /* popup.css */; }; + 34ACF3F42CD53234001AB3CD /* _locales in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E72CD53234001AB3CD /* _locales */; }; + 34ACF3F52CD53234001AB3CD /* help in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E82CD53234001AB3CD /* help */; }; + 34ACF3F62CD53234001AB3CD /* options in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DC2CD53234001AB3CD /* options */; }; + 34ACF3F72CD53234001AB3CD /* res in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DD2CD53234001AB3CD /* res */; }; + 34ACF3F82CD53234001AB3CD /* oss-attribution in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DE2CD53234001AB3CD /* oss-attribution */; }; + 34ACF3F92CD53234001AB3CD /* content.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3DF2CD53234001AB3CD /* content.css */; }; + 34ACF3FA2CD53234001AB3CD /* js in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E02CD53234001AB3CD /* js */; }; + 34ACF3FB2CD53234001AB3CD /* popup.html in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E12CD53234001AB3CD /* popup.html */; }; + 34ACF3FC2CD53234001AB3CD /* shared.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E22CD53234001AB3CD /* shared.css */; }; + 34ACF3FD2CD53234001AB3CD /* permissions in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E32CD53234001AB3CD /* permissions */; }; + 34ACF3FE2CD53234001AB3CD /* icons in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E42CD53234001AB3CD /* icons */; }; + 34ACF3FF2CD53234001AB3CD /* manifest.json in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E52CD53234001AB3CD /* manifest.json */; }; + 34ACF4002CD53234001AB3CD /* popup.css in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E62CD53234001AB3CD /* popup.css */; }; + 34ACF4012CD53234001AB3CD /* _locales in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E72CD53234001AB3CD /* _locales */; }; + 34ACF4022CD53234001AB3CD /* help in Resources */ = {isa = PBXBuildFile; fileRef = 34ACF3E82CD53234001AB3CD /* help */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 34ACF3AE2CD53234001AB3CD /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 34ACF37A2CD53231001AB3CD /* Project object */; + proxyType = 1; + remoteGlobalIDString = 34ACF3AB2CD53234001AB3CD; + remoteInfo = "B站空降助手 Extension (iOS)"; + }; + 34ACF3B82CD53234001AB3CD /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 34ACF37A2CD53231001AB3CD /* Project object */; + proxyType = 1; + remoteGlobalIDString = 34ACF3B52CD53234001AB3CD; + remoteInfo = "B站空降助手 Extension (macOS)"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 34ACF3D02CD53234001AB3CD /* Embed Foundation Extensions */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 13; + files = ( + 34ACF3AD2CD53234001AB3CD /* B站空降助手 Extension.appex in Embed Foundation Extensions */, + ); + name = "Embed Foundation Extensions"; + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF3D72CD53234001AB3CD /* Embed Foundation Extensions */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 13; + files = ( + 34ACF3B72CD53234001AB3CD /* B站空降助手 Extension.appex in Embed Foundation Extensions */, + ); + name = "Embed Foundation Extensions"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 34ACF3812CD53232001AB3CD /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = Base; path = Base.lproj/Main.html; sourceTree = ""; }; + 34ACF3822CD53232001AB3CD /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = ""; }; + 34ACF3832CD53232001AB3CD /* Style.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; path = Style.css; sourceTree = ""; }; + 34ACF3842CD53232001AB3CD /* Script.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = Script.js; sourceTree = ""; }; + 34ACF3852CD53232001AB3CD /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 34ACF3862CD53234001AB3CD /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 34ACF3882CD53234001AB3CD /* SafariWebExtensionHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SafariWebExtensionHandler.swift; sourceTree = ""; }; + 34ACF38D2CD53234001AB3CD /* B站空降助手.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "B站空降助手.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 34ACF3902CD53234001AB3CD /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 34ACF3922CD53234001AB3CD /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + 34ACF3952CD53234001AB3CD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 34ACF3982CD53234001AB3CD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 34ACF39A2CD53234001AB3CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 34ACF39F2CD53234001AB3CD /* B站空降助手.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "B站空降助手.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 34ACF3A12CD53234001AB3CD /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 34ACF3A42CD53234001AB3CD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 34ACF3A62CD53234001AB3CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 34ACF3A72CD53234001AB3CD /* B站空降助手.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "B站空降助手.entitlements"; sourceTree = ""; }; + 34ACF3AC2CD53234001AB3CD /* B站空降助手 Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "B站空降助手 Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; + 34ACF3B12CD53234001AB3CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 34ACF3B62CD53234001AB3CD /* B站空降助手 Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "B站空降助手 Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; + 34ACF3BB2CD53234001AB3CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 34ACF3BC2CD53234001AB3CD /* B站空降助手.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "B站空降助手.entitlements"; sourceTree = ""; }; + 34ACF3DC2CD53234001AB3CD /* options */ = {isa = PBXFileReference; lastKnownFileType = folder; name = options; path = ../../ChromeExtension/options; sourceTree = ""; }; + 34ACF3DD2CD53234001AB3CD /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; name = res; path = ../../ChromeExtension/res; sourceTree = ""; }; + 34ACF3DE2CD53234001AB3CD /* oss-attribution */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "oss-attribution"; path = "../../ChromeExtension/oss-attribution"; sourceTree = ""; }; + 34ACF3DF2CD53234001AB3CD /* content.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; name = content.css; path = ../../ChromeExtension/content.css; sourceTree = ""; }; + 34ACF3E02CD53234001AB3CD /* js */ = {isa = PBXFileReference; lastKnownFileType = folder; name = js; path = ../../ChromeExtension/js; sourceTree = ""; }; + 34ACF3E12CD53234001AB3CD /* popup.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = popup.html; path = ../../ChromeExtension/popup.html; sourceTree = ""; }; + 34ACF3E22CD53234001AB3CD /* shared.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; name = shared.css; path = ../../ChromeExtension/shared.css; sourceTree = ""; }; + 34ACF3E32CD53234001AB3CD /* permissions */ = {isa = PBXFileReference; lastKnownFileType = folder; name = permissions; path = ../../ChromeExtension/permissions; sourceTree = ""; }; + 34ACF3E42CD53234001AB3CD /* icons */ = {isa = PBXFileReference; lastKnownFileType = folder; name = icons; path = ../../ChromeExtension/icons; sourceTree = ""; }; + 34ACF3E52CD53234001AB3CD /* manifest.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = manifest.json; path = ../../ChromeExtension/manifest.json; sourceTree = ""; }; + 34ACF3E62CD53234001AB3CD /* popup.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; name = popup.css; path = ../../ChromeExtension/popup.css; sourceTree = ""; }; + 34ACF3E72CD53234001AB3CD /* _locales */ = {isa = PBXFileReference; lastKnownFileType = folder; name = _locales; path = ../../ChromeExtension/_locales; sourceTree = ""; }; + 34ACF3E82CD53234001AB3CD /* help */ = {isa = PBXFileReference; lastKnownFileType = folder; name = help; path = ../../ChromeExtension/help; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 34ACF38A2CD53234001AB3CD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF39C2CD53234001AB3CD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF3A92CD53234001AB3CD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF3B32CD53234001AB3CD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 34ACF3792CD53231001AB3CD = { + isa = PBXGroup; + children = ( + 34ACF37E2CD53232001AB3CD /* Shared (App) */, + 34ACF3872CD53234001AB3CD /* Shared (Extension) */, + 34ACF38F2CD53234001AB3CD /* iOS (App) */, + 34ACF3A02CD53234001AB3CD /* macOS (App) */, + 34ACF3B02CD53234001AB3CD /* iOS (Extension) */, + 34ACF3BA2CD53234001AB3CD /* macOS (Extension) */, + 34ACF38E2CD53234001AB3CD /* Products */, + ); + sourceTree = ""; + }; + 34ACF37E2CD53232001AB3CD /* Shared (App) */ = { + isa = PBXGroup; + children = ( + 34ACF3852CD53232001AB3CD /* ViewController.swift */, + 34ACF3862CD53234001AB3CD /* Assets.xcassets */, + 34ACF37F2CD53232001AB3CD /* Resources */, + ); + path = "Shared (App)"; + sourceTree = ""; + }; + 34ACF37F2CD53232001AB3CD /* Resources */ = { + isa = PBXGroup; + children = ( + 34ACF3802CD53232001AB3CD /* Main.html */, + 34ACF3822CD53232001AB3CD /* Icon.png */, + 34ACF3832CD53232001AB3CD /* Style.css */, + 34ACF3842CD53232001AB3CD /* Script.js */, + ); + path = Resources; + sourceTree = ""; + }; + 34ACF3872CD53234001AB3CD /* Shared (Extension) */ = { + isa = PBXGroup; + children = ( + 34ACF3DB2CD53234001AB3CD /* Resources */, + 34ACF3882CD53234001AB3CD /* SafariWebExtensionHandler.swift */, + ); + path = "Shared (Extension)"; + sourceTree = ""; + }; + 34ACF38E2CD53234001AB3CD /* Products */ = { + isa = PBXGroup; + children = ( + 34ACF38D2CD53234001AB3CD /* B站空降助手.app */, + 34ACF39F2CD53234001AB3CD /* B站空降助手.app */, + 34ACF3AC2CD53234001AB3CD /* B站空降助手 Extension.appex */, + 34ACF3B62CD53234001AB3CD /* B站空降助手 Extension.appex */, + ); + name = Products; + sourceTree = ""; + }; + 34ACF38F2CD53234001AB3CD /* iOS (App) */ = { + isa = PBXGroup; + children = ( + 34ACF3902CD53234001AB3CD /* AppDelegate.swift */, + 34ACF3922CD53234001AB3CD /* SceneDelegate.swift */, + 34ACF3942CD53234001AB3CD /* LaunchScreen.storyboard */, + 34ACF3972CD53234001AB3CD /* Main.storyboard */, + 34ACF39A2CD53234001AB3CD /* Info.plist */, + ); + path = "iOS (App)"; + sourceTree = ""; + }; + 34ACF3A02CD53234001AB3CD /* macOS (App) */ = { + isa = PBXGroup; + children = ( + 34ACF3A12CD53234001AB3CD /* AppDelegate.swift */, + 34ACF3A32CD53234001AB3CD /* Main.storyboard */, + 34ACF3A62CD53234001AB3CD /* Info.plist */, + 34ACF3A72CD53234001AB3CD /* B站空降助手.entitlements */, + ); + path = "macOS (App)"; + sourceTree = ""; + }; + 34ACF3B02CD53234001AB3CD /* iOS (Extension) */ = { + isa = PBXGroup; + children = ( + 34ACF3B12CD53234001AB3CD /* Info.plist */, + ); + path = "iOS (Extension)"; + sourceTree = ""; + }; + 34ACF3BA2CD53234001AB3CD /* macOS (Extension) */ = { + isa = PBXGroup; + children = ( + 34ACF3BB2CD53234001AB3CD /* Info.plist */, + 34ACF3BC2CD53234001AB3CD /* B站空降助手.entitlements */, + ); + path = "macOS (Extension)"; + sourceTree = ""; + }; + 34ACF3DB2CD53234001AB3CD /* Resources */ = { + isa = PBXGroup; + children = ( + 34ACF3DC2CD53234001AB3CD /* options */, + 34ACF3DD2CD53234001AB3CD /* res */, + 34ACF3DE2CD53234001AB3CD /* oss-attribution */, + 34ACF3DF2CD53234001AB3CD /* content.css */, + 34ACF3E02CD53234001AB3CD /* js */, + 34ACF3E12CD53234001AB3CD /* popup.html */, + 34ACF3E22CD53234001AB3CD /* shared.css */, + 34ACF3E32CD53234001AB3CD /* permissions */, + 34ACF3E42CD53234001AB3CD /* icons */, + 34ACF3E52CD53234001AB3CD /* manifest.json */, + 34ACF3E62CD53234001AB3CD /* popup.css */, + 34ACF3E72CD53234001AB3CD /* _locales */, + 34ACF3E82CD53234001AB3CD /* help */, + ); + name = Resources; + path = "Shared (Extension)"; + sourceTree = SOURCE_ROOT; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 34ACF38C2CD53234001AB3CD /* B站空降助手 (iOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 34ACF3D12CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 (iOS)" */; + buildPhases = ( + 34ACF3892CD53234001AB3CD /* Sources */, + 34ACF38A2CD53234001AB3CD /* Frameworks */, + 34ACF38B2CD53234001AB3CD /* Resources */, + 34ACF3D02CD53234001AB3CD /* Embed Foundation Extensions */, + ); + buildRules = ( + ); + dependencies = ( + 34ACF3AF2CD53234001AB3CD /* PBXTargetDependency */, + ); + name = "B站空降助手 (iOS)"; + packageProductDependencies = ( + ); + productName = "B站空降助手 (iOS)"; + productReference = 34ACF38D2CD53234001AB3CD /* B站空降助手.app */; + productType = "com.apple.product-type.application"; + }; + 34ACF39E2CD53234001AB3CD /* B站空降助手 (macOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 34ACF3D82CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 (macOS)" */; + buildPhases = ( + 34ACF39B2CD53234001AB3CD /* Sources */, + 34ACF39C2CD53234001AB3CD /* Frameworks */, + 34ACF39D2CD53234001AB3CD /* Resources */, + 34ACF3D72CD53234001AB3CD /* Embed Foundation Extensions */, + ); + buildRules = ( + ); + dependencies = ( + 34ACF3B92CD53234001AB3CD /* PBXTargetDependency */, + ); + name = "B站空降助手 (macOS)"; + packageProductDependencies = ( + ); + productName = "B站空降助手 (macOS)"; + productReference = 34ACF39F2CD53234001AB3CD /* B站空降助手.app */; + productType = "com.apple.product-type.application"; + }; + 34ACF3AB2CD53234001AB3CD /* B站空降助手 Extension (iOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 34ACF3CD2CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 Extension (iOS)" */; + buildPhases = ( + 34ACF3A82CD53234001AB3CD /* Sources */, + 34ACF3A92CD53234001AB3CD /* Frameworks */, + 34ACF3AA2CD53234001AB3CD /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "B站空降助手 Extension (iOS)"; + packageProductDependencies = ( + ); + productName = "B站空降助手 Extension (iOS)"; + productReference = 34ACF3AC2CD53234001AB3CD /* B站空降助手 Extension.appex */; + productType = "com.apple.product-type.app-extension"; + }; + 34ACF3B52CD53234001AB3CD /* B站空降助手 Extension (macOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = 34ACF3D42CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 Extension (macOS)" */; + buildPhases = ( + 34ACF3B22CD53234001AB3CD /* Sources */, + 34ACF3B32CD53234001AB3CD /* Frameworks */, + 34ACF3B42CD53234001AB3CD /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "B站空降助手 Extension (macOS)"; + packageProductDependencies = ( + ); + productName = "B站空降助手 Extension (macOS)"; + productReference = 34ACF3B62CD53234001AB3CD /* B站空降助手 Extension.appex */; + productType = "com.apple.product-type.app-extension"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 34ACF37A2CD53231001AB3CD /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1610; + LastUpgradeCheck = 1610; + TargetAttributes = { + 34ACF38C2CD53234001AB3CD = { + CreatedOnToolsVersion = 16.1; + }; + 34ACF39E2CD53234001AB3CD = { + CreatedOnToolsVersion = 16.1; + }; + 34ACF3AB2CD53234001AB3CD = { + CreatedOnToolsVersion = 16.1; + }; + 34ACF3B52CD53234001AB3CD = { + CreatedOnToolsVersion = 16.1; + }; + }; + }; + buildConfigurationList = 34ACF37D2CD53231001AB3CD /* Build configuration list for PBXProject "B站空降助手" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 34ACF3792CD53231001AB3CD; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = 34ACF38E2CD53234001AB3CD /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 34ACF38C2CD53234001AB3CD /* B站空降助手 (iOS) */, + 34ACF39E2CD53234001AB3CD /* B站空降助手 (macOS) */, + 34ACF3AB2CD53234001AB3CD /* B站空降助手 Extension (iOS) */, + 34ACF3B52CD53234001AB3CD /* B站空降助手 Extension (macOS) */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 34ACF38B2CD53234001AB3CD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF3BF2CD53234001AB3CD /* Icon.png in Resources */, + 34ACF3962CD53234001AB3CD /* LaunchScreen.storyboard in Resources */, + 34ACF3BD2CD53234001AB3CD /* Main.html in Resources */, + 34ACF3C32CD53234001AB3CD /* Script.js in Resources */, + 34ACF3C72CD53234001AB3CD /* Assets.xcassets in Resources */, + 34ACF3992CD53234001AB3CD /* Main.storyboard in Resources */, + 34ACF3C12CD53234001AB3CD /* Style.css in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF39D2CD53234001AB3CD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF3C02CD53234001AB3CD /* Icon.png in Resources */, + 34ACF3C22CD53234001AB3CD /* Style.css in Resources */, + 34ACF3A52CD53234001AB3CD /* Main.storyboard in Resources */, + 34ACF3C42CD53234001AB3CD /* Script.js in Resources */, + 34ACF3C82CD53234001AB3CD /* Assets.xcassets in Resources */, + 34ACF3BE2CD53234001AB3CD /* Main.html in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF3AA2CD53234001AB3CD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF4002CD53234001AB3CD /* popup.css in Resources */, + 34ACF4022CD53234001AB3CD /* help in Resources */, + 34ACF3FA2CD53234001AB3CD /* js in Resources */, + 34ACF3FB2CD53234001AB3CD /* popup.html in Resources */, + 34ACF3FF2CD53234001AB3CD /* manifest.json in Resources */, + 34ACF3F82CD53234001AB3CD /* oss-attribution in Resources */, + 34ACF3FE2CD53234001AB3CD /* icons in Resources */, + 34ACF4012CD53234001AB3CD /* _locales in Resources */, + 34ACF3F92CD53234001AB3CD /* content.css in Resources */, + 34ACF3F62CD53234001AB3CD /* options in Resources */, + 34ACF3FC2CD53234001AB3CD /* shared.css in Resources */, + 34ACF3F72CD53234001AB3CD /* res in Resources */, + 34ACF3FD2CD53234001AB3CD /* permissions in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF3B42CD53234001AB3CD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF3F32CD53234001AB3CD /* popup.css in Resources */, + 34ACF3F52CD53234001AB3CD /* help in Resources */, + 34ACF3ED2CD53234001AB3CD /* js in Resources */, + 34ACF3EE2CD53234001AB3CD /* popup.html in Resources */, + 34ACF3F22CD53234001AB3CD /* manifest.json in Resources */, + 34ACF3EB2CD53234001AB3CD /* oss-attribution in Resources */, + 34ACF3F12CD53234001AB3CD /* icons in Resources */, + 34ACF3F42CD53234001AB3CD /* _locales in Resources */, + 34ACF3EC2CD53234001AB3CD /* content.css in Resources */, + 34ACF3E92CD53234001AB3CD /* options in Resources */, + 34ACF3EF2CD53234001AB3CD /* shared.css in Resources */, + 34ACF3EA2CD53234001AB3CD /* res in Resources */, + 34ACF3F02CD53234001AB3CD /* permissions in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 34ACF3892CD53234001AB3CD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF3C52CD53234001AB3CD /* ViewController.swift in Sources */, + 34ACF3912CD53234001AB3CD /* AppDelegate.swift in Sources */, + 34ACF3932CD53234001AB3CD /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF39B2CD53234001AB3CD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF3C62CD53234001AB3CD /* ViewController.swift in Sources */, + 34ACF3A22CD53234001AB3CD /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF3A82CD53234001AB3CD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF3C92CD53234001AB3CD /* SafariWebExtensionHandler.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 34ACF3B22CD53234001AB3CD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34ACF3CA2CD53234001AB3CD /* SafariWebExtensionHandler.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 34ACF3AF2CD53234001AB3CD /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 34ACF3AB2CD53234001AB3CD /* B站空降助手 Extension (iOS) */; + targetProxy = 34ACF3AE2CD53234001AB3CD /* PBXContainerItemProxy */; + }; + 34ACF3B92CD53234001AB3CD /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 34ACF3B52CD53234001AB3CD /* B站空降助手 Extension (macOS) */; + targetProxy = 34ACF3B82CD53234001AB3CD /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 34ACF3802CD53232001AB3CD /* Main.html */ = { + isa = PBXVariantGroup; + children = ( + 34ACF3812CD53232001AB3CD /* Base */, + ); + name = Main.html; + sourceTree = ""; + }; + 34ACF3942CD53234001AB3CD /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 34ACF3952CD53234001AB3CD /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; + 34ACF3972CD53234001AB3CD /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 34ACF3982CD53234001AB3CD /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 34ACF3A32CD53234001AB3CD /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 34ACF3A42CD53234001AB3CD /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 34ACF3CB2CD53234001AB3CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 34ACF3CC2CD53234001AB3CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + 34ACF3CE2CD53234001AB3CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手 Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----.Extension"; + PRODUCT_NAME = "B站空降助手 Extension"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 34ACF3CF2CD53234001AB3CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手 Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----.Extension"; + PRODUCT_NAME = "B站空降助手 Extension"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 34ACF3D22CD53234001AB3CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手"; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----"; + PRODUCT_NAME = "B站空降助手"; + SDKROOT = iphoneos; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 34ACF3D32CD53234001AB3CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手"; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----"; + PRODUCT_NAME = "B站空降助手"; + SDKROOT = iphoneos; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 34ACF3D52CD53234001AB3CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/B站空降助手.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手 Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@executable_path/../../../../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----.Extension"; + PRODUCT_NAME = "B站空降助手 Extension"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 34ACF3D62CD53234001AB3CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/B站空降助手.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手 Extension"; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@executable_path/../../../../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----.Extension"; + PRODUCT_NAME = "B站空降助手 Extension"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + 34ACF3D92CD53234001AB3CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "macOS (App)/B站空降助手.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手"; + INFOPLIST_KEY_NSMainStoryboardFile = Main; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----"; + PRODUCT_NAME = "B站空降助手"; + SDKROOT = macosx; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 34ACF3DA2CD53234001AB3CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "macOS (App)/B站空降助手.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "B站空降助手"; + INFOPLIST_KEY_NSMainStoryboardFile = Main; + INFOPLIST_KEY_NSPrincipalClass = NSApplication; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MARKETING_VERSION = 1.0; + OTHER_LDFLAGS = ( + "-framework", + SafariServices, + "-framework", + WebKit, + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.yourCompany.B-----"; + PRODUCT_NAME = "B站空降助手"; + SDKROOT = macosx; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 34ACF37D2CD53231001AB3CD /* Build configuration list for PBXProject "B站空降助手" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 34ACF3CB2CD53234001AB3CD /* Debug */, + 34ACF3CC2CD53234001AB3CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 34ACF3CD2CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 Extension (iOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 34ACF3CE2CD53234001AB3CD /* Debug */, + 34ACF3CF2CD53234001AB3CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 34ACF3D12CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 (iOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 34ACF3D22CD53234001AB3CD /* Debug */, + 34ACF3D32CD53234001AB3CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 34ACF3D42CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 Extension (macOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 34ACF3D52CD53234001AB3CD /* Debug */, + 34ACF3D62CD53234001AB3CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 34ACF3D82CD53234001AB3CD /* Build configuration list for PBXNativeTarget "B站空降助手 (macOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 34ACF3D92CD53234001AB3CD /* Debug */, + 34ACF3DA2CD53234001AB3CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 34ACF37A2CD53231001AB3CD /* Project object */; +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.xcworkspace/contents.xcworkspacedata" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.xcworkspace/contents.xcworkspacedata" new file mode 100644 index 00000000..919434a6 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.xcworkspace/contents.xcworkspacedata" @@ -0,0 +1,7 @@ + + + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.xcworkspace/xcuserdata/mao.xcuserdatad/UserInterfaceState.xcuserstate" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.xcworkspace/xcuserdata/mao.xcuserdatad/UserInterfaceState.xcuserstate" new file mode 100644 index 00000000..818302b5 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/project.xcworkspace/xcuserdata/mao.xcuserdatad/UserInterfaceState.xcuserstate" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/xcuserdata/mao.xcuserdatad/xcschemes/xcschememanagement.plist" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/xcuserdata/mao.xcuserdatad/xcschemes/xcschememanagement.plist" new file mode 100644 index 00000000..08727276 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.xcodeproj/xcuserdata/mao.xcuserdatad/xcschemes/xcschememanagement.plist" @@ -0,0 +1,19 @@ + + + + + SchemeUserState + + B站空降助手 (iOS).xcscheme_^#shared#^_ + + orderHint + 0 + + B站空降助手 (macOS).xcscheme_^#shared#^_ + + orderHint + 1 + + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json" new file mode 100644 index 00000000..eb878970 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json" @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json" new file mode 100644 index 00000000..f501d5af --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json" @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "size" : "1024x1024", + "idiom" : "universal", + "filename" : "universal-icon-1024@1x.png", + "platform" : "ios" + }, + { + "size" : "1024x1024", + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "filename" : "universal-icon-1024@1x.png", + "platform" : "ios" + }, + { + "size" : "1024x1024", + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "filename" : "universal-icon-1024@1x.png", + "platform" : "ios" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "mac-icon-16@1x.png", + "scale" : "1x" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "mac-icon-16@2x.png", + "scale" : "2x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "mac-icon-32@1x.png", + "scale" : "1x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "mac-icon-32@2x.png", + "scale" : "2x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "mac-icon-128@1x.png", + "scale" : "1x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "mac-icon-128@2x.png", + "scale" : "2x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "mac-icon-256@1x.png", + "scale" : "1x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "mac-icon-256@2x.png", + "scale" : "2x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "mac-icon-512@1x.png", + "scale" : "1x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "mac-icon-512@2x.png", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@1x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@1x.png" new file mode 100644 index 00000000..fef8d0d7 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@1x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@2x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@2x.png" new file mode 100644 index 00000000..5b7a662f Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@2x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@1x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@1x.png" new file mode 100644 index 00000000..7e2ff801 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@1x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@2x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@2x.png" new file mode 100644 index 00000000..b51ccf4b Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@2x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@1x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@1x.png" new file mode 100644 index 00000000..5b7a662f Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@1x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@2x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@2x.png" new file mode 100644 index 00000000..a6122f85 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@2x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@1x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@1x.png" new file mode 100644 index 00000000..b51ccf4b Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@1x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@2x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@2x.png" new file mode 100644 index 00000000..c9d091e4 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@2x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@1x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@1x.png" new file mode 100644 index 00000000..a6122f85 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@1x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@2x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@2x.png" new file mode 100644 index 00000000..9e4bfeea Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@2x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/universal-icon-1024@1x.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/universal-icon-1024@1x.png" new file mode 100644 index 00000000..0259577c Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/AppIcon.appiconset/universal-icon-1024@1x.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/Contents.json" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/Contents.json" new file mode 100644 index 00000000..73c00596 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/Contents.json" @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json" new file mode 100644 index 00000000..9ae226fd --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json" @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "IconSponsorBlocker256px.png" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/LargeIcon.imageset/IconSponsorBlocker256px.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/LargeIcon.imageset/IconSponsorBlocker256px.png" new file mode 100644 index 00000000..a30fa0b0 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Assets.xcassets/LargeIcon.imageset/IconSponsorBlocker256px.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Base.lproj/Main.html" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Base.lproj/Main.html" new file mode 100644 index 00000000..252112ff --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Base.lproj/Main.html" @@ -0,0 +1,20 @@ + + + + + + + + + + + + + B站空降助手 Icon +

You can turn on B站空降助手’s Safari extension in Settings.

+

You can turn on B站空降助手’s extension in Safari Extensions preferences.

+

B站空降助手’s extension is currently on. You can turn it off in Safari Extensions preferences.

+

B站空降助手’s extension is currently off. You can turn it on in Safari Extensions preferences.

+ + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Icon.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Icon.png" new file mode 100644 index 00000000..2368e9e2 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Icon.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Script.js" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Script.js" new file mode 100644 index 00000000..59c8c3a0 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Script.js" @@ -0,0 +1,24 @@ +function show(platform, enabled, useSettingsInsteadOfPreferences) { + document.body.classList.add(`platform-${platform}`); + + if (useSettingsInsteadOfPreferences) { + document.getElementsByClassName('platform-mac state-on')[0].innerText = "B站空降助手’s extension is currently on. You can turn it off in the Extensions section of Safari Settings."; + document.getElementsByClassName('platform-mac state-off')[0].innerText = "B站空降助手’s extension is currently off. You can turn it on in the Extensions section of Safari Settings."; + document.getElementsByClassName('platform-mac state-unknown')[0].innerText = "You can turn on B站空降助手’s extension in the Extensions section of Safari Settings."; + document.getElementsByClassName('platform-mac open-preferences')[0].innerText = "Quit and Open Safari Settings…"; + } + + if (typeof enabled === "boolean") { + document.body.classList.toggle(`state-on`, enabled); + document.body.classList.toggle(`state-off`, !enabled); + } else { + document.body.classList.remove(`state-on`); + document.body.classList.remove(`state-off`); + } +} + +function openPreferences() { + webkit.messageHandlers.controller.postMessage("open-preferences"); +} + +document.querySelector("button.open-preferences").addEventListener("click", openPreferences); diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Style.css" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Style.css" new file mode 100644 index 00000000..b6d06083 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/Style.css" @@ -0,0 +1,61 @@ +* { + -webkit-user-select: none; + -webkit-user-drag: none; + cursor: default; +} + +:root { + color-scheme: light dark; + + --spacing: 20px; +} + +html { + height: 100%; +} + +body { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + + gap: var(--spacing); + margin: 0 calc(var(--spacing) * 2); + height: 100%; + + font: -apple-system-short-body; + text-align: center; +} + +body:not(.platform-mac, .platform-ios) :is(.platform-mac, .platform-ios) { + display: none; +} + +body.platform-ios .platform-mac { + display: none; +} + +body.platform-mac .platform-ios { + display: none; +} + +body.platform-ios .platform-mac { + display: none; +} + +body:not(.state-on, .state-off) :is(.state-on, .state-off) { + display: none; +} + +body.state-on :is(.state-off, .state-unknown) { + display: none; +} + +body.state-off :is(.state-on, .state-unknown) { + display: none; +} + +button { + font-size: 1em; +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/access.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/access.png" new file mode 100644 index 00000000..d7601a45 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/access.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/build.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/build.png" new file mode 100644 index 00000000..4ee26860 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/build.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/enable.png" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/enable.png" new file mode 100644 index 00000000..d1c62437 Binary files /dev/null and "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/Resources/enable.png" differ diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/ViewController.swift" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/ViewController.swift" new file mode 100644 index 00000000..3b48628a --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (App)/ViewController.swift" @@ -0,0 +1,81 @@ +// +// ViewController.swift +// Shared (App) +// +// Created by Tianle Mao on 2024-11-01. +// + +import WebKit + +#if os(iOS) +import UIKit +typealias PlatformViewController = UIViewController +#elseif os(macOS) +import Cocoa +import SafariServices +typealias PlatformViewController = NSViewController +#endif + +let extensionBundleIdentifier = "com.yourCompany.B-----.Extension" + +class ViewController: PlatformViewController, WKNavigationDelegate, WKScriptMessageHandler { + + @IBOutlet var webView: WKWebView! + + override func viewDidLoad() { + super.viewDidLoad() + + self.webView.navigationDelegate = self + +#if os(iOS) + self.webView.scrollView.isScrollEnabled = false +#endif + + self.webView.configuration.userContentController.add(self, name: "controller") + + self.webView.loadFileURL(Bundle.main.url(forResource: "Main", withExtension: "html")!, allowingReadAccessTo: Bundle.main.resourceURL!) + } + + func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) { +#if os(iOS) + webView.evaluateJavaScript("show('ios')") +#elseif os(macOS) + webView.evaluateJavaScript("show('mac')") + + SFSafariExtensionManager.getStateOfSafariExtension(withIdentifier: extensionBundleIdentifier) { (state, error) in + guard let state = state, error == nil else { + // Insert code to inform the user that something went wrong. + return + } + + DispatchQueue.main.async { + if #available(macOS 13, *) { + webView.evaluateJavaScript("show('mac', \(state.isEnabled), true)") + } else { + webView.evaluateJavaScript("show('mac', \(state.isEnabled), false)") + } + } + } +#endif + } + + func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) { +#if os(macOS) + if (message.body as! String != "open-preferences") { + return + } + + SFSafariApplication.showPreferencesForExtension(withIdentifier: extensionBundleIdentifier) { error in + guard error == nil else { + // Insert code to inform the user that something went wrong. + return + } + + DispatchQueue.main.async { + NSApp.terminate(self) + } + } +#endif + } + +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (Extension)/SafariWebExtensionHandler.swift" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (Extension)/SafariWebExtensionHandler.swift" new file mode 100644 index 00000000..95b3a1ae --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/Shared (Extension)/SafariWebExtensionHandler.swift" @@ -0,0 +1,42 @@ +// +// SafariWebExtensionHandler.swift +// Shared (Extension) +// +// Created by Tianle Mao on 2024-11-01. +// + +import SafariServices +import os.log + +class SafariWebExtensionHandler: NSObject, NSExtensionRequestHandling { + + func beginRequest(with context: NSExtensionContext) { + let request = context.inputItems.first as? NSExtensionItem + + let profile: UUID? + if #available(iOS 17.0, macOS 14.0, *) { + profile = request?.userInfo?[SFExtensionProfileKey] as? UUID + } else { + profile = request?.userInfo?["profile"] as? UUID + } + + let message: Any? + if #available(iOS 15.0, macOS 11.0, *) { + message = request?.userInfo?[SFExtensionMessageKey] + } else { + message = request?.userInfo?["message"] + } + + os_log(.default, "Received message from browser.runtime.sendNativeMessage: %@ (profile: %@)", String(describing: message), profile?.uuidString ?? "none") + + let response = NSExtensionItem() + if #available(iOS 15.0, macOS 11.0, *) { + response.userInfo = [ SFExtensionMessageKey: [ "echo": message ] ] + } else { + response.userInfo = [ "message": [ "echo": message ] ] + } + + context.completeRequest(returningItems: [ response ], completionHandler: nil) + } + +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/AppDelegate.swift" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/AppDelegate.swift" new file mode 100644 index 00000000..7dc62ae6 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/AppDelegate.swift" @@ -0,0 +1,24 @@ +// +// AppDelegate.swift +// iOS (App) +// +// Created by Tianle Mao on 2024-11-01. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Base.lproj/LaunchScreen.storyboard" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Base.lproj/LaunchScreen.storyboard" new file mode 100644 index 00000000..620a70cb --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Base.lproj/LaunchScreen.storyboard" @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Base.lproj/Main.storyboard" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Base.lproj/Main.storyboard" new file mode 100644 index 00000000..618dfce1 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Base.lproj/Main.storyboard" @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Info.plist" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Info.plist" new file mode 100644 index 00000000..d68aafb6 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/Info.plist" @@ -0,0 +1,27 @@ + + + + + SFSafariWebExtensionConverterVersion + 16.1 + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/SceneDelegate.swift" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/SceneDelegate.swift" new file mode 100644 index 00000000..be9df026 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (App)/SceneDelegate.swift" @@ -0,0 +1,18 @@ +// +// SceneDelegate.swift +// iOS (App) +// +// Created by Tianle Mao on 2024-11-01. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + guard let _ = (scene as? UIWindowScene) else { return } + } + +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (Extension)/Info.plist" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (Extension)/Info.plist" new file mode 100644 index 00000000..9ee504dc --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/iOS (Extension)/Info.plist" @@ -0,0 +1,13 @@ + + + + + NSExtension + + NSExtensionPointIdentifier + com.apple.Safari.web-extension + NSExtensionPrincipalClass + $(PRODUCT_MODULE_NAME).SafariWebExtensionHandler + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/AppDelegate.swift" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/AppDelegate.swift" new file mode 100644 index 00000000..03e16445 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/AppDelegate.swift" @@ -0,0 +1,21 @@ +// +// AppDelegate.swift +// macOS (App) +// +// Created by Tianle Mao on 2024-11-01. +// + +import Cocoa + +@main +class AppDelegate: NSObject, NSApplicationDelegate { + + func applicationDidFinishLaunching(_ notification: Notification) { + // Override point for customization after application launch. + } + + func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { + return true + } + +} diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/Base.lproj/Main.storyboard" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/Base.lproj/Main.storyboard" new file mode 100644 index 00000000..f32ce765 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/Base.lproj/Main.storyboard" @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.entitlements" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.entitlements" new file mode 100644 index 00000000..625af03d --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.entitlements" @@ -0,0 +1,12 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + com.apple.security.network.client + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/Info.plist" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/Info.plist" new file mode 100644 index 00000000..96010518 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (App)/Info.plist" @@ -0,0 +1,8 @@ + + + + + SFSafariWebExtensionConverterVersion + 16.1 + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (Extension)/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.entitlements" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (Extension)/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.entitlements" new file mode 100644 index 00000000..f2ef3ae0 --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (Extension)/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213.entitlements" @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git "a/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (Extension)/Info.plist" "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (Extension)/Info.plist" new file mode 100644 index 00000000..9ee504dc --- /dev/null +++ "b/safari/B\347\253\231\347\251\272\351\231\215\345\212\251\346\211\213/macOS (Extension)/Info.plist" @@ -0,0 +1,13 @@ + + + + + NSExtension + + NSExtensionPointIdentifier + com.apple.Safari.web-extension + NSExtensionPrincipalClass + $(PRODUCT_MODULE_NAME).SafariWebExtensionHandler + + +