![]() string: A non-configurable argument that is passed to the command in the order it was specified.ShellAllowedArg: A specific set of that are valid to call for the command configuration.Ī command argument allowed to be executed by the webview API.boolean: Use a simple boolean to allow all or disable all arguments to this command configuration.A list of will set those arguments as the only valid arguments to be passed to the attached command configuration. ![]() Increases the installer size by around 180MB.Ĭonfiguration for the MSI bundle using WiX.Ī set of command arguments allowed to be executed by the webview API.Ī value of true will allow any arguments to be passed to the command. : Embed a fixed webview2 version and use it at runtime.Note that for the updater bundle DownloadBootstrapper is used. The color of the window title depends on the system theme.Ĭonfiguration for the MSI generated with WiX. You need to define a custom drag region to make your window draggable, however due to a limitation you can't drag the window when it's not in focus. The height of the title bar is different on different OS versions, which can lead to window the controls and title not being where you don't expect. "Overlay": Shows the title bar as a transparent overlay over the window's content. Will be more useful when Tauri lets you set a custom window background color. This lets you avoid the caveats of using TitleBarStyle::Overlay. Useful if you don't need to have actual HTML under the title bar. "Transparent": Makes the title bar transparent, so the window background color is shown instead. How the window title bar should be displayed on macOS. For instance, to load tauri://localhost/users/john, you can simply provide users/john in this configuration. string: The path portion of an app URL.If the tabbing identifier is not set, automatic tabbing will be disabled.Īn URL to open on a Tauri webview window. Windows with matching tabbing identifiers will be grouped together. The configuration is composed of the following objects:ĭefines the window for macOS. In addition to the default configuration file, Tauri can read a platform-specific configuration from, , and (or, and if the Tauri.toml format is used), which gets merged with the main configuration object. The JSON5 file name must be either or 5. ![]() Tauri also supports JSON5 and TOML files via the config-json5 and config-toml Cargo features, respectively. File Formats īy default, the configuration is defined as a JSON file named. Once generated, you may modify it at will to customize your Tauri application. The configuration file is generated by the tauri init command that lives in your Tauri application source directory (src-tauri). It is read from a file where you can define your frontend assets, configure the bundler, enable the app updater, define a system tray, enable APIs via the allowlist and more. ![]()
0 Comments
Leave a Reply. |