diff --git a/app/frontend/src/locales/fr.json b/app/frontend/src/locales/fr.json
index ef7b373..248c819 100644
--- a/app/frontend/src/locales/fr.json
+++ b/app/frontend/src/locales/fr.json
@@ -54,7 +54,7 @@
"mac_address": "Adresse MAC :",
"high": "elevee",
"moderate": "moyenne",
- "low": "base"
+ "low": "basse"
},
"wifi-select": {
"already_connected_question": "Vous semblez être connecté à un réseau.
Voulez-vous utiliser cette connexion ?",
diff --git a/app/frontend/src/views/report.vue b/app/frontend/src/views/report.vue
index 5bfe8ff..d194394 100644
--- a/app/frontend/src/views/report.vue
+++ b/app/frontend/src/views/report.vue
@@ -38,7 +38,7 @@
-
{{ $t("report.fine_msg") }}
+
diff --git a/config.yaml b/config.yaml
index 633a577..710bdca 100644
--- a/config.yaml
+++ b/config.yaml
@@ -41,10 +41,10 @@ backend:
frontend:
shutdown_option: false
reboot_option: false
- quit_option: true
+ quit_option: quitoption
download_links: false
- hide_mouse: false
- kiosk_mode: false
+ hide_mouse: hidemouse
+ kiosk_mode: kioskmode
remote_access: true
sparklines: true
virtual_keyboard: true
diff --git a/install.sh b/install.sh
index eec8071..939fa4c 100644
--- a/install.sh
+++ b/install.sh
@@ -80,6 +80,23 @@ set_credentials() {
fi
}
+set_kioskmode() {
+ echo -n " [?] Do you want to start TinyCheck in fullscreen during the system startup (Kiosk mode)? [Yes/No] "
+ read answer
+ if [[ "$answer" =~ ^([yY][eE][sS]|[yY])$ ]]
+ then
+ sed -i "s/kioskmode/true/g" /usr/share/tinycheck/config.yaml
+ sed -i "s/hidemouse/true/g" /usr/share/tinycheck/config.yaml
+ sed -i "s/quitoption/true/g" /usr/share/tinycheck/config.yaml
+ echo -e "\e[92m [✔] TinyCheck setted in Kiosk mode\e[39m"
+ else
+ sed -i "s/kioskmode/false/g" /usr/share/tinycheck/config.yaml
+ sed -i "s/hidemouse/false/g" /usr/share/tinycheck/config.yaml
+ sed -i "s/quitoption/false/g" /usr/share/tinycheck/config.yaml
+ echo -e "\e[92m [✔] TinyCheck setted in default mode, use the desktop icon to launch it.\e[39m"
+ fi
+}
+
create_directory() {
# Create the TinyCheck directory and move the whole stuff there.
echo -e "[+] Creating TinyCheck folder under /usr/share/"
@@ -424,6 +441,7 @@ elif [[ -f /usr/share/tinycheck/config.yaml ]]; then
exit 1
else
welcome_screen
+ set_kioskmode
check_operating_system
check_interfaces
create_directory