Fixes orchestrator permission check
This commit is contained in:
parent
ae5f8f8779
commit
1fb7602a4e
2 changed files with 2 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ s
|
||||||
#hasRightToRun() {
|
#hasRightToRun() {
|
||||||
try {
|
try {
|
||||||
const result = child_process.execSync('evremap list-devices').toString();
|
const result = child_process.execSync('evremap list-devices').toString();
|
||||||
return result.includes('os error 13');
|
return !result.includes('os error 13');
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.#logger.log(
|
this.#logger.log(
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -63,3 +63,4 @@
|
||||||
.config/evremap/evremap.toml
|
.config/evremap/evremap.toml
|
||||||
.config/hypr/config/Autostart.conf
|
.config/hypr/config/Autostart.conf
|
||||||
.config/yadm/bootstrap.d/02-AMDGPUDrivers.sh
|
.config/yadm/bootstrap.d/02-AMDGPUDrivers.sh
|
||||||
|
.config/evremap/keychron.toml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue