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
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,13 +76,15 @@ Every step in the config file corresponds to one view in the application. These
76
76
-`confirm_button`: Display the content, as well as a button to allow the user to go to the next step.
77
77
-`call_button`: Display the content text and a button that runs a given command. After the command is run, a confirm button is displayed to allow the user to move to the next step.
78
78
-`call_button_with_input`: Display the content text, an input field and a button that runs a given command. The inputtext, can be used in the command by using the `<inputtext>` placeholder in the command field. After the command is run, a confirm button is displayed to allow the user to move to the next step.
79
+
-`link_button_with_confirm`: Display a button that opens a browser with a given link, confirm afterwards. Link is given in `link`.
79
80
-`content`: str; The content text displayed alongside the action of the step. Used to inform the user about whats going on.
80
81
-`command`: [ONLY for call_button* steps] str; This is a terminal command run in a shell. (For example fastboot or adb). There are three types of placeholders supported, that will be filled by the tool as soon as information is given.
81
-
-`<image>`: The path of the image file.
82
+
-`<image>`: The path of the ROM image file.
82
83
-`<recovery>`: The path of the recovery file.
83
84
-`<inputtext>`: Text from the user input from `call_button_with_input` views.
84
85
-`img`: [OPTIONAL] Display an image on the left pane of the step view. Images are loaded from `openandroidinstaller/assets/imgs/`.
85
86
-`allow_skip`: [OPTIONAL] boolean; If a skip button should be displayed to allow skipping this step. Can be useful when the bootloader is already unlocked.
87
+
-`link`: [OPTIONAL] Link to use for the link button if type is `link_button_with_confirm`.
86
88
87
89
The file should be named after device name output by `adb shell getprop | grep ro.poroduct.device` when the devices is connected to the computer. You can also get the device code by connecting the device to the computer and run OpenAndroidInstaller to detect the device.
0 commit comments