Skip to content

Commit 83074fd

Browse files
committed
fix build
1 parent 78c8bc6 commit 83074fd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

desktopApp/build-swift.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ tasks.register<Exec>("compileWebviewBridgeArm64") {
2323
)
2424

2525
// copy buildOutput to targetLib
26-
Files.copy(
27-
buildOutput.asFile.toPath(),
28-
targetLib.toPath(),
29-
java.nio.file.StandardCopyOption.REPLACE_EXISTING,
30-
)
26+
if (isMac) {
27+
Files.copy(
28+
buildOutput.asFile.toPath(),
29+
targetLib.toPath(),
30+
java.nio.file.StandardCopyOption.REPLACE_EXISTING,
31+
)
32+
}
3133
}
3234

3335
afterEvaluate {

0 commit comments

Comments
 (0)