1
0
mirror of https://github.com/Lightcord/Lightcord.git synced 2025-04-12 00:55:40 +02:00

Stop using elif chains, you twats.

This commit is contained in:
T•Ø•R•Ü•S 2021-05-15 08:19:47 +04:00 committed by GitHub
parent 17044e4a6d
commit 11aad62169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,