Skip to content

Commit 1d1d492

Browse files
committed
Conditionally include PostCommands if macOS
1 parent ea529c9 commit 1d1d492

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Shared/WriteFreely_MultiPlatformApp.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ struct WriteFreely_MultiPlatformApp: App {
5555
.keyboardShortcut("r", modifiers: [.command])
5656
}
5757
SidebarCommands()
58+
#if os(macOS)
5859
PostCommands(model: model)
60+
#endif
5961
CommandGroup(after: .help) {
6062
Button("Visit Support Forum") {
6163
#if os(macOS)

WriteFreely-MultiPlatform.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@
992992
CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements;
993993
CODE_SIGN_STYLE = Automatic;
994994
COMBINE_HIDPI_IMAGES = YES;
995-
CURRENT_PROJECT_VERSION = 438;
995+
CURRENT_PROJECT_VERSION = 514;
996996
DEVELOPMENT_TEAM = TPPAB4YBA6;
997997
ENABLE_HARDENED_RUNTIME = YES;
998998
ENABLE_PREVIEWS = YES;
@@ -1002,7 +1002,7 @@
10021002
"@executable_path/../Frameworks",
10031003
);
10041004
MACOSX_DEPLOYMENT_TARGET = 11.0;
1005-
MARKETING_VERSION = 1.0.0;
1005+
MARKETING_VERSION = 1.0b1;
10061006
PRODUCT_BUNDLE_IDENTIFIER = "com.abunchtell.WriteFreely-MultiPlatform";
10071007
PRODUCT_NAME = "WriteFreely for Mac";
10081008
SDKROOT = macosx;
@@ -1018,7 +1018,7 @@
10181018
CODE_SIGN_ENTITLEMENTS = macOS/macOS.entitlements;
10191019
CODE_SIGN_STYLE = Automatic;
10201020
COMBINE_HIDPI_IMAGES = YES;
1021-
CURRENT_PROJECT_VERSION = 438;
1021+
CURRENT_PROJECT_VERSION = 514;
10221022
DEVELOPMENT_TEAM = TPPAB4YBA6;
10231023
ENABLE_HARDENED_RUNTIME = YES;
10241024
ENABLE_PREVIEWS = YES;
@@ -1028,7 +1028,7 @@
10281028
"@executable_path/../Frameworks",
10291029
);
10301030
MACOSX_DEPLOYMENT_TARGET = 11.0;
1031-
MARKETING_VERSION = 1.0.0;
1031+
MARKETING_VERSION = 1.0b1;
10321032
PRODUCT_BUNDLE_IDENTIFIER = "com.abunchtell.WriteFreely-MultiPlatform";
10331033
PRODUCT_NAME = "WriteFreely for Mac";
10341034
SDKROOT = macosx;

0 commit comments

Comments
 (0)