mygo-cli 0.7.1 → 0.7.3

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/index.d.ts +16 -1
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -202,7 +202,8 @@ export interface MacOSConfig {
202
202
  * app icon named `AppIcon`, unless `infoPlist` sets `CFBundleIconName`), or
203
203
  * an Icon Composer `.icon`, which builds compile on a Mac with Xcode 26 or
204
204
  * later and skip elsewhere. The `.icns` made from `icon` remains the
205
- * fallback.
205
+ * fallback. Or an `.icns` in place of the one made from `icon`, for an
206
+ * icon drawn per size.
206
207
  */
207
208
  icon?: string;
208
209
  /** The oldest macOS the app runs on (default: `12.0`). */
@@ -249,12 +250,26 @@ export interface WindowsConfig {
249
250
  * the name's, e.g. `天气助手` for an app named `weather`.
250
251
  */
251
252
  displayName?: string;
253
+ /**
254
+ * The name of the folder the installer installs the app in, in
255
+ * `%LOCALAPPDATA%\Programs` (default: the name), e.g. an ASCII `ZhiLian`
256
+ * for an app named `智链`, whose shortcuts and entry in Settings > Apps
257
+ * keep the name. Changing it moves new installs only.
258
+ */
259
+ installDirName?: string;
252
260
  /** A code signing certificate (.pfx); its password comes from `MYGO_WINDOWS_CERTIFICATE_PASSWORD`. */
253
261
  certificate?: string;
254
262
  /** Instead of `certificate`, a command that signs a file, with `%1` for its path. */
255
263
  signCommand?: string;
256
264
  /** The time stamping server of `certificate` (default: `http://timestamp.digicert.com`). */
257
265
  timestampUrl?: string;
266
+ /**
267
+ * An NSIS script that the installer includes, e.g. `build/installer.nsh`:
268
+ * the macros it defines among `customInit`, `customInstall` and
269
+ * `customUnInstall` run when the installer starts, at the end of the
270
+ * install, and in the uninstall before the app's folder is removed.
271
+ */
272
+ installerInclude?: string;
258
273
  }
259
274
 
260
275
  /** Linux packaging. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mygo-cli",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "The mygo command line tool: create, develop and package MyGo desktop apps",
5
5
  "keywords": [
6
6
  "mygo",
@@ -40,11 +40,11 @@
40
40
  "test": "bun test"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@egoist/mygo-cli-darwin-arm64": "0.7.1",
44
- "@egoist/mygo-cli-darwin-x64": "0.7.1",
45
- "@egoist/mygo-cli-linux-arm64": "0.7.1",
46
- "@egoist/mygo-cli-linux-x64": "0.7.1",
47
- "@egoist/mygo-cli-win32-arm64": "0.7.1",
48
- "@egoist/mygo-cli-win32-x64": "0.7.1"
43
+ "@egoist/mygo-cli-darwin-arm64": "0.7.3",
44
+ "@egoist/mygo-cli-darwin-x64": "0.7.3",
45
+ "@egoist/mygo-cli-linux-arm64": "0.7.3",
46
+ "@egoist/mygo-cli-linux-x64": "0.7.3",
47
+ "@egoist/mygo-cli-win32-arm64": "0.7.3",
48
+ "@egoist/mygo-cli-win32-x64": "0.7.3"
49
49
  }
50
50
  }