mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-03 20:43:56 -05:00
Format startup launch construction
This commit is contained in:
1 parent
90a460cc7d
commit
051c07ed61
1 file changed
+2
-1
@@ -374,7 +374,8 @@ fn main() -> eframe::Result {
|
||||
let frame = craft::window::policy::decide_for(craft::window::Prefix::new("PDFCRAFT"), craft::window::policy::Backend::from_env(), title_bar);
|
||||
let lang = startup_lang(saved_lang.as_deref(), &options);
|
||||
let choice = renderer_choice(std::env::var("PDFCRAFT_RENDERER").ok().as_deref());
|
||||
let launch = Launch { startup_time, files, options, control, create_images, combine, frame, lang, two_paged, nightly_watch: nightly_watch.clone() };
|
||||
let launch =
|
||||
Launch { startup_time, files, options, control, create_images, combine, frame, lang, two_paged, nightly_watch: nightly_watch.clone() };
|
||||
// Finder, Open With and the Dock deliver files as Apple events, not arguments; catch the one
|
||||
// that launched us as well as later ones. Lives until the event loop returns.
|
||||
#[cfg(target_os = "macos")]
|
||||
|
||||
Reference in new issue
Block a user