feat(minor): Better showing of version info in firmware and cpn, remove seperate cpn32 build script (#1913)
* fix: Prevent potential wordsplitting of variables
* chore: Remove need for separate cpn 32bit script
* Build script tag/branch/PR auto-detection
* Teach companion about VERSION_TAG
* Update some constant names
* Only one companion build script
* Actually use `VERSION_SUFFIX` in about screen 🤦
* Add space
* Remove line that was only for testing 32bit build
* Remove hyphen between win and bits
* Show codename in Settings -> Version
* cpn: Only show codename on tagged versions
* Update about screen also
* Double quotes around codename on colorlcd
* Update copyright year
* About screen should use VERSION_TAG when set
This commit is contained in:
@@ -28,8 +28,12 @@ const uint8_t mask_qrcode[] = {
|
||||
};
|
||||
|
||||
constexpr coord_t ABOUT_WIDTH = 220;
|
||||
const std::string about_str = "EdgeTX" " " CODENAME " (" VERSION ")";
|
||||
const std::string copyright_str = "Copyright (C) 2021 EdgeTX";
|
||||
#if defined(VERSION_TAG)
|
||||
const std::string about_str = "EdgeTX" " " "\"" CODENAME "\" (" VERSION_TAG ")";
|
||||
#else
|
||||
const std::string about_str = "EdgeTX" " (" VERSION "-" VERSION_SUFFIX ")";
|
||||
#endif
|
||||
const std::string copyright_str = "Copyright (C) 2022 EdgeTX";
|
||||
|
||||
AboutUs::AboutUs() :
|
||||
MessageDialog(MainWindow::instance(), STR_ABOUT_US, "")
|
||||
|
||||
Reference in New Issue
Block a user