Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

fix: add PromiseKit dependency for AppUpdater error handling

altic-dev4f4a3496cb89
diff --git a/Package.swift b/Package.swift
index fdefd61b..80ea1c7a 100644
--- a/Package.swift
+++ b/Package.swift
@@ -10,14 +10,16 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/mxcl/AppUpdater.git", from: "1.0.0"),
- .package(url: "https://github.com/FluidInference/FluidAudio", from: "0.5.0")
+ .package(url: "https://github.com/FluidInference/FluidAudio", from: "0.5.0"),
+ .package(url: "https://github.com/mxcl/PromiseKit", from: "6.0.0")
],
targets: [
.executableTarget(
name: "Fluid",
dependencies: [
"AppUpdater",
- "FluidAudio"
+ "FluidAudio",
+ "PromiseKit"
]
)
]
diff --git a/Sources/Fluid/AppDelegate.swift b/Sources/Fluid/AppDelegate.swift
index db5d1333..97b6032f 100644
--- a/Sources/Fluid/AppDelegate.swift
+++ b/Sources/Fluid/AppDelegate.swift
@@ -8,6 +8,7 @@
import AppUpdater
import SwiftUI
import AppKit
+import PromiseKit
class AppDelegate: NSObject, NSApplicationDelegate {
private var updater: AppUpdater?