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:
committed by
László Monda
parent
969c36561b
commit
c11658f1fc
@@ -0,0 +1,4 @@
|
||||
export interface DeviceConnectionState {
|
||||
connected: boolean;
|
||||
hasPermission: boolean;
|
||||
}
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user