|
|
@ -12,6 +12,12 @@ class Debug { |
|
|
|
return false |
|
|
|
return false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.greeter_config = { |
|
|
|
|
|
|
|
greeter: { |
|
|
|
|
|
|
|
debug_mode: true, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
window.lightdm = { |
|
|
|
window.lightdm = { |
|
|
|
is_authenticated: false, |
|
|
|
is_authenticated: false, |
|
|
|
authentication_user: null, |
|
|
|
authentication_user: null, |
|
|
@ -85,15 +91,19 @@ class Debug { |
|
|
|
}, |
|
|
|
}, |
|
|
|
shutdown: () => { |
|
|
|
shutdown: () => { |
|
|
|
console.log("System is shutting down...") |
|
|
|
console.log("System is shutting down...") |
|
|
|
|
|
|
|
setTimeout(() => location.reload(), 2000) |
|
|
|
}, |
|
|
|
}, |
|
|
|
restart: () => { |
|
|
|
restart: () => { |
|
|
|
console.log("System is rebooting...") |
|
|
|
console.log("System is rebooting...") |
|
|
|
|
|
|
|
setTimeout(() => location.reload(), 2000) |
|
|
|
}, |
|
|
|
}, |
|
|
|
hibernate: () => { |
|
|
|
hibernate: () => { |
|
|
|
console.log("System is hibernating") |
|
|
|
console.log("System is hibernating") |
|
|
|
|
|
|
|
setTimeout(() => location.reload(), 2000) |
|
|
|
}, |
|
|
|
}, |
|
|
|
suspend: () => { |
|
|
|
suspend: () => { |
|
|
|
console.log("System is suspending") |
|
|
|
console.log("System is suspending") |
|
|
|
|
|
|
|
setTimeout(() => location.reload(), 2000) |
|
|
|
}, |
|
|
|
}, |
|
|
|
batteryData: { |
|
|
|
batteryData: { |
|
|
|
name: "Battery 0", |
|
|
|
name: "Battery 0", |
|
|
|