Keep track of the storage ID in each renderer Storage instance and pass
it to the IPC bridge. Jobs are dispatched to the relevant handler (only
saves/ for now) and all (de)compression is handled there.
Add dedicated fs-job types to read or write and (de)compress data
from/to the file picked by the user. Remove redundant utility functions
that used web APIs instead.
Also fix a few issues in Electron code. This is not as polished yet, UI
from old mod support was reused for now and is likely broken. Mods can
be loaded, but there isn't much QoL around the support for now.
* Remove ad support, analytics and Wegame leftovers
The game may be somewhat broken in a few places, but it doesn't matter
for now. This is still not the end.
* Remove Steam SSO and demo stuff
Steam SSO is completely removed, a few things from demo like simplified
level sets are gone as well. Puzzle DLC on the other hand is now always
"owned" and will ask for a token to log in.
Removes
* Use shapez dialogs for Puzzle DLC token input
Yes, this sucks *a lot*. But it's a temporary measure, trust me :P
* Simplify HTML tasks
Removes the web (demo) index.html page and makes HTML tasks independent
of the build variant. This might not be the best solution, but it works
for now.
Restriction manager is completely removed as it's only useful for demo
version. Lots of other demo-related things are left, such as ad support
or extended telemetry. This should be cleaned up later.
* Update Signal
* Update modal_dialogs
* Inputs
* Update factories
* Update tracked state
* Changed let to const where possible
* Add HUD typings
* improvements to typings
* fix exports not being exposed to mods
* fix signal typings
* remove TypedSignal
* fix all reported type errors
---------
Co-authored-by: Thomas B <t.ferb1@gmail.com>
Co-authored-by: EmeraldBlock <yygengjunior@gmail.com>