diff --git a/NoCameraSound/NoCameraSound.xcodeproj/project.pbxproj b/NoCameraSound/NoCameraSound.xcodeproj/project.pbxproj index 7a0b67e..a6a88e8 100644 --- a/NoCameraSound/NoCameraSound.xcodeproj/project.pbxproj +++ b/NoCameraSound/NoCameraSound.xcodeproj/project.pbxproj @@ -316,7 +316,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 5.3; + MARKETING_VERSION = 5.4; PRODUCT_BUNDLE_IDENTIFIER = "com.straight-tamago.NoCameraSound"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -351,7 +351,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 5.3; + MARKETING_VERSION = 5.4; PRODUCT_BUNDLE_IDENTIFIER = "com.straight-tamago.NoCameraSound"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/NoCameraSound/NoCameraSound.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate b/NoCameraSound/NoCameraSound.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate index 94b4221..399a3a5 100644 Binary files a/NoCameraSound/NoCameraSound.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate and b/NoCameraSound/NoCameraSound.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/NoCameraSound/NoCameraSound/ContentView.swift b/NoCameraSound/NoCameraSound/ContentView.swift index aefeb45..0963e70 100644 --- a/NoCameraSound/NoCameraSound/ContentView.swift +++ b/NoCameraSound/NoCameraSound/ContentView.swift @@ -230,14 +230,6 @@ struct ContentView: View { TargetFilesPath[0].id = UUID() } } - .onOpenURL { url in - if url.host == "OpenCamera" { - disable_shuttersound() - if let url = URL(string: "shortcuts://run-shortcut?name=OpenCamera") { - UIApplication.shared.open(url) - } - } - } } diff --git a/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.pbxproj b/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.pbxproj index 59c95de..5b660ad 100644 --- a/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.pbxproj +++ b/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.pbxproj @@ -280,7 +280,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.1; PRODUCT_BUNDLE_IDENTIFIER = "com.straight-tamago.NoCameraSound-Opener"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -310,7 +310,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.1; PRODUCT_BUNDLE_IDENTIFIER = "com.straight-tamago.NoCameraSound-Opener"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate b/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate index 0c33933..4687f9d 100644 Binary files a/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate and b/NoCameraSound_Opener/NoCameraSound_Opener.xcodeproj/project.xcworkspace/xcuserdata/mini.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/NoCameraSound_Opener/NoCameraSound_Opener/.DS_Store b/NoCameraSound_Opener/NoCameraSound_Opener/.DS_Store new file mode 100644 index 0000000..80fee24 Binary files /dev/null and b/NoCameraSound_Opener/NoCameraSound_Opener/.DS_Store differ diff --git a/NoCameraSound_Opener/NoCameraSound_Opener/ContentView.swift b/NoCameraSound_Opener/NoCameraSound_Opener/ContentView.swift index a1ac9ee..c5568a5 100644 --- a/NoCameraSound_Opener/NoCameraSound_Opener/ContentView.swift +++ b/NoCameraSound_Opener/NoCameraSound_Opener/ContentView.swift @@ -9,14 +9,9 @@ import SwiftUI struct ContentView: View { var body: some View { - Text("Opening NoSoundCamera\n&\n[OpenCamera] Shortcut") + Text("Opening NoCameraShortcut Shortcut") .multilineTextAlignment(.center) .font(.title) - .onAppear { - if let url = URL(string: "NoCameraSound://OpenCamera") { - UIApplication.shared.open(url) - } - } Indicator().frame(width: 100, height: 100) } } diff --git a/NoCameraSound_Opener/NoCameraSound_Opener/NoCameraSound_OpenerApp.swift b/NoCameraSound_Opener/NoCameraSound_Opener/NoCameraSound_OpenerApp.swift index d2744b0..37c2b48 100644 --- a/NoCameraSound_Opener/NoCameraSound_Opener/NoCameraSound_OpenerApp.swift +++ b/NoCameraSound_Opener/NoCameraSound_Opener/NoCameraSound_OpenerApp.swift @@ -21,7 +21,7 @@ struct NoCameraSound_OpenerApp: App { } if phase == .active { print("フォアグラウンド!") - if let url = URL(string: "NoCameraSound://OpenCamera") { + if let url = URL(string: "shortcuts://run-shortcut?name=NoCameraShortcut") { UIApplication.shared.open(url) } } diff --git a/NoCameraSound_Opener/build.command b/NoCameraSound_Opener/build.command old mode 100644 new mode 100755 diff --git a/NoCameraSound_Opener/build/NoCameraSound_Opener.ipa b/NoCameraSound_Opener/build/NoCameraSound_Opener.ipa deleted file mode 100644 index c76200e..0000000 Binary files a/NoCameraSound_Opener/build/NoCameraSound_Opener.ipa and /dev/null differ diff --git a/NoCameraSound_Opener/build/share.zip b/NoCameraSound_Opener/build/share.zip deleted file mode 100644 index cba6caa..0000000 Binary files a/NoCameraSound_Opener/build/share.zip and /dev/null differ