Merge branch 'Lightcord:master' into master

This commit is contained in:
smartfridge 2021-06-09 18:12:18 +02:00
commit f913227278
1 changed files with 9 additions and 7 deletions

View File

@ -1,14 +1,16 @@
import { getCommitID } from "./common/git"
const pak = require("../package.json")
export const releaseChannel:"stable"|"canary"|"ptb"|"development" = "stable"
type branch = "stable"|"canary"|"ptb"|"development";
const buildTargets = {
"darwin":"0.0.259",
"linux":"0.0.12",
}
export const releaseChannel:branch = "stable"
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"
buildTargets[process.platform] || "0.0.308"
export const commit = getCommitID()
export default {
releaseChannel,