Skip to main content

parse_launch_options

Function parse_launch_options 

Source
pub(crate) fn parse_launch_options(
    app_args: &[Value],
    raw_name: &str,
    manifest: &AppManifest,
) -> (Vec<Value>, WindowLaunchConfig)
Expand description

アプリ起動引数からウィンドウ状態およびサイズに関するオプションをパースするヘルパー関数

状態オプション(normal 等)やサイズ指定(800x600 等)はアプリ本体への引数から除去されます。