* trying to make app_id and class exchangeable
* still fails to hand over the argument
* make both app_id and class be set by command line arguments
* added missing cfg for class
* Changes as requested. Putting the os check in a block however doesn't
work for me
* getting rid of superfluous to_string()
* x11-class argument gets ignored
* changed argument name
* Update src/cmd_line.rs
* changed faulty unwrap
* added missing comma
* fixed wrong case
* fixed class
* make cargo fmt happy
* exchanged String::from with String::new
* make both attributes also overrideable via env::var
Co-authored-by: partizan <serg.partizan@gmail.com>
* refactor(keyboard_manager): Refactor KeyboardManager
This refactoring changes nothing in key handling behaviour, but moves
some code out of handle_event, to make thigs clearer.
* style(keyboard_manager): Move private functions to bottom
* Put Windows artefact in zip archive
This PR adds an extra step to the Windows pipeline to put the Windows artefact in a `.zip` archive.
A lot of places (specially companies) has proxies that outright blocks everything ending in `.exe` and this is a neat way to make it a bit easier to distribute from Github to those places.
* Correct zip output path
* Archive linux artifact
set_inner_size was using LogicalSize from current physical size,
it was working fine only for scaling=1.
Removing this leaves unmaximizing to winit, which does it correctly.
Also, replaced inverse scaling (like 1 / scaling) with natural scaling.
I think easier to work with natural scaling factor (like 1..2)
and multiplication, instead of inverse scaling factor and division.
Refs #771