Skip to content

Commit

Permalink
Version Number Fixes (#598)
Browse files Browse the repository at this point in the history
* Fix Build version in version.txt

* Add `Build #` Label to Main UI Window
  • Loading branch information
enusbaum authored Nov 12, 2023
1 parent 2c6e5ca commit 496293a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: DamianReeves/write-file-action@master
with:
path: MBBSEmu/Assets/version.txt
contents: $env.BUILD_VERSION
contents: ${{ env.BUILD_VERSION }}
write-mode: overwrite

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion MBBSEmu/UI/Main/MainView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public override void Setup()
//Status Bar
var telnetStatus = new StatusItem(Key.CharMask, $"~Telnet:~ {(_appSettingsManager.TelnetEnabled ? "ENABLED" : "DISABLED")}", null);
var rloginStatus = new StatusItem(Key.CharMask, $"~Rlogin:~ {(_appSettingsManager.RloginEnabled ? "ENABLED" : "DISABLED")}", null);
var statusBarName = new StatusItem(Key.CharMask, $"The MajorBBS Emulation Project ({new ResourceManager().GetString("MBBSEmu.Assets.version.txt")})", null);
var statusBarName = new StatusItem(Key.CharMask, $"The MajorBBS Emulation Project (Build #{new ResourceManager().GetString("MBBSEmu.Assets.version.txt")})", null);
var statusBar = new StatusBar(new[] { telnetStatus, rloginStatus, statusBarName })
{
Visible = true
Expand Down

0 comments on commit 496293a

Please sign in to comment.