Skip to content

Commit 32aa27f

Browse files
committed
nicer version of version
1 parent 84372bf commit 32aa27f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Modules/Main.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1569,8 +1569,9 @@ end
15691569
function main:OpenOneDriveErrPopup(fileName)
15701570
ConPrintf("Error: OneDrive: file unreadable: %s", fileName or "?")
15711571
fileName = fileName and "\n\n^8'"..fileName.."'" or ""
1572+
local longVersion = "^8v"..launch.versionNumber..(launch.versionBranch == "dev" and " (Dev)" or launch.versionBranch == "beta" and " (Beta)" or "")
15721573
local title = " Cannot read file "
1573-
local msg = "\nMake sure OneDrive is running then restart "..APP_NAME.." and try again."..fileName.."\n\n^8v"..launch.versionNumber
1574+
local msg = "\nMake sure OneDrive is running then restart "..APP_NAME.." and try again."..fileName.."\n\n"..longVersion
15741575
local url = "https://github.com/PathOfBuildingCommunity/PathOfBuilding/wiki/OneDrive"
15751576
self.saveSettingsOnExit = false
15761577
local controls = { }

0 commit comments

Comments
 (0)