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;
|
||||
}
|
||||
|
||||
fs.writeFileSync(
|
||||
path.join(appPath, "LICENSE"),
|
||||
fs.readFileSync(path.join(__dirname, "..", "LICENSE"))
|
||||
);
|
||||
|
||||
const playablePath = appPath + "_playable";
|
||||
fse.copySync(appPath, playablePath);
|
||||
fs.writeFileSync(path.join(playablePath, "steam_appid.txt"), "1134480");
|
||||
@ -174,8 +179,8 @@ function gulptasksStandalone($, gulp, buildFolder) {
|
||||
"standalone.package.prod",
|
||||
$.sequence("standalone.prepare", [
|
||||
"standalone.package.prod.win64",
|
||||
// "standalone.package.prod.win32",
|
||||
// "standalone.package.prod.linux64",
|
||||
// "standalone.package.prod.win32",
|
||||
// "standalone.package.prod.linux32",
|
||||
// "standalone.package.prod.darwin64"
|
||||
])
|
||||
|
@ -1,10 +1,11 @@
|
||||
export const CHANGELOG = [
|
||||
{
|
||||
version: "1.0.4",
|
||||
date: "unreleased",
|
||||
date: "26.05.2020",
|
||||
entries: [
|
||||
"<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>Misc</strong> Allow changing the keybindings in the demo version",
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -94,7 +94,7 @@ export const globalConfig = {
|
||||
// showChunkBorders: true,
|
||||
// rewardsInstant: true,
|
||||
// allBuildingsUnlocked: true,
|
||||
upgradesNoCost: true,
|
||||
// upgradesNoCost: true,
|
||||
// disableUnlockDialog: true,
|
||||
// disableLogicTicks: true,
|
||||
// testClipping: true,
|
||||
@ -102,7 +102,7 @@ export const globalConfig = {
|
||||
// testTranslations: true,
|
||||
// enableEntityInspector: true,
|
||||
// testAds: true,
|
||||
disableMapOverview: true,
|
||||
// disableMapOverview: true,
|
||||
/* dev:end */
|
||||
},
|
||||
|
||||
|
@ -82,10 +82,10 @@ export class KeybindingsState extends TextualGameState {
|
||||
}
|
||||
|
||||
editKeybinding(id) {
|
||||
if (IS_DEMO) {
|
||||
this.dialogs.showFeatureRestrictionInfo(T.demo.features.customizeKeybindings);
|
||||
return;
|
||||
}
|
||||
// if (IS_DEMO) {
|
||||
// this.dialogs.showFeatureRestrictionInfo(T.demo.features.customizeKeybindings);
|
||||
// return;
|
||||
// }
|
||||
|
||||
const dialog = new Dialog({
|
||||
app: this.app,
|
||||
|
Loading…
Reference in New Issue
Block a user