Skip to content

Commit

Permalink
Don't use sudo, fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwohl committed May 8, 2016
1 parent 6d32b0e commit fc6014a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion extension.js
Expand Up @@ -41,7 +41,7 @@ function _replaceTokens(filePath, tokens) {
// tokens start with a $ which needs to be escaped, oops
var _token = '\\' + token,
// use commas as delims so that we don't need to escape value, which might be a URL
cmd = 'sudo sed -i "s,' + _token + ',' + value + ',g" ' + filePath;
cmd = 'sed -i "s,' + _token + ',' + value + ',g" ' + filePath;
execSync(cmd);
}

Expand Down
6 changes: 0 additions & 6 deletions test/.xinitrc.tpl
@@ -1,7 +1 @@
xscreensaver -no-splash

xset s off
xset -dpms
xset s noblank

exec /usr/bin/chromium --noerrdialogs --kiosk --incognito $url

0 comments on commit fc6014a

Please sign in to comment.