Skip to content

Commit

Permalink
5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-tamago committed Jan 2, 2023
1 parent 7750319 commit 5a7f76d
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 19 deletions.
4 changes: 2 additions & 2 deletions NoCameraSound/NoCameraSound.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Binary file not shown.
8 changes: 0 additions & 8 deletions NoCameraSound/NoCameraSound/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Binary file not shown.
Binary file not shown.
7 changes: 1 addition & 6 deletions NoCameraSound_Opener/NoCameraSound_Opener/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down
Empty file modified NoCameraSound_Opener/build.command
100644 → 100755
Empty file.
Binary file removed NoCameraSound_Opener/build/NoCameraSound_Opener.ipa
Binary file not shown.
Binary file removed NoCameraSound_Opener/build/share.zip
Binary file not shown.

0 comments on commit 5a7f76d

Please sign in to comment.