double slachback should finally make path work correctly so keyboard wont failt
This commit is contained in:
@@ -292,7 +292,7 @@ function performCssRestart(reason) {
|
|||||||
// has always found xdotool fine. Explicitly ensure common binary
|
// has always found xdotool fine. Explicitly ensure common binary
|
||||||
// paths are present here too, since this exact command was
|
// paths are present here too, since this exact command was
|
||||||
// silently failing with "xdotool: not found" every time.
|
// silently failing with "xdotool: not found" every time.
|
||||||
execSync(`docker exec ${CONTAINER} bash -c "export PATH=\$PATH:/usr/bin:/usr/local/bin:/bin; DISPLAY=:99 WIN=\$(xdotool search --name '' | head -1) && xdotool windowfocus --sync \$WIN" || true`);
|
execSync(`docker exec ${CONTAINER} bash -c "export PATH=\\$PATH:/usr/bin:/usr/local/bin:/bin; DISPLAY=:99 WIN=\\$(xdotool search --name '' | head -1) && xdotool windowfocus --sync \\$WIN" || true`);
|
||||||
console.log('[sig] CSS restart: focused new window');
|
console.log('[sig] CSS restart: focused new window');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('[sig] CSS restart: failed to focus new window:', e.message);
|
console.error('[sig] CSS restart: failed to focus new window:', e.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user