#Dialog Icon
29 messages · Page 1 of 1 (latest)
Did you try the actual application after tauri build? iirc that has the correct icon but i'm not sure rn.
my question was how can i change that icon, will it always be the app's icon or can it be set dynamically?
i have not built it yet
as far as i know it can only be the app icon
can not test that my app does not open when i run the build version ha
but if you know of a gui framework that allows random icons please tell me and i'll try to find out how they do it.
classic 🙃
.open_devtools is not a method on Window, is that inteded on build? works fine in dev
yes
you can enable it by adding the "devtools" feature flag to the tauri dependency in cargo.toml
or guard the open_devtools call with a #[cfg(debug_assertions)] to only run it in dev & debug builds
tauri build --debug
it just tells rust how to compile the app, with or without optimizations
and i was just showing an option how to keep the open_devtools call without exposing the devtools to your endusers (who will get an app built with tauri build == with optimizations)
so the debug flag will allow dev features in the release build which i should not share?
yes
or well, that depends on you
if your app is open source for example i don't think it matters if users have access to the devtools
i mean, even discord has them enabled 🤷
or had, they removed it from stable because people where getting scammed lol
pretty sure users will find a way to open them anyway somehow so i take it as always accesible
in a tauri app, without the devtools feature flag that should be actually impossible.
not sure if i wanna make it os or a paid software
unless ofc there's a bug in the webview
do i need to specify something special in the config file so that the root html file is bundled with the actual release? i have not changed anything and kept the default svelte template
you mean create-tauri-app's svelte template?