remove extra dbus service as its actually not useful
This commit is contained in:
parent
f774e47ec0
commit
a90bda1a04
3 changed files with 2 additions and 5 deletions
|
|
@ -121,7 +121,7 @@ class UnifiedPushController extends AsyncNotifier<bool> {
|
||||||
|
|
||||||
Future<void> register([bool alreadyRegistered = false]) async {
|
Future<void> register([bool alreadyRegistered = false]) async {
|
||||||
final clientState = ref.watch(ClientStateController.provider);
|
final clientState = ref.watch(ClientStateController.provider);
|
||||||
if (clientState?.deviceId == null) ref.invalidateSelf();
|
if (clientState?.deviceId == null) return ref.invalidateSelf();
|
||||||
|
|
||||||
final capabilities = await ref
|
final capabilities = await ref
|
||||||
.watch(ClientController.provider.notifier)
|
.watch(ClientController.provider.notifier)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
[D-BUS Service]
|
|
||||||
Name=nexus.federated.nexus
|
|
||||||
Exec=/usr/bin/env nexus
|
|
||||||
|
|
@ -39,7 +39,7 @@ flutter.buildFlutterApplication {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D assets/bundled/icon.svg $out/share/icons/hicolor/scalable/apps/nexus.svg
|
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 -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 \
|
wrapProgram $out/bin/nexus \
|
||||||
--suffix LD_LIBRARY_PATH : $out/app/nexus/lib
|
--suffix LD_LIBRARY_PATH : $out/app/nexus/lib
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue