diff --git a/src/buildInfo.ts b/src/buildInfo.ts index f987c8e..72fc5bc 100644 --- a/src/buildInfo.ts +++ b/src/buildInfo.ts @@ -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 -} \ No newline at end of file +}