mygo-cli 0.7.2 → 0.7.4

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 +9 -7
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -274,24 +274,26 @@ export interface WindowsConfig {
274
274
 
275
275
  /** Linux packaging. */
276
276
  export interface LinuxConfig {
277
- /** `Name <email>`, the maintainer of the Debian package (default: `author` in package.json, else the app's name). */
277
+ /** `Name <email>`, the maintainer of the Debian package and of the PKGBUILD (default: `author` in package.json, else the app's name). */
278
278
  maintainer?: string;
279
279
  /** A short description, for the desktop entry and the package. */
280
280
  comment?: string;
281
281
  /** The categories of the desktop entry (default: `["Utility"]`). */
282
282
  categories?: string[];
283
- /** Debian packages the app needs besides GTK and WebKitGTK. */
283
+ /** Debian packages the app needs besides GTK and WebKitGTK; the PKGBUILD depends on the Arch Linux packages of those MyGo knows. */
284
284
  depends?: string[];
285
285
  /**
286
286
  * `false` for an app that shows no web page, in a window or a `ui.WebView`,
287
- * as an app of native UI: its Debian package depends on GTK alone, and
287
+ * as an app of native UI: its Debian package and PKGBUILD depend on GTK alone, and
288
288
  * install.sh and `mygo doctor` do not ask for WebKitGTK (default: `true`).
289
289
  */
290
290
  webview?: boolean;
291
291
  /**
292
- * A command that runs the app, such as `my-app`: a link in `/usr/bin` from
293
- * the Debian package, and in `~/.local/bin` from install.sh (default: none;
294
- * the app opens from the applications menu).
292
+ * A command that runs the app, such as `my-app`, or a list of names, such
293
+ * as `["my-app", "ma"]`, which adds a short one: a link in `/usr/bin` from
294
+ * the Debian package and the PKGBUILD, and in `~/.local/bin` from install.sh, for each,
295
+ * which says to run the app by the first it links (default: none; the app
296
+ * opens from the applications menu).
295
297
  */
296
- command?: string;
298
+ command?: string | string[];
297
299
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mygo-cli",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
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.2",
44
- "@egoist/mygo-cli-darwin-x64": "0.7.2",
45
- "@egoist/mygo-cli-linux-arm64": "0.7.2",
46
- "@egoist/mygo-cli-linux-x64": "0.7.2",
47
- "@egoist/mygo-cli-win32-arm64": "0.7.2",
48
- "@egoist/mygo-cli-win32-x64": "0.7.2"
43
+ "@egoist/mygo-cli-darwin-arm64": "0.7.4",
44
+ "@egoist/mygo-cli-darwin-x64": "0.7.4",
45
+ "@egoist/mygo-cli-linux-arm64": "0.7.4",
46
+ "@egoist/mygo-cli-linux-x64": "0.7.4",
47
+ "@egoist/mygo-cli-win32-arm64": "0.7.4",
48
+ "@egoist/mygo-cli-win32-x64": "0.7.4"
49
49
  }
50
50
  }