Skip to content

Commit abf3810

Browse files
authored
Merge pull request #19 from PaulSolt/psolt/macOS-15
Enable macOS 15 Sequoia Support
2 parents 3cc1cf4 + 0b28aea commit abf3810

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PackageDescription
44
let package = Package(
55
name: "CodexSkillManager",
66
platforms: [
7-
.macOS(.v26),
7+
.macOS(.v15),
88
],
99
dependencies: [
1010
.package(url: "https://github.com/gonzalezreal/swift-markdown-ui.git", from: "2.4.1"),

Sources/CodexSkillManager/Skills/SkillSplitView.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,19 @@ struct SkillSplitView: View {
114114
.disabled(isDownloadingRemote || !canDownloadRemoteSkill)
115115
}
116116

117-
ToolbarSpacer(.fixed)
117+
if #available(macOS 26.0, *) {
118+
ToolbarSpacer(.fixed)
119+
}
120+
118121
}
119122

120123
ToolbarItem(id: "open") {
121124
openFolderItem
122125
}
123126

124-
ToolbarSpacer(.fixed)
127+
if #available(macOS 26.0, *) {
128+
ToolbarSpacer(.fixed)
129+
}
125130

126131
ToolbarItem(id: "add") {
127132
Menu {

0 commit comments

Comments
 (0)