chia-blockchain-gui
chia-blockchain-gui copied to clipboard
GUI: Warn user if backend version is different
We can use the get_version
daemon command to determine if the backend version is different from the GUI version. If there's a mismatch, we should warn that the GUI may not behave properly. Or we could just not support it and force the app to quit.
'This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.'
Let's see if we can add a check for dev mode: process.env.NODE_ENV === 'development'
to suppress the alert if it would normally display.
PR: https://github.com/Chia-Network/chia-blockchain-gui/pull/1205
For any builds produced by CI, it's expected that installing/upgrading will keep the backend version and frontend version in lockstep. If installing from source, using our instructions to run install.sh
and install-gui.sh
should also keep the versions in sync. The GUI version comes from chia-blockchain-gui/packages/gui/package.json
in the version
field.