crc-org / tray-electron

Archive of the Desktop/tray application of CRC Runs Containers
https://crc.dev
Apache License 2.0
4 stars 5 forks source link

tray shows status as Unknown on first start after on-boarding #192

Closed anjannath closed 2 years ago

anjannath commented 2 years ago

When the tray is started by the on-boarding wizard, the pollStatus function is not called, hence the correct status is not shown in the tray.

correct status is shown when the tray is started normally (without the on-boarding wizard), since that code path starts the status polling.

https://github.com/code-ready/tray-electron/blob/a52e41ab4f1b618fc0e7d5d320f6bed5b6f30c27/src/main.ts#L186-L187

anjannath commented 2 years ago

resolved via #193