- 新增 AssistOutputMode 配置(inject/notch) - Assist 设置界面添加输出方式弹出菜单 - 新建 NotchDisplayManager:DynamicNotchKit 弹窗,支持滚动、复制、15s 自动消失 - DynamicNotchKit 固化为本地依赖,修复假刘海高度问题(0→内容贴近顶部)
28 lines
898 B
Swift
28 lines
898 B
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "DynamicNotchKit",
|
|
platforms: [
|
|
.macOS(.v12)
|
|
],
|
|
products: [
|
|
// Products define the executables and libraries a package produces, making them visible to other packages.
|
|
.library(
|
|
name: "DynamicNotchKit",
|
|
targets: ["DynamicNotchKit"]),
|
|
],
|
|
targets: [
|
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
|
// Targets can depend on other targets in this package and products from dependencies.
|
|
.target(
|
|
name: "DynamicNotchKit",
|
|
path: "Sources"),
|
|
.testTarget(
|
|
name: "DynamicNotchKitTests",
|
|
dependencies: ["DynamicNotchKit"]),
|
|
]
|
|
)
|