mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Allow changing keybindings in the demo version
This commit is contained in:
parent
6b5e83f905
commit
5cc6c05c71
@ -142,6 +142,11 @@ function gulptasksStandalone($, gulp, buildFolder) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(appPath, "LICENSE"),
|
||||||
|
fs.readFileSync(path.join(__dirname, "..", "LICENSE"))
|
||||||
|
);
|
||||||
|
|
||||||
const playablePath = appPath + "_playable";
|
const playablePath = appPath + "_playable";
|
||||||
fse.copySync(appPath, playablePath);
|
fse.copySync(appPath, playablePath);
|
||||||
fs.writeFileSync(path.join(playablePath, "steam_appid.txt"), "1134480");
|
fs.writeFileSync(path.join(playablePath, "steam_appid.txt"), "1134480");
|
||||||
@ -174,8 +179,8 @@ function gulptasksStandalone($, gulp, buildFolder) {
|
|||||||
"standalone.package.prod",
|
"standalone.package.prod",
|
||||||
$.sequence("standalone.prepare", [
|
$.sequence("standalone.prepare", [
|
||||||
"standalone.package.prod.win64",
|
"standalone.package.prod.win64",
|
||||||
// "standalone.package.prod.win32",
|
|
||||||
// "standalone.package.prod.linux64",
|
// "standalone.package.prod.linux64",
|
||||||
|
// "standalone.package.prod.win32",
|
||||||
// "standalone.package.prod.linux32",
|
// "standalone.package.prod.linux32",
|
||||||
// "standalone.package.prod.darwin64"
|
// "standalone.package.prod.darwin64"
|
||||||
])
|
])
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
export const CHANGELOG = [
|
export const CHANGELOG = [
|
||||||
{
|
{
|
||||||
version: "1.0.4",
|
version: "1.0.4",
|
||||||
date: "unreleased",
|
date: "26.05.2020",
|
||||||
entries: [
|
entries: [
|
||||||
"<strong>Balancing</strong> Reduce cost of first painting upgrade, and change 'Shape Processing' to 'Cutting, Rotating & Stacking'",
|
"<strong>Balancing</strong> Reduce cost of first painting upgrade, and change 'Shape Processing' to 'Cutting, Rotating & Stacking'",
|
||||||
"<strong>Tutorial</strong> Add dialog after completing level 2 to check out the upgrades tab.",
|
"<strong>Tutorial</strong> Add dialog after completing level 2 to check out the upgrades tab.",
|
||||||
|
"<strong>Misc</strong> Allow changing the keybindings in the demo version",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -94,7 +94,7 @@ export const globalConfig = {
|
|||||||
// showChunkBorders: true,
|
// showChunkBorders: true,
|
||||||
// rewardsInstant: true,
|
// rewardsInstant: true,
|
||||||
// allBuildingsUnlocked: true,
|
// allBuildingsUnlocked: true,
|
||||||
upgradesNoCost: true,
|
// upgradesNoCost: true,
|
||||||
// disableUnlockDialog: true,
|
// disableUnlockDialog: true,
|
||||||
// disableLogicTicks: true,
|
// disableLogicTicks: true,
|
||||||
// testClipping: true,
|
// testClipping: true,
|
||||||
@ -102,7 +102,7 @@ export const globalConfig = {
|
|||||||
// testTranslations: true,
|
// testTranslations: true,
|
||||||
// enableEntityInspector: true,
|
// enableEntityInspector: true,
|
||||||
// testAds: true,
|
// testAds: true,
|
||||||
disableMapOverview: true,
|
// disableMapOverview: true,
|
||||||
/* dev:end */
|
/* dev:end */
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -82,10 +82,10 @@ export class KeybindingsState extends TextualGameState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
editKeybinding(id) {
|
editKeybinding(id) {
|
||||||
if (IS_DEMO) {
|
// if (IS_DEMO) {
|
||||||
this.dialogs.showFeatureRestrictionInfo(T.demo.features.customizeKeybindings);
|
// this.dialogs.showFeatureRestrictionInfo(T.demo.features.customizeKeybindings);
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
const dialog = new Dialog({
|
const dialog = new Dialog({
|
||||||
app: this.app,
|
app: this.app,
|
||||||
|
Loading…
Reference in New Issue
Block a user