diff --git a/components/root/root.swift b/components/root/root.swift index 9ab69b4..7f17acd 100644 --- a/components/root/root.swift +++ b/components/root/root.swift @@ -1,4 +1,3 @@ -@MainActor class RootComponent { let ctrl = DialectController(RootContext()) static private(set) weak var singleton: RootComponent? diff --git a/components/root/rootVM.swift b/components/root/rootVM.swift index 048df0c..5823662 100644 --- a/components/root/rootVM.swift +++ b/components/root/rootVM.swift @@ -1,6 +1,5 @@ import Combine -@MainActor final class RootVM: ObservableObject { @Published var countText = "" diff --git a/game/ver-mac/src/dialect.swift b/game/ver-mac/src/dialect.swift index 7a71b2c..98b4ee9 100644 --- a/game/ver-mac/src/dialect.swift +++ b/game/ver-mac/src/dialect.swift @@ -178,7 +178,6 @@ public struct RootContext: DialectContext { } } -@MainActor public func rootSet( _ key: String, _ value: Any diff --git a/util/step/buildMac b/util/step/buildMac index 40d6d55..19e41fb 100755 --- a/util/step/buildMac +++ b/util/step/buildMac @@ -4,4 +4,4 @@ STEP=$((STEP+1)) echo -e "\n> > > > Step №$STEP. Build for macOS" cd $SDIR/../game/ver-mac -swift build -Xswiftc -swift-version -Xswiftc 6 +swift build # -Xswiftc -swift-version -Xswiftc 6