diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..304dac0 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 546800d..5da9bd7 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,76 @@ Currently, this package is published but is still under review, so using Chrome 8. Select the entire *FOLDER*, and then click "Select Folder" ![image](https://user-images.githubusercontent.com/46472696/169659974-663f1ce8-2da7-47c0-88a0-b2e3c8d1d0c6.png) 9. DONE!! Now any webpage should look like this: ![image](https://user-images.githubusercontent.com/46472696/169660006-c683e1f5-cb2c-4571-b564-aed98eb4b838.png) + + + +## Adding support for safari + + ![image](/safari/img/safarexample.png) + + + +## Compile the extension yourself + ## Compiling extension for safari +Having xcode installed is required for this. + +### Steps +1. Change the manifest so it can compile in safari + +```bash + +{ + "manifest_version": 2, + "name": "Bionic Enhance Reader", + "version": "0.0.1", + "description": "Assist your reading with Bionic Enhance Reader", + "icons": { + "16": "img/icon16.png", + "48": "img/icon48.png", + "128":"img/icon128.png" + }, + "content_scripts": [ + { + "matches": ["https://*/*", "http://*/*"], + "js": ["js/content.js"] + } + ] +} + +``` + + +2. Run the following command in your terminal: + +```bash + +sudo xcode-select -s /Applications/Xcode.app +xcrun /Applications/Xcode.app/Contents/Developer/usr/bin/safari-web-extension-converter +/path to the extension/Bionic-Enhance-Reader-main + +``` + + +3. Compile the xcode project +4. go to safari preference and in advanced settings click the "show develop menu in bar" checkbox. + ![image](/safari/img/devsettings.png) + +5. Now you should see the develop menu in the safari toolbar. Go and check the "Allow Unsigned Extensions" option + ![image](/safari/img/unsignedAllow.png) + +6. Check in extensions tab in preference to see that the instalation was succesfull. + ![image](/safari/img/installationsuccesfull.png) + + + + +## Add support for Safari Ipad / Iphone. + +1. Connect your device via to the MAC via USB and select the target option to your device + ![image](/safari/img/BuildSetting.png) +2. Now go to the Signing and capabilities Tab and add your developer account. (In this way you don't need to pay for an apple developer account) +![image](/safari/img/TeamSigning.png) +3. Build the project for your device. +4. Go to your device VPN Settings and allow the extension +5. Then go to safari extensions and Enable the extension. +6. Enjoy! \ No newline at end of file diff --git a/Screen Shot 2022-05-22 at 6.28.37 PM.png b/Screen Shot 2022-05-22 at 6.28.37 PM.png new file mode 100644 index 0000000..63e553e Binary files /dev/null and b/Screen Shot 2022-05-22 at 6.28.37 PM.png differ diff --git a/manifest.json b/manifest.json index 936f495..73f771d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "manifest_version": 3, + "manifest_version": 2, "name": "Bionic Enhance Reader", "version": "0.0.1", "description": "Assist your reading with Bionic Enhance Reader", diff --git a/safari/.DS_Store b/safari/.DS_Store new file mode 100644 index 0000000..958611e Binary files /dev/null and b/safari/.DS_Store differ diff --git a/safari/Bionic Enhance Reader/.DS_Store b/safari/Bionic Enhance Reader/.DS_Store new file mode 100644 index 0000000..9e9c3d0 Binary files /dev/null and b/safari/Bionic Enhance Reader/.DS_Store differ diff --git a/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.pbxproj b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.pbxproj new file mode 100644 index 0000000..739afc0 --- /dev/null +++ b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.pbxproj @@ -0,0 +1,953 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + CE386D3A283ADC9500A09CCC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE386D39283ADC9500A09CCC /* AppDelegate.swift */; }; + CE386D3C283ADC9500A09CCC /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE386D3B283ADC9500A09CCC /* SceneDelegate.swift */; }; + CE386D3F283ADC9500A09CCC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CE386D3D283ADC9500A09CCC /* LaunchScreen.storyboard */; }; + CE386D42283ADC9500A09CCC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CE386D40283ADC9500A09CCC /* Main.storyboard */; }; + CE386D4B283ADC9500A09CCC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE386D4A283ADC9500A09CCC /* AppDelegate.swift */; }; + CE386D4E283ADC9500A09CCC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CE386D4C283ADC9500A09CCC /* Main.storyboard */; }; + CE386D56283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = CE386D55283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + CE386D60283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = CE386D5F283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; + CE386D66283ADC9500A09CCC /* Main.html in Resources */ = {isa = PBXBuildFile; fileRef = CE386D29283ADC9400A09CCC /* Main.html */; }; + CE386D67283ADC9500A09CCC /* Main.html in Resources */ = {isa = PBXBuildFile; fileRef = CE386D29283ADC9400A09CCC /* Main.html */; }; + CE386D68283ADC9500A09CCC /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2B283ADC9400A09CCC /* Icon.png */; }; + CE386D69283ADC9500A09CCC /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2B283ADC9400A09CCC /* Icon.png */; }; + CE386D6A283ADC9500A09CCC /* Style.css in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2C283ADC9400A09CCC /* Style.css */; }; + CE386D6B283ADC9500A09CCC /* Style.css in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2C283ADC9400A09CCC /* Style.css */; }; + CE386D6C283ADC9500A09CCC /* Script.js in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2D283ADC9400A09CCC /* Script.js */; }; + CE386D6D283ADC9500A09CCC /* Script.js in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2D283ADC9400A09CCC /* Script.js */; }; + CE386D6E283ADC9500A09CCC /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE386D2E283ADC9400A09CCC /* ViewController.swift */; }; + CE386D6F283ADC9500A09CCC /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE386D2E283ADC9400A09CCC /* ViewController.swift */; }; + CE386D70283ADC9500A09CCC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2F283ADC9500A09CCC /* Assets.xcassets */; }; + CE386D71283ADC9500A09CCC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CE386D2F283ADC9500A09CCC /* Assets.xcassets */; }; + CE386D72283ADC9500A09CCC /* SafariWebExtensionHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE386D31283ADC9500A09CCC /* SafariWebExtensionHandler.swift */; }; + CE386D73283ADC9500A09CCC /* SafariWebExtensionHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE386D31283ADC9500A09CCC /* SafariWebExtensionHandler.swift */; }; + CE386D8A283ADC9500A09CCC /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = CE386D85283ADC9500A09CCC /* LICENSE */; }; + CE386D8B283ADC9500A09CCC /* js in Resources */ = {isa = PBXBuildFile; fileRef = CE386D86283ADC9500A09CCC /* js */; }; + CE386D8C283ADC9500A09CCC /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CE386D87283ADC9500A09CCC /* README.md */; }; + CE386D8D283ADC9500A09CCC /* img in Resources */ = {isa = PBXBuildFile; fileRef = CE386D88283ADC9500A09CCC /* img */; }; + CE386D8E283ADC9500A09CCC /* manifest.json in Resources */ = {isa = PBXBuildFile; fileRef = CE386D89283ADC9500A09CCC /* manifest.json */; }; + CE386D8F283ADC9500A09CCC /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = CE386D85283ADC9500A09CCC /* LICENSE */; }; + CE386D90283ADC9500A09CCC /* js in Resources */ = {isa = PBXBuildFile; fileRef = CE386D86283ADC9500A09CCC /* js */; }; + CE386D91283ADC9500A09CCC /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = CE386D87283ADC9500A09CCC /* README.md */; }; + CE386D92283ADC9500A09CCC /* img in Resources */ = {isa = PBXBuildFile; fileRef = CE386D88283ADC9500A09CCC /* img */; }; + CE386D93283ADC9500A09CCC /* manifest.json in Resources */ = {isa = PBXBuildFile; fileRef = CE386D89283ADC9500A09CCC /* manifest.json */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + CE386D57283ADC9500A09CCC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = CE386D23283ADC9400A09CCC /* Project object */; + proxyType = 1; + remoteGlobalIDString = CE386D54283ADC9500A09CCC; + remoteInfo = "Bionic Enhance Reader Extension (iOS)"; + }; + CE386D61283ADC9500A09CCC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = CE386D23283ADC9400A09CCC /* Project object */; + proxyType = 1; + remoteGlobalIDString = CE386D5E283ADC9500A09CCC; + remoteInfo = "Bionic Enhance Reader Extension (macOS)"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + CE386D79283ADC9500A09CCC /* Embed App Extensions */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 13; + files = ( + CE386D56283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex in Embed App Extensions */, + ); + name = "Embed App Extensions"; + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D80283ADC9500A09CCC /* Embed App Extensions */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 13; + files = ( + CE386D60283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex in Embed App Extensions */, + ); + name = "Embed App Extensions"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + CE386D2A283ADC9400A09CCC /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = Base; path = ../Base.lproj/Main.html; sourceTree = ""; }; + CE386D2B283ADC9400A09CCC /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = ""; }; + CE386D2C283ADC9400A09CCC /* Style.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; path = Style.css; sourceTree = ""; }; + CE386D2D283ADC9400A09CCC /* Script.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = Script.js; sourceTree = ""; }; + CE386D2E283ADC9400A09CCC /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + CE386D2F283ADC9500A09CCC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + CE386D31283ADC9500A09CCC /* SafariWebExtensionHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SafariWebExtensionHandler.swift; sourceTree = ""; }; + CE386D36283ADC9500A09CCC /* Bionic Enhance Reader.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Bionic Enhance Reader.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + CE386D39283ADC9500A09CCC /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + CE386D3B283ADC9500A09CCC /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + CE386D3E283ADC9500A09CCC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + CE386D41283ADC9500A09CCC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + CE386D43283ADC9500A09CCC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + CE386D48283ADC9500A09CCC /* Bionic Enhance Reader.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Bionic Enhance Reader.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + CE386D4A283ADC9500A09CCC /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + CE386D4D283ADC9500A09CCC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + CE386D4F283ADC9500A09CCC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + CE386D50283ADC9500A09CCC /* Bionic Enhance Reader.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Bionic Enhance Reader.entitlements"; sourceTree = ""; }; + CE386D55283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Bionic Enhance Reader Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; + CE386D5A283ADC9500A09CCC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + CE386D5F283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Bionic Enhance Reader Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; + CE386D64283ADC9500A09CCC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + CE386D65283ADC9500A09CCC /* Bionic Enhance Reader.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Bionic Enhance Reader.entitlements"; sourceTree = ""; }; + CE386D85283ADC9500A09CCC /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; name = LICENSE; path = "../../Desktop/Bionic-Enhance-Reader-main/LICENSE"; sourceTree = ""; }; + CE386D86283ADC9500A09CCC /* js */ = {isa = PBXFileReference; lastKnownFileType = folder; name = js; path = "../../Desktop/Bionic-Enhance-Reader-main/js"; sourceTree = ""; }; + CE386D87283ADC9500A09CCC /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = "../../Desktop/Bionic-Enhance-Reader-main/README.md"; sourceTree = ""; }; + CE386D88283ADC9500A09CCC /* img */ = {isa = PBXFileReference; lastKnownFileType = folder; name = img; path = "../../Desktop/Bionic-Enhance-Reader-main/img"; sourceTree = ""; }; + CE386D89283ADC9500A09CCC /* manifest.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = manifest.json; path = "../../Desktop/Bionic-Enhance-Reader-main/manifest.json"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + CE386D33283ADC9500A09CCC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D45283ADC9500A09CCC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D52283ADC9500A09CCC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D5C283ADC9500A09CCC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + CE386D22283ADC9400A09CCC = { + isa = PBXGroup; + children = ( + CE386D27283ADC9400A09CCC /* Shared (App) */, + CE386D30283ADC9500A09CCC /* Shared (Extension) */, + CE386D38283ADC9500A09CCC /* iOS (App) */, + CE386D49283ADC9500A09CCC /* macOS (App) */, + CE386D59283ADC9500A09CCC /* iOS (Extension) */, + CE386D63283ADC9500A09CCC /* macOS (Extension) */, + CE386D37283ADC9500A09CCC /* Products */, + ); + sourceTree = ""; + }; + CE386D27283ADC9400A09CCC /* Shared (App) */ = { + isa = PBXGroup; + children = ( + CE386D2E283ADC9400A09CCC /* ViewController.swift */, + CE386D2F283ADC9500A09CCC /* Assets.xcassets */, + CE386D28283ADC9400A09CCC /* Resources */, + ); + path = "Shared (App)"; + sourceTree = ""; + }; + CE386D28283ADC9400A09CCC /* Resources */ = { + isa = PBXGroup; + children = ( + CE386D29283ADC9400A09CCC /* Main.html */, + CE386D2B283ADC9400A09CCC /* Icon.png */, + CE386D2C283ADC9400A09CCC /* Style.css */, + CE386D2D283ADC9400A09CCC /* Script.js */, + ); + path = Resources; + sourceTree = ""; + }; + CE386D30283ADC9500A09CCC /* Shared (Extension) */ = { + isa = PBXGroup; + children = ( + CE386D84283ADC9500A09CCC /* Resources */, + CE386D31283ADC9500A09CCC /* SafariWebExtensionHandler.swift */, + ); + path = "Shared (Extension)"; + sourceTree = ""; + }; + CE386D37283ADC9500A09CCC /* Products */ = { + isa = PBXGroup; + children = ( + CE386D36283ADC9500A09CCC /* Bionic Enhance Reader.app */, + CE386D48283ADC9500A09CCC /* Bionic Enhance Reader.app */, + CE386D55283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */, + CE386D5F283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */, + ); + name = Products; + sourceTree = ""; + }; + CE386D38283ADC9500A09CCC /* iOS (App) */ = { + isa = PBXGroup; + children = ( + CE386D39283ADC9500A09CCC /* AppDelegate.swift */, + CE386D3B283ADC9500A09CCC /* SceneDelegate.swift */, + CE386D3D283ADC9500A09CCC /* LaunchScreen.storyboard */, + CE386D40283ADC9500A09CCC /* Main.storyboard */, + CE386D43283ADC9500A09CCC /* Info.plist */, + ); + path = "iOS (App)"; + sourceTree = ""; + }; + CE386D49283ADC9500A09CCC /* macOS (App) */ = { + isa = PBXGroup; + children = ( + CE386D4A283ADC9500A09CCC /* AppDelegate.swift */, + CE386D4C283ADC9500A09CCC /* Main.storyboard */, + CE386D4F283ADC9500A09CCC /* Info.plist */, + CE386D50283ADC9500A09CCC /* Bionic Enhance Reader.entitlements */, + ); + path = "macOS (App)"; + sourceTree = ""; + }; + CE386D59283ADC9500A09CCC /* iOS (Extension) */ = { + isa = PBXGroup; + children = ( + CE386D5A283ADC9500A09CCC /* Info.plist */, + ); + path = "iOS (Extension)"; + sourceTree = ""; + }; + CE386D63283ADC9500A09CCC /* macOS (Extension) */ = { + isa = PBXGroup; + children = ( + CE386D64283ADC9500A09CCC /* Info.plist */, + CE386D65283ADC9500A09CCC /* Bionic Enhance Reader.entitlements */, + ); + path = "macOS (Extension)"; + sourceTree = ""; + }; + CE386D84283ADC9500A09CCC /* Resources */ = { + isa = PBXGroup; + children = ( + CE386D85283ADC9500A09CCC /* LICENSE */, + CE386D86283ADC9500A09CCC /* js */, + CE386D87283ADC9500A09CCC /* README.md */, + CE386D88283ADC9500A09CCC /* img */, + CE386D89283ADC9500A09CCC /* manifest.json */, + ); + name = Resources; + path = "Shared (Extension)"; + sourceTree = SOURCE_ROOT; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CE386D35283ADC9500A09CCC /* Bionic Enhance Reader (iOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE386D7A283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader (iOS)" */; + buildPhases = ( + CE386D32283ADC9500A09CCC /* Sources */, + CE386D33283ADC9500A09CCC /* Frameworks */, + CE386D34283ADC9500A09CCC /* Resources */, + CE386D79283ADC9500A09CCC /* Embed App Extensions */, + ); + buildRules = ( + ); + dependencies = ( + CE386D58283ADC9500A09CCC /* PBXTargetDependency */, + ); + name = "Bionic Enhance Reader (iOS)"; + productName = "Bionic Enhance Reader (iOS)"; + productReference = CE386D36283ADC9500A09CCC /* Bionic Enhance Reader.app */; + productType = "com.apple.product-type.application"; + }; + CE386D47283ADC9500A09CCC /* Bionic Enhance Reader (macOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE386D81283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader (macOS)" */; + buildPhases = ( + CE386D44283ADC9500A09CCC /* Sources */, + CE386D45283ADC9500A09CCC /* Frameworks */, + CE386D46283ADC9500A09CCC /* Resources */, + CE386D80283ADC9500A09CCC /* Embed App Extensions */, + ); + buildRules = ( + ); + dependencies = ( + CE386D62283ADC9500A09CCC /* PBXTargetDependency */, + ); + name = "Bionic Enhance Reader (macOS)"; + productName = "Bionic Enhance Reader (macOS)"; + productReference = CE386D48283ADC9500A09CCC /* Bionic Enhance Reader.app */; + productType = "com.apple.product-type.application"; + }; + CE386D54283ADC9500A09CCC /* Bionic Enhance Reader Extension (iOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE386D76283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader Extension (iOS)" */; + buildPhases = ( + CE386D51283ADC9500A09CCC /* Sources */, + CE386D52283ADC9500A09CCC /* Frameworks */, + CE386D53283ADC9500A09CCC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Bionic Enhance Reader Extension (iOS)"; + productName = "Bionic Enhance Reader Extension (iOS)"; + productReference = CE386D55283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */; + productType = "com.apple.product-type.app-extension"; + }; + CE386D5E283ADC9500A09CCC /* Bionic Enhance Reader Extension (macOS) */ = { + isa = PBXNativeTarget; + buildConfigurationList = CE386D7D283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader Extension (macOS)" */; + buildPhases = ( + CE386D5B283ADC9500A09CCC /* Sources */, + CE386D5C283ADC9500A09CCC /* Frameworks */, + CE386D5D283ADC9500A09CCC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Bionic Enhance Reader Extension (macOS)"; + productName = "Bionic Enhance Reader Extension (macOS)"; + productReference = CE386D5F283ADC9500A09CCC /* Bionic Enhance Reader Extension.appex */; + productType = "com.apple.product-type.app-extension"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CE386D23283ADC9400A09CCC /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1340; + LastUpgradeCheck = 1340; + TargetAttributes = { + CE386D35283ADC9500A09CCC = { + CreatedOnToolsVersion = 13.4; + }; + CE386D47283ADC9500A09CCC = { + CreatedOnToolsVersion = 13.4; + }; + CE386D54283ADC9500A09CCC = { + CreatedOnToolsVersion = 13.4; + }; + CE386D5E283ADC9500A09CCC = { + CreatedOnToolsVersion = 13.4; + }; + }; + }; + buildConfigurationList = CE386D26283ADC9400A09CCC /* Build configuration list for PBXProject "Bionic Enhance Reader" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = CE386D22283ADC9400A09CCC; + productRefGroup = CE386D37283ADC9500A09CCC /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CE386D35283ADC9500A09CCC /* Bionic Enhance Reader (iOS) */, + CE386D47283ADC9500A09CCC /* Bionic Enhance Reader (macOS) */, + CE386D54283ADC9500A09CCC /* Bionic Enhance Reader Extension (iOS) */, + CE386D5E283ADC9500A09CCC /* Bionic Enhance Reader Extension (macOS) */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + CE386D34283ADC9500A09CCC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D68283ADC9500A09CCC /* Icon.png in Resources */, + CE386D3F283ADC9500A09CCC /* LaunchScreen.storyboard in Resources */, + CE386D66283ADC9500A09CCC /* Main.html in Resources */, + CE386D6C283ADC9500A09CCC /* Script.js in Resources */, + CE386D70283ADC9500A09CCC /* Assets.xcassets in Resources */, + CE386D42283ADC9500A09CCC /* Main.storyboard in Resources */, + CE386D6A283ADC9500A09CCC /* Style.css in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D46283ADC9500A09CCC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D69283ADC9500A09CCC /* Icon.png in Resources */, + CE386D6B283ADC9500A09CCC /* Style.css in Resources */, + CE386D4E283ADC9500A09CCC /* Main.storyboard in Resources */, + CE386D6D283ADC9500A09CCC /* Script.js in Resources */, + CE386D71283ADC9500A09CCC /* Assets.xcassets in Resources */, + CE386D67283ADC9500A09CCC /* Main.html in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D53283ADC9500A09CCC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D92283ADC9500A09CCC /* img in Resources */, + CE386D91283ADC9500A09CCC /* README.md in Resources */, + CE386D93283ADC9500A09CCC /* manifest.json in Resources */, + CE386D8F283ADC9500A09CCC /* LICENSE in Resources */, + CE386D90283ADC9500A09CCC /* js in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D5D283ADC9500A09CCC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D8D283ADC9500A09CCC /* img in Resources */, + CE386D8C283ADC9500A09CCC /* README.md in Resources */, + CE386D8E283ADC9500A09CCC /* manifest.json in Resources */, + CE386D8A283ADC9500A09CCC /* LICENSE in Resources */, + CE386D8B283ADC9500A09CCC /* js in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CE386D32283ADC9500A09CCC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D6E283ADC9500A09CCC /* ViewController.swift in Sources */, + CE386D3A283ADC9500A09CCC /* AppDelegate.swift in Sources */, + CE386D3C283ADC9500A09CCC /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D44283ADC9500A09CCC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D6F283ADC9500A09CCC /* ViewController.swift in Sources */, + CE386D4B283ADC9500A09CCC /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D51283ADC9500A09CCC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D72283ADC9500A09CCC /* SafariWebExtensionHandler.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CE386D5B283ADC9500A09CCC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CE386D73283ADC9500A09CCC /* SafariWebExtensionHandler.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + CE386D58283ADC9500A09CCC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = CE386D54283ADC9500A09CCC /* Bionic Enhance Reader Extension (iOS) */; + targetProxy = CE386D57283ADC9500A09CCC /* PBXContainerItemProxy */; + }; + CE386D62283ADC9500A09CCC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = CE386D5E283ADC9500A09CCC /* Bionic Enhance Reader Extension (macOS) */; + targetProxy = CE386D61283ADC9500A09CCC /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + CE386D29283ADC9400A09CCC /* Main.html */ = { + isa = PBXVariantGroup; + children = ( + CE386D2A283ADC9400A09CCC /* Base */, + ); + name = Main.html; + sourceTree = ""; + }; + CE386D3D283ADC9500A09CCC /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + CE386D3E283ADC9500A09CCC /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; + CE386D40283ADC9500A09CCC /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + CE386D41283ADC9500A09CCC /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + CE386D4C283ADC9500A09CCC /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + CE386D4D283ADC9500A09CCC /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + CE386D74283ADC9500A09CCC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + CE386D75283ADC9500A09CCC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + 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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + CE386D77283ADC9500A09CCC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader 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.Bionic-Enhance-Reader.Extension"; + PRODUCT_NAME = "Bionic Enhance Reader Extension"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + CE386D78283ADC9500A09CCC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader 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.Bionic-Enhance-Reader.Extension"; + PRODUCT_NAME = "Bionic Enhance Reader 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; + }; + CE386D7B283ADC9500A09CCC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader"; + 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.Bionic-Enhance-Reader"; + PRODUCT_NAME = "Bionic Enhance Reader"; + SDKROOT = iphoneos; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + CE386D7C283ADC9500A09CCC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "iOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader"; + 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.Bionic-Enhance-Reader"; + PRODUCT_NAME = "Bionic Enhance Reader"; + SDKROOT = iphoneos; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + CE386D7E283ADC9500A09CCC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Bionic Enhance Reader.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader 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.Bionic-Enhance-Reader.Extension"; + PRODUCT_NAME = "Bionic Enhance Reader Extension"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + CE386D7F283ADC9500A09CCC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Bionic Enhance Reader.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (Extension)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader 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.Bionic-Enhance-Reader.Extension"; + PRODUCT_NAME = "Bionic Enhance Reader Extension"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + CE386D82283ADC9500A09CCC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "macOS (App)/Bionic Enhance Reader.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader"; + 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.Bionic-Enhance-Reader"; + PRODUCT_NAME = "Bionic Enhance Reader"; + SDKROOT = macosx; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + CE386D83283ADC9500A09CCC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "macOS (App)/Bionic Enhance Reader.entitlements"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 8W5RB8MY3F; + ENABLE_HARDENED_RUNTIME = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "macOS (App)/Info.plist"; + INFOPLIST_KEY_CFBundleDisplayName = "Bionic Enhance Reader"; + 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.Bionic-Enhance-Reader"; + PRODUCT_NAME = "Bionic Enhance Reader"; + SDKROOT = macosx; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CE386D26283ADC9400A09CCC /* Build configuration list for PBXProject "Bionic Enhance Reader" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE386D74283ADC9500A09CCC /* Debug */, + CE386D75283ADC9500A09CCC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE386D76283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader Extension (iOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE386D77283ADC9500A09CCC /* Debug */, + CE386D78283ADC9500A09CCC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE386D7A283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader (iOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE386D7B283ADC9500A09CCC /* Debug */, + CE386D7C283ADC9500A09CCC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE386D7D283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader Extension (macOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE386D7E283ADC9500A09CCC /* Debug */, + CE386D7F283ADC9500A09CCC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CE386D81283ADC9500A09CCC /* Build configuration list for PBXNativeTarget "Bionic Enhance Reader (macOS)" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CE386D82283ADC9500A09CCC /* Debug */, + CE386D83283ADC9500A09CCC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = CE386D23283ADC9400A09CCC /* Project object */; +} diff --git a/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/xcuserdata/dylanszejnblum.xcuserdatad/UserInterfaceState.xcuserstate b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/xcuserdata/dylanszejnblum.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..88a1b6d Binary files /dev/null and b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/project.xcworkspace/xcuserdata/dylanszejnblum.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/xcuserdata/dylanszejnblum.xcuserdatad/xcschemes/xcschememanagement.plist b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/xcuserdata/dylanszejnblum.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..7079d06 --- /dev/null +++ b/safari/Bionic Enhance Reader/Bionic Enhance Reader.xcodeproj/xcuserdata/dylanszejnblum.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,19 @@ + + + + + SchemeUserState + + Bionic Enhance Reader (iOS).xcscheme_^#shared#^_ + + orderHint + 1 + + Bionic Enhance Reader (macOS).xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..91f9c62 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,170 @@ +{ + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "iphone-icon-20@2x.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "iphone-icon-20@3x.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "iphone-icon-29@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "iphone-icon-29@3x.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "iphone-icon-40@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "iphone-icon-40@3x.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "iphone-icon-60@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "iphone-icon-60@3x.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "ipad-icon-20@1x.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "ipad-icon-20@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "ipad-icon-29@1x.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "ipad-icon-29@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "ipad-icon-40@1x.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "ipad-icon-40@2x.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "ipad-icon-76@2x.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "ipad-icon-83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "ios-marketing-icon-1024@1x.png", + "scale" : "1x" + }, + { + "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/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ios-marketing-icon-1024@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ios-marketing-icon-1024@1x.png new file mode 100644 index 0000000..7d3ff25 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ios-marketing-icon-1024@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-20@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-20@1x.png new file mode 100644 index 0000000..193a21c Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-20@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-20@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-20@2x.png new file mode 100644 index 0000000..df1ed73 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-20@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-29@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-29@1x.png new file mode 100644 index 0000000..fc179b6 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-29@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-29@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-29@2x.png new file mode 100644 index 0000000..8c826e7 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-29@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-40@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-40@1x.png new file mode 100644 index 0000000..df1ed73 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-40@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-40@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-40@2x.png new file mode 100644 index 0000000..d5ddcbb Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-40@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-76@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-76@2x.png new file mode 100644 index 0000000..7199c81 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-76@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-83.5@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-83.5@2x.png new file mode 100644 index 0000000..4051af3 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/ipad-icon-83.5@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-20@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-20@2x.png new file mode 100644 index 0000000..df1ed73 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-20@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-20@3x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-20@3x.png new file mode 100644 index 0000000..b5f627b Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-20@3x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-29@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-29@2x.png new file mode 100644 index 0000000..8c826e7 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-29@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-29@3x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-29@3x.png new file mode 100644 index 0000000..fc94857 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-29@3x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-40@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-40@2x.png new file mode 100644 index 0000000..d5ddcbb Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-40@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-40@3x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-40@3x.png new file mode 100644 index 0000000..248cd79 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-40@3x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-60@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-60@2x.png new file mode 100644 index 0000000..248cd79 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-60@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-60@3x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-60@3x.png new file mode 100644 index 0000000..6bb1919 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/iphone-icon-60@3x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@1x.png new file mode 100644 index 0000000..a4db206 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@2x.png new file mode 100644 index 0000000..80d0a37 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@1x.png new file mode 100644 index 0000000..cbbb704 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@2x.png new file mode 100644 index 0000000..da5b435 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@1x.png new file mode 100644 index 0000000..80d0a37 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@2x.png new file mode 100644 index 0000000..69cb2e9 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@1x.png new file mode 100644 index 0000000..da5b435 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@2x.png new file mode 100644 index 0000000..e44578f Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@1x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@1x.png new file mode 100644 index 0000000..69cb2e9 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@1x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@2x.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@2x.png new file mode 100644 index 0000000..0eb21cb Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@2x.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/Contents.json b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json new file mode 100644 index 0000000..e3ef1d1 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "icon128.png" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/LargeIcon.imageset/icon128.png b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/LargeIcon.imageset/icon128.png new file mode 100644 index 0000000..501c331 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Assets.xcassets/LargeIcon.imageset/icon128.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Base.lproj/Main.html b/safari/Bionic Enhance Reader/Shared (App)/Base.lproj/Main.html new file mode 100644 index 0000000..8411917 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (App)/Base.lproj/Main.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + + Bionic Enhance Reader Icon +

You can turn on Bionic Enhance Reader’s Safari extension in Settings.

+

You can turn on Bionic Enhance Reader’s extension in Safari Extensions preferences.

+

Bionic Enhance Reader’s extension is currently on. You can turn it off in Safari Extensions preferences.

+

Bionic Enhance Reader’s extension is currently off. You can turn it on in Safari Extensions preferences.

+ + + diff --git a/safari/Bionic Enhance Reader/Shared (App)/Resources/Icon.png b/safari/Bionic Enhance Reader/Shared (App)/Resources/Icon.png new file mode 100644 index 0000000..501c331 Binary files /dev/null and b/safari/Bionic Enhance Reader/Shared (App)/Resources/Icon.png differ diff --git a/safari/Bionic Enhance Reader/Shared (App)/Resources/Script.js b/safari/Bionic Enhance Reader/Shared (App)/Resources/Script.js new file mode 100644 index 0000000..e23ac01 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (App)/Resources/Script.js @@ -0,0 +1,17 @@ +function show(platform, enabled) { + document.body.classList.add(`platform-${platform}`); + + 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/Bionic Enhance Reader/Shared (App)/Resources/Style.css b/safari/Bionic Enhance Reader/Shared (App)/Resources/Style.css new file mode 100644 index 0000000..b6d0608 --- /dev/null +++ b/safari/Bionic Enhance Reader/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/Bionic Enhance Reader/Shared (App)/ViewController.swift b/safari/Bionic Enhance Reader/Shared (App)/ViewController.swift new file mode 100644 index 0000000..53e1d73 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (App)/ViewController.swift @@ -0,0 +1,77 @@ +// +// ViewController.swift +// Shared (App) +// +// Created by Dylan Szejnblum on 5/22/22. +// + +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.Bionic-Enhance-Reader.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 { + webView.evaluateJavaScript("show('mac', \(state.isEnabled))") + } + } +#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 { + NSApplication.shared.terminate(nil) + } + } +#endif + } + +} diff --git a/safari/Bionic Enhance Reader/Shared (Extension)/SafariWebExtensionHandler.swift b/safari/Bionic Enhance Reader/Shared (Extension)/SafariWebExtensionHandler.swift new file mode 100644 index 0000000..da319c0 --- /dev/null +++ b/safari/Bionic Enhance Reader/Shared (Extension)/SafariWebExtensionHandler.swift @@ -0,0 +1,26 @@ +// +// SafariWebExtensionHandler.swift +// Shared (Extension) +// +// Created by Dylan Szejnblum on 5/22/22. +// + +import SafariServices +import os.log + +let SFExtensionMessageKey = "message" + +class SafariWebExtensionHandler: NSObject, NSExtensionRequestHandling { + + func beginRequest(with context: NSExtensionContext) { + let item = context.inputItems[0] as! NSExtensionItem + let message = item.userInfo?[SFExtensionMessageKey] + os_log(.default, "Received message from browser.runtime.sendNativeMessage: %@", message as! CVarArg) + + let response = NSExtensionItem() + response.userInfo = [ SFExtensionMessageKey: [ "Response to": message ] ] + + context.completeRequest(returningItems: [response], completionHandler: nil) + } + +} diff --git a/safari/Bionic Enhance Reader/iOS (App)/AppDelegate.swift b/safari/Bionic Enhance Reader/iOS (App)/AppDelegate.swift new file mode 100644 index 0000000..e6baa99 --- /dev/null +++ b/safari/Bionic Enhance Reader/iOS (App)/AppDelegate.swift @@ -0,0 +1,24 @@ +// +// AppDelegate.swift +// iOS (App) +// +// Created by Dylan Szejnblum on 5/22/22. +// + +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/Bionic Enhance Reader/iOS (App)/Base.lproj/LaunchScreen.storyboard b/safari/Bionic Enhance Reader/iOS (App)/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..620a70c --- /dev/null +++ b/safari/Bionic Enhance Reader/iOS (App)/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/safari/Bionic Enhance Reader/iOS (App)/Base.lproj/Main.storyboard b/safari/Bionic Enhance Reader/iOS (App)/Base.lproj/Main.storyboard new file mode 100644 index 0000000..618dfce --- /dev/null +++ b/safari/Bionic Enhance Reader/iOS (App)/Base.lproj/Main.storyboard @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/safari/Bionic Enhance Reader/iOS (App)/Info.plist b/safari/Bionic Enhance Reader/iOS (App)/Info.plist new file mode 100644 index 0000000..561db88 --- /dev/null +++ b/safari/Bionic Enhance Reader/iOS (App)/Info.plist @@ -0,0 +1,27 @@ + + + + + SFSafariWebExtensionConverterVersion + 13.4 + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/safari/Bionic Enhance Reader/iOS (App)/SceneDelegate.swift b/safari/Bionic Enhance Reader/iOS (App)/SceneDelegate.swift new file mode 100644 index 0000000..4ca8ce5 --- /dev/null +++ b/safari/Bionic Enhance Reader/iOS (App)/SceneDelegate.swift @@ -0,0 +1,18 @@ +// +// SceneDelegate.swift +// iOS (App) +// +// Created by Dylan Szejnblum on 5/22/22. +// + +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/Bionic Enhance Reader/iOS (Extension)/Info.plist b/safari/Bionic Enhance Reader/iOS (Extension)/Info.plist new file mode 100644 index 0000000..9ee504d --- /dev/null +++ b/safari/Bionic Enhance Reader/iOS (Extension)/Info.plist @@ -0,0 +1,13 @@ + + + + + NSExtension + + NSExtensionPointIdentifier + com.apple.Safari.web-extension + NSExtensionPrincipalClass + $(PRODUCT_MODULE_NAME).SafariWebExtensionHandler + + + diff --git a/safari/Bionic Enhance Reader/macOS (App)/AppDelegate.swift b/safari/Bionic Enhance Reader/macOS (App)/AppDelegate.swift new file mode 100644 index 0000000..6129d45 --- /dev/null +++ b/safari/Bionic Enhance Reader/macOS (App)/AppDelegate.swift @@ -0,0 +1,21 @@ +// +// AppDelegate.swift +// macOS (App) +// +// Created by Dylan Szejnblum on 5/22/22. +// + +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/Bionic Enhance Reader/macOS (App)/Base.lproj/Main.storyboard b/safari/Bionic Enhance Reader/macOS (App)/Base.lproj/Main.storyboard new file mode 100644 index 0000000..54a8f14 --- /dev/null +++ b/safari/Bionic Enhance Reader/macOS (App)/Base.lproj/Main.storyboard @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/safari/Bionic Enhance Reader/macOS (App)/Bionic Enhance Reader.entitlements b/safari/Bionic Enhance Reader/macOS (App)/Bionic Enhance Reader.entitlements new file mode 100644 index 0000000..625af03 --- /dev/null +++ b/safari/Bionic Enhance Reader/macOS (App)/Bionic Enhance Reader.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/Bionic Enhance Reader/macOS (App)/Info.plist b/safari/Bionic Enhance Reader/macOS (App)/Info.plist new file mode 100644 index 0000000..e896dd7 --- /dev/null +++ b/safari/Bionic Enhance Reader/macOS (App)/Info.plist @@ -0,0 +1,8 @@ + + + + + SFSafariWebExtensionConverterVersion + 13.4 + + diff --git a/safari/Bionic Enhance Reader/macOS (Extension)/Bionic Enhance Reader.entitlements b/safari/Bionic Enhance Reader/macOS (Extension)/Bionic Enhance Reader.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/safari/Bionic Enhance Reader/macOS (Extension)/Bionic Enhance Reader.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/safari/Bionic Enhance Reader/macOS (Extension)/Info.plist b/safari/Bionic Enhance Reader/macOS (Extension)/Info.plist new file mode 100644 index 0000000..9ee504d --- /dev/null +++ b/safari/Bionic Enhance Reader/macOS (Extension)/Info.plist @@ -0,0 +1,13 @@ + + + + + NSExtension + + NSExtensionPointIdentifier + com.apple.Safari.web-extension + NSExtensionPrincipalClass + $(PRODUCT_MODULE_NAME).SafariWebExtensionHandler + + + diff --git a/safari/img/BuildSetting.png b/safari/img/BuildSetting.png new file mode 100644 index 0000000..7460a20 Binary files /dev/null and b/safari/img/BuildSetting.png differ diff --git a/safari/img/TeamSigning.png b/safari/img/TeamSigning.png new file mode 100644 index 0000000..f8f05b1 Binary files /dev/null and b/safari/img/TeamSigning.png differ diff --git a/safari/img/devsettings.png b/safari/img/devsettings.png new file mode 100644 index 0000000..4ca692f Binary files /dev/null and b/safari/img/devsettings.png differ diff --git a/safari/img/installationsuccesfull.png b/safari/img/installationsuccesfull.png new file mode 100644 index 0000000..f981229 Binary files /dev/null and b/safari/img/installationsuccesfull.png differ diff --git a/safari/img/safarexample.png b/safari/img/safarexample.png new file mode 100644 index 0000000..185bb50 Binary files /dev/null and b/safari/img/safarexample.png differ diff --git a/safari/img/unsignedAllow.png b/safari/img/unsignedAllow.png new file mode 100644 index 0000000..e91b152 Binary files /dev/null and b/safari/img/unsignedAllow.png differ