Skip to content

Commit

Permalink
Add upgrade path for previous ios extension with duplicate iOS target…
Browse files Browse the repository at this point in the history
… in new extension
  • Loading branch information
workwithnano committed Dec 16, 2023
1 parent 3840826 commit 022c283
Show file tree
Hide file tree
Showing 5 changed files with 429 additions and 6 deletions.
17 changes: 17 additions & 0 deletions Kagi Search Extension iOS copy-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.Safari.web-extension</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).SafariWebExtensionHandler</string>
<key>SFSafariAppExtensionBundleIdentifiersToReplace</key>
<array>
<string>com.kagi.searchExtensionContainer.extension</string>
</array>
</dict>
</dict>
</plist>
38 changes: 38 additions & 0 deletions Kagi Search iOS copy-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>com.kagimacOS.Kagi-Search</string>
<key>CFBundleURLSchemes</key>
<array>
<string>kagisearch</string>
</array>
</dict>
</array>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit 022c283

Please sign in to comment.