fix(app): only set application_id on Linux
This commit is contained in:
parent
6f5d096be2
commit
e380b2bd81
1 changed files with 4 additions and 1 deletions
|
|
@ -104,7 +104,10 @@ pub(crate) fn iced_settings<App: Application>(
|
||||||
let mut window_settings = iced::window::Settings::default();
|
let mut window_settings = iced::window::Settings::default();
|
||||||
window_settings.exit_on_close_request = exit_on_close;
|
window_settings.exit_on_close_request = exit_on_close;
|
||||||
iced.id = Some(App::APP_ID.to_owned());
|
iced.id = Some(App::APP_ID.to_owned());
|
||||||
window_settings.platform_specific.application_id = App::APP_ID.to_string();
|
#[cfg(target_os = "linux")]
|
||||||
|
{
|
||||||
|
window_settings.platform_specific.application_id = App::APP_ID.to_string();
|
||||||
|
}
|
||||||
core.exit_on_main_window_closed = exit_on_close;
|
core.exit_on_main_window_closed = exit_on_close;
|
||||||
|
|
||||||
if let Some(border_size) = settings.resizable {
|
if let Some(border_size) = settings.resizable {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue