Fixes orchestrator permission check

This commit is contained in:
Michel Fedde 2025-04-14 00:25:26 +02:00
parent ae5f8f8779
commit 1fb7602a4e
2 changed files with 2 additions and 1 deletions

View file

@ -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
View file

@ -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