Skip to content

Commit 78817fb

Browse files
committed
update README.md
1 parent aad9192 commit 78817fb

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Once `snapp_installer` is installed on your Raspberry Pi, you can use it by simp
4949
- **disable_kiosk**: Disable the kiosk mode.
5050
- **autologin**: Enable auto login on your device.
5151
- **disable_autologin**: Disable auto login on your device.
52+
- **enable_fullscreen**: Enable Full Screen in your Flutter project.
5253

5354
For example, to check the installation status, kiosk mode state, and dependencies, simply run:
5455

@@ -87,6 +88,16 @@ snapp_installer install
8788

8889
`snapp_installer` allows you to run your Flutter app in a kiosk mode on your Raspberry Pi, ensuring a seamless and focused user experience. To enable kiosk mode, follow these steps:
8990

91+
#### By Flutter Project
92+
If you have a Flutter project on your machine, you can simply enable kiosk mode by running the following command in your project directory:
93+
94+
```bash
95+
snapp_installer kiosk
96+
```
97+
98+
It will take care of the rest and run your Flutter app in kiosk mode.
99+
100+
#### By Flutter App Bundle
90101
1. **Build Your Flutter App**: Ensure you have built your Flutter app for the Linux platform in release mode. You can use the following command to generate the app bundle:
91102

92103
```bash
@@ -106,12 +117,6 @@ snapp_installer kiosk /home/pi/app/build/linux/arm64/release/bundle/app
106117
Ensure that the specified file path exists, points to an executable file, and is the path to your Flutter app bundle.
107118

108119

109-
Or you can run this command in a flutter project directory without specifying the path:
110-
111-
```bash
112-
snapp_installer kiosk
113-
```
114-
115120
**Auto Login**:
116121
Kiosk mode typically requires auto login on your Raspberry Pi. If auto login is not already enabled, snapp_installer will enable it for you.
117122

0 commit comments

Comments
 (0)