From 0fd7404e6e902de96130b577fd1ea86d99c80e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Sat, 17 Oct 2026 06:24:46 +0300 Subject: [PATCH] rm sw6 --- components/root/root.swift | 1 - components/root/rootVM.swift | 1 - game/ver-mac/src/dialect.swift | 1 - util/step/buildMac | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) 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