Revert "remove extra dbus service as its actually not useful"
This reverts commit a90bda1a04.
This commit is contained in:
parent
a29d5574cb
commit
b2992f5fc9
3 changed files with 5 additions and 2 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) return ref.invalidateSelf();
|
if (clientState?.deviceId == null) ref.invalidateSelf();
|
||||||
|
|
||||||
final capabilities = await ref
|
final capabilities = await ref
|
||||||
.watch(ClientController.provider.notifier)
|
.watch(ClientController.provider.notifier)
|
||||||
|
|
|
||||||
3
linux/nexus.federated.nexus.service
Normal file
3
linux/nexus.federated.nexus.service
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[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/nexus.federated.nexus.UnifiedPush.service -t $out/share/dbus-1/services
|
install -Dm644 linux/*.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