@ovipakla/gm-cli 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/app.js +4 -3
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -87,7 +87,7 @@ function getPSMonitorRAMCommand(processName, interval, name) {
87
87
  }
88
88
 
89
89
  const program = new Command()
90
- .version('2.0.0', '-v, --version, ', 'output the current version');
90
+ .version('2.0.1', '-v, --version, ', 'output the current version');
91
91
 
92
92
  const config = program
93
93
  .command('config')
@@ -346,6 +346,7 @@ program
346
346
  clean: 'false',
347
347
  launch: 'PackageZip',
348
348
  name: packageGM.data.name,
349
+ zip: packageGM.data.name,
349
350
  yyp: path.basename(packageGM.data.main).replaceAll("\\", "/"),
350
351
  path: path.join(path.dirname(packageGM.file), path.dirname(packageGM.data.main)).replaceAll("\\", "/"),
351
352
  };
@@ -368,7 +369,7 @@ program
368
369
  }
369
370
 
370
371
  if (options.name !== undefined && typeof options.name === 'string' && options.name.trim() !== '') {
371
- config.name = options.name;
372
+ config.zip = options.name;
372
373
  }
373
374
 
374
375
  const shellScript = `#!/bin/bash
@@ -448,7 +449,7 @@ program
448
449
  exit 1
449
450
  fi
450
451
 
451
- zip_name=${config.name}
452
+ zip_name=${config.zip}
452
453
  echo $zip_name
453
454
  if [ -z "$zip_name" ]; then
454
455
  log_error "--name must be defined! exit 1"
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.0.0",
6
+ "version": "2.0.1",
7
7
  "description": "Gamemaker CLI toolkit. Watch & sync gml sources with yyp project.",
8
8
  "main": "app.js",
9
9
  "scripts": {},