| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package main
- /*
- Device Handler
- This script mainly handle the external devices like client devices reflect information
- or IoT devices. If you want to handle storage devices mounting, use system.storage.go instead.
- */
- func DeviceServiceInit() {
- //Register Device related settings. Compatible to ArOZ Online Beta
- registerSetting(settingModule{
- Name: "Client Device",
- Desc: "Detail about the browser you are using",
- IconPath: "SystemAO/info/img/small_icon.png",
- Group: "Device",
- StartDir: "SystemAO/info/clientInfo.html",
- })
- registerSetting(settingModule{
- Name: "Device Testing",
- Desc: "Audio, display, keyboard, mouse and touch testing",
- IconPath: "SystemAO/info/img/small_icon.png",
- Group: "Device",
- StartDir: "SystemAO/info/deviceTesting.html",
- })
- /*
- Locale / Display Language
- This method allows users to change their own language
- */
- registerSetting(settingModule{
- Name: "Language",
- Desc: "Set the display language of the system",
- IconPath: "SystemAO/info/img/small_icon.png",
- Group: "Device",
- StartDir: "SystemAO/info/locale.html",
- RequireAdmin: false,
- })
- }
|