-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUserConfig.js
More file actions
27 lines (26 loc) · 1.03 KB
/
Copy pathUserConfig.js
File metadata and controls
27 lines (26 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
let chromebookID = 0;
window.config = {
/*activateSudo: true,
sudoPassword: "\\",*/
chrootCommands: false,
commands: [
{name: "Start linux", command: "sudo startxfce4"},
{
name: "Start input assistant",
command:
`shell
#adb connect 100.115.92.2
sudo enter-chroot -n xenial
echo \\\\ | sudo -S bash
${chromebookID == 0
? `sudo /home/venryx/.nvm/versions/node/v9.2.0/bin/node "/home/venryx/Downloads/Root/Apps/@V/Input Assistant/Main/Main.js"`
: `sudo /home/davey/.nvm/versions/node/v9.2.0/bin/node "/home/davey/Downloads/Root/Apps/Games/InputAssistant/Main.js"`}
`
},
{name: "Share root", command: "sudo mount --bind / /run/crouton/mnt/stateful_partition/crouton/chroots/xenial/OuterRoot"},
{name: "Sleep", command: "powerd_dbus_suspend"},
{name: "Restart Android", command: "sudo pkill -x main"},
{name: "Restart ChromeOS", command: "sudo pkill -x chrome"},
//{name: "Restart touch-system", command: "sudo pkill -x surfaceflinger"},
],
};