Qt: Expand criteria for tag branch names (fixes #2679)

This commit is contained in:
Vicki Pfau 2022-10-14 23:35:32 -07:00
parent 277aa36d12
commit 64255a716b
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
0.10.1: (Future)
Other fixes:
- Qt: Manually split filename to avoid overzealous splitting (fixes mgba.io/i/2681)
- Qt: Expand criteria for tag branch names (fixes mgba.io/i/2679)
- Res: Fix species name location in Ruby/Sapphire revs 1/2 (fixes mgba.io/i/2685)
0.10.0: (2022-10-11)

View File

@ -73,7 +73,7 @@ QStringList ApplicationUpdater::listChannels() {
QString ApplicationUpdater::currentChannel() {
QLatin1String version(projectVersion);
QLatin1String branch(gitBranch);
if (branch == QLatin1String("heads/") + version) {
if (branch == QLatin1String("heads/") + version || branch == version) {
return QLatin1String("stable");
} else {
return QLatin1String("dev");