You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
## 📰 NEWS
2
+
- the physical dimensions of the screen can now be specified via cmdline, using the `--dimensions` option.
2
3
- the layout of the engine-binaries branch has changed again. The symbolic link from `libflutter_engine.so` to the fitting `libflutter_engine.so.release` or `libflutter_engine.so.debug` is no longer needed, flutter-pi will now dynamically load the engine fitting the the runtime mode that was specified via cmdline. (if `--release` is given, flutter-pi will load `libflutter_engine.so.release`, else `libflutter_engine.so.debug`)
3
4
- flutter-pi now requires `libsystemd-dev`, `libinput-dev` and `libudev-dev` at compile-time. (`libudev-dev` is actually optional. To build without udev support, use cmake.)
4
5
- flutter-pi and the engine binaries updated for flutter 1.20.
@@ -120,9 +121,11 @@ OPTIONS:
120
121
pattern you use as a parameter so it isn't
121
122
implicitly expanded by your shell.
122
123
123
-
--aotRun the app in AOT mode. The AOT snapshot
124
+
--release Run the app in release mode. The AOT snapshot
124
125
of the app ("app.so") must be located inside the
125
126
asset bundle directory.
127
+
This also requires a libflutter_engine.so that was
128
+
built with --runtime-mode=release.
126
129
127
130
-o, --orientation <orientation> Start the app in this orientation. Valid
128
131
for <orientation> are: portrait_up, landscape_left,
@@ -139,6 +142,13 @@ OPTIONS:
139
142
clock-wise.
140
143
Valid values are 0, 90, 180 and 270.
141
144
145
+
-d, --dimensions "width_mm,height_mm" The width & height of your display in
146
+
millimeters. Useful if your GPU doesn't provide
147
+
valid physical dimensions for your display.
148
+
The physical dimensions of your display are used
149
+
to calculate the flutter device-pixel-ratio, which
150
+
in turn basically "scales" the UI.
151
+
142
152
--no-text-input Disable text input from the console.
0 commit comments