Added GitID from MMDVMHost to Dashboard
This code should include a hyperlink to the GitID for MMDVMHost where the host version supports it.
See corresponding PR: 8073ff9a30
This commit is contained in:
parent
9a31e4e693
commit
8a68552445
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,11 @@ function getMMDVMHostVersion() {
|
||||||
return getMMDVMHostFileVersion();
|
return getMMDVMHostFileVersion();
|
||||||
} else {
|
} else {
|
||||||
showLapTime("getMMDVMHostVersion");
|
showLapTime("getMMDVMHostVersion");
|
||||||
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().")";
|
if (!startsWith(substr($output[0],31,8),"#")) {
|
||||||
|
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().")";
|
||||||
|
} else {
|
||||||
|
return substr($output[0],18,8)." (compiled ".getMMDVMHostFileVersion().", GitID #<a href=\"https://github.com/g4klx/MMDVMHost/commit/".substr($output[0],32,7)."\">".substr($output[0],32,7)."</a>)";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue