fix(device): check privilege on Linux (#519)

* fix(device): check privilege on Linux

* device connected if also have permission

* fix rules sh path

* refactor permission detection

* fic hasPermission condition

* fix return value
This commit is contained in:
Róbert Kiss
2017-12-21 20:33:40 +01:00
committed by László Monda
parent 969c36561b
commit c11658f1fc
11 changed files with 75 additions and 74 deletions
@@ -0,0 +1,4 @@
export interface DeviceConnectionState {
connected: boolean;
hasPermission: boolean;
}
+1
View File
@@ -4,3 +4,4 @@ export * from './ipc-response';
export * from './app-start-info';
export * from './configuration-reply';
export * from './version-information';
export * from './device-connection-state';