mirror of https://github.com/mgba-emu/mgba.git
Qt: Expand criteria for tag branch names (fixes #2679)
This commit is contained in:
parent
277aa36d12
commit
64255a716b
1
CHANGES
1
CHANGES
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue