alvr / ASFui

User Interface for JustArchi/ArchiSteamFarm
https://www.steamgifts.com/discussion/eT97I/
37 stars 16 forks source link

little fix for botlist at start #11

Closed KlappPc closed 7 years ago

KlappPc commented 7 years ago

Can I edit the title? Is now something more than that... anyways..:

Already fixed in last Pullrequest: https://github.com/alvr/ASFui/issues/12.

Botlist is now gathered in the beginning from the files in the config folder. (So no statusAll is send at all in the start) (manual refresh still uses statusall) (Fixes: https://www.steamgifts.com/discussion/eT97I/asfui-archisteamfarm-user-interface-asf-gui/search?page=3#qDV2rGx)

ASF.json is checked for OwnerId, Language and AutoRestart. Alle values are modified, if needed.

exit Event is now properly caught and if ASF exits (after update/config edit/by kill process) is is automatically restarted. Maybe add a config option if it should restart ASF.

The key removal Process is reworked. Tested it a bit, but I'm on cooldown everywhere now... but should work better (should have worked before as well, but ... Computers and stuff ;-) Should fix: https://github.com/alvr/ASFui/issues/10 and https://github.com/alvr/ASFui/issues/8

Reduced the amount of redundant code in the button_clicked area.