File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ Note that automatic updates are disabled in Dev Mode.
86
86
87
87
Sometimes you may need to force Dev mode OFF when running from the dev branch to debug a specific part of Path of Building (e.g. the update system).
88
88
89
- To do so [ comment out Line 54 to line 58 ] ( ./src/Launch.lua#L54-L58 ) of the [ Launch.lua] ( ./src/Launch.lua ) file:
89
+ To do so [ comment out Line 65 to line 69 ] ( ./src/Launch.lua#L65-L69 ) of the [ Launch.lua] ( ./src/Launch.lua ) file:
90
90
```
91
91
--if localManXML and not self.versionBranch and not self.versionPlatform then
92
92
-- -- Looks like a remote manifest, so we're probably running from a repository
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ function launch:OnInit()
21
21
self .versionNumber = " ?"
22
22
self .versionBranch = " ?"
23
23
self .versionPlatform = " ?"
24
+ self .versionCommitHashShort = " ?"
24
25
self .lastUpdateCheck = GetTime ()
25
26
self .subScripts = { }
26
27
self .startTime = startTime
@@ -47,6 +48,7 @@ function launch:OnInit()
47
48
if type (node ) == " table" then
48
49
if node .elem == " Version" then
49
50
self .versionNumber = node .attrib .number
51
+ self .versionCommitHashShort = node .attrib .hash
50
52
self .versionBranch = node .attrib .branch
51
53
self .versionPlatform = node .attrib .platform
52
54
end
You can’t perform that action at this time.
0 commit comments