Skip to content

Commit

Permalink
ver1.0 release candidate 1
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaa committed Jan 24, 2024
1 parent c611514 commit 4a77de9
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions HandsWidth/🥽AppModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,18 @@ extension 🥽AppModel {
}

func run() {
do {
#if targetEnvironment(simulator)
print("Not support handTracking in simulator.")
print("Not support handTracking in simulator.")
#else
Task { @MainActor in
do {
try await self.session.run([self.handTracking])
await self.processHandUpdates()
} catch {
print(error)
}
Task { @MainActor in
do {
try await self.session.run([self.handTracking])
await self.processHandUpdates()
} catch {
print(error)
}
#endif
} catch {
assertionFailure()
}
#endif
}
}

Expand Down

0 comments on commit 4a77de9

Please sign in to comment.