From 3986ee6f547307ef21e1a1eac2bd31cea46a6002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 22 Nov 2023 10:04:47 +0100 Subject: [PATCH] build: include aw-sync in the .app bundle --- aw.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aw.spec b/aw.spec index 4f469db0..0d53a233 100644 --- a/aw.spec +++ b/aw.spec @@ -1,6 +1,5 @@ # -*- mode: python -*- # vi: set ft=python : - import os import platform import shlex @@ -83,6 +82,7 @@ restx_path = Path(os.path.dirname(flask_restx.__file__)) aws_location = Path("aw-server") aw_server_rust_location = Path("aw-server-rust") aw_server_rust_bin = aw_server_rust_location / "target/package/aw-server-rust" +aw_sync_bin = aw_server_rust_location / "target/package/aw-sync" aw_qt_location = Path("aw-qt") awa_location = Path("aw-watcher-afk") aww_location = Path("aw-watcher-window") @@ -103,7 +103,7 @@ if not aw_server_rust_bin.exists(): aw_qt_a = build_analysis( "aw-qt", aw_qt_location, - binaries=[(aw_server_rust_bin, ".")] if not skip_rust else [], + binaries=[(aw_server_rust_bin, "."), (aw_sync_bin, ".")] if not skip_rust else [], datas=[ (aw_qt_location / "resources/aw-qt.desktop", "aw_qt/resources"), (aw_qt_location / "media", "aw_qt/media"),