Platform specific build versions
This commit is contained in:
parent
88044403a5
commit
e71c5a0336
|
@ -2,7 +2,13 @@ import { getCommitID } from "./common/git"
|
|||
const pak = require("../package.json")
|
||||
|
||||
export const releaseChannel:"stable"|"canary"|"ptb"|"development" = "stable"
|
||||
export const version = "0.0.308"
|
||||
export let version
|
||||
if(process.platform === "darwin")
|
||||
version = "0.0.259"
|
||||
else if(process.platform === "linux")
|
||||
version = "0.0.12"
|
||||
else
|
||||
version = "0.0.308"
|
||||
export const commit = getCommitID()
|
||||
export default {
|
||||
releaseChannel,
|
||||
|
@ -14,4 +20,4 @@ global["BuildInfo"] = {
|
|||
releaseChannel,
|
||||
version: pak.version,
|
||||
commit
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue