Skip to content

Commit 3986ee6

Browse files
committed
build: include aw-sync in the .app bundle
1 parent 6f57659 commit 3986ee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aw.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- mode: python -*-
22
# vi: set ft=python :
3-
43
import os
54
import platform
65
import shlex
@@ -83,6 +82,7 @@ restx_path = Path(os.path.dirname(flask_restx.__file__))
8382
aws_location = Path("aw-server")
8483
aw_server_rust_location = Path("aw-server-rust")
8584
aw_server_rust_bin = aw_server_rust_location / "target/package/aw-server-rust"
85+
aw_sync_bin = aw_server_rust_location / "target/package/aw-sync"
8686
aw_qt_location = Path("aw-qt")
8787
awa_location = Path("aw-watcher-afk")
8888
aww_location = Path("aw-watcher-window")
@@ -103,7 +103,7 @@ if not aw_server_rust_bin.exists():
103103
aw_qt_a = build_analysis(
104104
"aw-qt",
105105
aw_qt_location,
106-
binaries=[(aw_server_rust_bin, ".")] if not skip_rust else [],
106+
binaries=[(aw_server_rust_bin, "."), (aw_sync_bin, ".")] if not skip_rust else [],
107107
datas=[
108108
(aw_qt_location / "resources/aw-qt.desktop", "aw_qt/resources"),
109109
(aw_qt_location / "media", "aw_qt/media"),

0 commit comments

Comments
 (0)