Skip to content

Commit

Permalink
Update bundle id
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Sep 12, 2024
1 parent 20f70a5 commit 8091858
Show file tree
Hide file tree
Showing 18 changed files with 180 additions and 200 deletions.
6 changes: 3 additions & 3 deletions Extension/Extension.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
Expand All @@ -18,13 +18,13 @@
<true/>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.io.nekohasekai.sfa</string>
<string>group.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.network.client</key>
<true/>
Expand Down
2 changes: 1 addition & 1 deletion IntentsExtension/IntentsExtension.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.io.nekohasekai.sfa</string>
<string>group.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.network.client</key>
<true/>
Expand Down
6 changes: 1 addition & 5 deletions Library/Shared/FilePath.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import Foundation

public enum FilePath {
#if !NEXT
public static let packageName = "io.nekohasekai.sfa"
#else
public static let packageName = "io.nekohasekai.sfa.next"
#endif
public static let packageName = "io.nekohasekai.sfavt"
}

public extension FilePath {
Expand Down
42 changes: 19 additions & 23 deletions SFI/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,24 @@
<dict>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>io.nekohasekai.sfa.update_profiles</string>
<string>io.nekohasekai.sfavt.update_profiles</string>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFile</key>
<string>AppIcon.icns</string>
<key>CFBundleTypeName</key>
<string>sing-box Profile</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>io.nekohasekai.sfavt.profile</string>
</array>
</dict>
</array>
<key>CFBundleURLTypes</key>
<array>
Expand Down Expand Up @@ -35,7 +52,7 @@
</dict>
<key>NSUbiquitousContainers</key>
<dict>
<key>iCloud.io.nekohasekai.sfa</key>
<key>iCloud.io.nekohasekai.sfavt</key>
<dict>
<key>NSUbiquitousContainerIsDocumentScopePublic</key>
<true/>
Expand All @@ -49,23 +66,6 @@
<array>
<string>fetch</string>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>sing-box Profile</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>io.nekohasekai.sfa.profile</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>AppIcon.icns</string>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
Expand Down Expand Up @@ -116,9 +116,5 @@
</dict>
</dict>
</array>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UISupportsDocumentBrowser</key>
<false/>
</dict>
</plist>
6 changes: 3 additions & 3 deletions SFI/SFI.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
Expand All @@ -16,11 +16,11 @@
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.io.nekohasekai.sfa</string>
<string>group.io.nekohasekai.sfavt</string>
</array>
</dict>
</plist>
40 changes: 18 additions & 22 deletions SFM.System/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFile</key>
<string>AppIcon.icns</string>
<key>CFBundleTypeName</key>
<string>sing-box Profile</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>io.nekohasekai.sfa.profile</string>
</array>
</dict>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand All @@ -21,7 +38,7 @@
<false/>
<key>NSUbiquitousContainers</key>
<dict>
<key>iCloud.io.nekohasekai.sfa</key>
<key>iCloud.io.nekohasekai.sfavt</key>
<dict>
<key>NSUbiquitousContainerIsDocumentScopePublic</key>
<true/>
Expand All @@ -31,23 +48,6 @@
<string>Any</string>
</dict>
</dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>sing-box Profile</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>io.nekohasekai.sfa.profile</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>AppIcon.icns</string>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
Expand Down Expand Up @@ -98,9 +98,5 @@
</dict>
</dict>
</array>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UISupportsDocumentBrowser</key>
<false/>
</dict>
</plist>
6 changes: 3 additions & 3 deletions SFM.System/SFM.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
Expand All @@ -18,13 +18,13 @@
<true/>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.io.nekohasekai.sfa</string>
<string>group.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
Expand Down
8 changes: 4 additions & 4 deletions SFM.System/Upload.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<true/>
<key>provisioningProfiles</key>
<dict>
<key>io.nekohasekai.sfa.independent</key>
<string>XC io nekohasekai sfa independent</string>
<key>io.nekohasekai.sfa.system</key>
<string>XC io nekohasekai sfa system</string>
<key>io.nekohasekai.sfavt.standalone</key>
<string>XC io nekohasekai sfavt standalone</string>
<key>io.nekohasekai.sfavt.system</key>
<string>XC io nekohasekai sfavt system</string>
</dict>
</dict>
</plist>
40 changes: 18 additions & 22 deletions SFM/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFile</key>
<string>AppIcon.icns</string>
<key>CFBundleTypeName</key>
<string>sing-box Profile</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>io.nekohasekai.sfa.profile</string>
</array>
</dict>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand All @@ -21,7 +38,7 @@
<false/>
<key>NSUbiquitousContainers</key>
<dict>
<key>iCloud.io.nekohasekai.sfa</key>
<key>iCloud.io.nekohasekai.sfavt</key>
<dict>
<key>NSUbiquitousContainerIsDocumentScopePublic</key>
<true/>
Expand All @@ -31,23 +48,6 @@
<string>Any</string>
</dict>
</dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>sing-box Profile</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>io.nekohasekai.sfa.profile</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>AppIcon.icns</string>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
Expand Down Expand Up @@ -98,9 +98,5 @@
</dict>
</dict>
</array>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UISupportsDocumentBrowser</key>
<false/>
</dict>
</plist>
6 changes: 3 additions & 3 deletions SFM/SFM.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
Expand All @@ -16,13 +16,13 @@
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.io.nekohasekai.sfa</string>
<string>iCloud.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>group.io.nekohasekai.sfa</string>
<string>group.io.nekohasekai.sfavt</string>
</array>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
Expand Down
40 changes: 18 additions & 22 deletions SFT/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,9 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>NSApplicationServices</key>
<dict>
<key>Browses</key>
<array>
<dict>
<key>NSApplicationServiceIdentifier</key>
<string>sing-box:profile</string>
<key>NSApplicationServiceUsageDescription</key>
<string>Import sing-box profile from other devices</string>
<key>NSApplicationServicePlatformSupport</key>
<array>
<string>iOS</string>
<string>iPadOS</string>
</array>
</dict>
</array>
</dict>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>io.nekohasekai.sfa.update_profiles</string>
<string>io.nekohasekai.sfavt.update_profiles</string>
</array>
<key>CFBundleURLTypes</key>
<array>
Expand All @@ -44,6 +23,23 @@
</array>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>NSApplicationServices</key>
<dict>
<key>Browses</key>
<array>
<dict>
<key>NSApplicationServiceIdentifier</key>
<string>sing-box:profile</string>
<key>NSApplicationServicePlatformSupport</key>
<array>
<string>iOS</string>
<string>iPadOS</string>
</array>
<key>NSApplicationServiceUsageDescription</key>
<string>Import sing-box profile from other devices</string>
</dict>
</array>
</dict>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
Expand Down
Loading

0 comments on commit 8091858

Please sign in to comment.