remove extra dbus service as its actually not useful

This commit is contained in:
Henry Hiles 2026-09-20 22:57:17 -04:00
commit a90bda1a04
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 2 additions and 5 deletions

View file

@ -121,7 +121,7 @@ class UnifiedPushController extends AsyncNotifier<bool> {
Future<void> register([bool alreadyRegistered = false]) async {
final clientState = ref.watch(ClientStateController.provider);
if (clientState?.deviceId == null) ref.invalidateSelf();
if (clientState?.deviceId == null) return ref.invalidateSelf();
final capabilities = await ref
.watch(ClientController.provider.notifier)

View file

@ -1,3 +0,0 @@
[D-BUS Service]
Name=nexus.federated.nexus
Exec=/usr/bin/env nexus

View file

@ -39,7 +39,7 @@ flutter.buildFlutterApplication {
postInstall = ''
install -D assets/bundled/icon.svg $out/share/icons/hicolor/scalable/apps/nexus.svg
install -Dm755 linux/nexus.federated.nexus.desktop -t $out/share/applications
install -Dm644 linux/*.service -t $out/share/dbus-1/services
install -Dm644 linux/nexus.federated.nexus.UnifiedPush.service -t $out/share/dbus-1/services
wrapProgram $out/bin/nexus \
--suffix LD_LIBRARY_PATH : $out/app/nexus/lib
'';