mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Adjustments for steam china
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
* chineseVersion?: boolean,
|
||||
* wegameVersion?: boolean,
|
||||
* steamDemo?: boolean,
|
||||
* steamIsbnVersion?: boolean,
|
||||
* gogVersion?: boolean
|
||||
* }}>}
|
||||
*/
|
||||
@@ -63,6 +64,13 @@ const BUILD_VARIANTS = {
|
||||
wegameVersion: true,
|
||||
},
|
||||
},
|
||||
"standalone-steam-isbn": {
|
||||
standalone: true,
|
||||
electronBaseDir: "electron_steam_isbn",
|
||||
buildArgs: {
|
||||
steamIsbnVersion: true,
|
||||
},
|
||||
},
|
||||
"standalone-gog": {
|
||||
standalone: true,
|
||||
electronBaseDir: "electron_gog",
|
||||
|
||||
@@ -10,6 +10,7 @@ module.exports = ({
|
||||
standalone = false,
|
||||
chineseVersion = false,
|
||||
wegameVersion = false,
|
||||
steamIsbnVersion = false,
|
||||
steamDemo = false,
|
||||
gogVersion = false,
|
||||
}) => {
|
||||
@@ -39,6 +40,8 @@ module.exports = ({
|
||||
G_APP_ENVIRONMENT: JSON.stringify("dev"),
|
||||
G_CHINA_VERSION: JSON.stringify(chineseVersion),
|
||||
G_WEGAME_VERSION: JSON.stringify(wegameVersion),
|
||||
G_ISBN_VERSION: JSON.stringify(wegameVersion || steamIsbnVersion),
|
||||
G_STEAM_ISBN_VERSION: JSON.stringify(steamIsbnVersion),
|
||||
G_GOG_VERSION: JSON.stringify(gogVersion),
|
||||
G_IS_DEV: "true",
|
||||
G_IS_RELEASE: "false",
|
||||
|
||||
@@ -17,6 +17,7 @@ module.exports = ({
|
||||
|
||||
chineseVersion = false,
|
||||
wegameVersion = false,
|
||||
steamIsbnVersion = false,
|
||||
steamDemo = false,
|
||||
gogVersion = false,
|
||||
}) => {
|
||||
@@ -28,6 +29,8 @@ module.exports = ({
|
||||
|
||||
G_CHINA_VERSION: JSON.stringify(chineseVersion),
|
||||
G_WEGAME_VERSION: JSON.stringify(wegameVersion),
|
||||
G_ISBN_VERSION: JSON.stringify(wegameVersion || steamIsbnVersion),
|
||||
G_STEAM_ISBN_VERSION: JSON.stringify(steamIsbnVersion),
|
||||
G_GOG_VERSION: JSON.stringify(gogVersion),
|
||||
G_IS_RELEASE: environment === "prod" ? "true" : "false",
|
||||
G_IS_STANDALONE: standalone ? "true" : "false",
|
||||
|
||||
Reference in New Issue
Block a user