From 8593960be29f710efbe2f834d32ed9c34ce34712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Ciarcin=CC=81ski?= Date: Thu, 28 Nov 2024 12:51:42 +0100 Subject: [PATCH] Avoid _libdir as it points to /usr/lib64 --- resources-linux/defguard-client.spec | 6 +++--- src-tauri/tauri.conf.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources-linux/defguard-client.spec b/resources-linux/defguard-client.spec index 17f0bcdf..df6aa89f 100644 --- a/resources-linux/defguard-client.spec +++ b/resources-linux/defguard-client.spec @@ -11,10 +11,10 @@ Requires: libappindicator-gtk3 webkit2gtk4.0 Desktop client for managing WireGuard VPN connections %install -%{__mkdir} -p %{buildroot}/%{_bindir} %{buildroot}/%{_libdir} %{buildroot}/%{_sbindir} +%{__mkdir} -p %{buildroot}/%{_bindir} %{buildroot}/%{_sbindir} %{buildroot}/%{_prefix}/lib/systemd/system %{__install} -m 755 src-tauri/target/release/defguard-client %{buildroot}/%{_bindir}/ %{__install} -m 755 src-tauri/target/release/defguard-service %{buildroot}/%{_sbindir}/ -%{__install} -m 644 resources-linux/defguard-service.service %{buildroot}/%{_libdir}/systemd/system/ +%{__install} -m 644 resources-linux/defguard-service.service %{buildroot}/%{_prefix}/lib/systemd/system/ %post # %{systemd_post} defguard-service.service @@ -38,4 +38,4 @@ systemctl daemon-reload %files %{_bindir}/defguard-client %{_sbindir}/defguard-service -%{_libdir}/systemd/system/defguard-service.service +%{_prefix}/lib/systemd/system/defguard-service.service diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 2aa0d5f6..f2210eef 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -69,7 +69,7 @@ }, "resources": ["resources/*"], "shortDescription": "", - "targets": ["deb", "app", "appimage"], + "targets": ["deb", "app"], "windows": { "certificateThumbprint": null, "digestAlgorithm": "sha256",