mygo-cli 0.1.17 → 0.1.19

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 +12 -1
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -124,7 +124,12 @@ export interface UpdatesConfig {
124
124
  publicKey: string;
125
125
  /** A public GitHub repository, `owner/name`, whose releases hold the updates. */
126
126
  github?: string;
127
- /** What precedes the version in release tags (default: `v`). */
127
+ /**
128
+ * What precedes the version in release tags (default: `v`). Another prefix,
129
+ * such as `desktop-v`, lets the repository hold other releases: apps find
130
+ * the newest release tagged with it through the GitHub API instead of
131
+ * reading the latest release.
132
+ */
128
133
  tagPrefix?: string;
129
134
  /** Instead of `github`, the HTTPS URL of a directory holding the updates. */
130
135
  url?: string;
@@ -207,4 +212,10 @@ export interface LinuxConfig {
207
212
  categories?: string[];
208
213
  /** Debian packages the app needs besides GTK and WebKitGTK. */
209
214
  depends?: string[];
215
+ /**
216
+ * A command that runs the app, such as `my-app`: a link in `/usr/bin` from
217
+ * the Debian package, and in `~/.local/bin` from install.sh (default: none;
218
+ * the app opens from the applications menu).
219
+ */
220
+ command?: string;
210
221
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mygo-cli",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
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.1.17",
44
- "@egoist/mygo-cli-darwin-x64": "0.1.17",
45
- "@egoist/mygo-cli-linux-arm64": "0.1.17",
46
- "@egoist/mygo-cli-linux-x64": "0.1.17",
47
- "@egoist/mygo-cli-win32-arm64": "0.1.17",
48
- "@egoist/mygo-cli-win32-x64": "0.1.17"
43
+ "@egoist/mygo-cli-darwin-arm64": "0.1.19",
44
+ "@egoist/mygo-cli-darwin-x64": "0.1.19",
45
+ "@egoist/mygo-cli-linux-arm64": "0.1.19",
46
+ "@egoist/mygo-cli-linux-x64": "0.1.19",
47
+ "@egoist/mygo-cli-win32-arm64": "0.1.19",
48
+ "@egoist/mygo-cli-win32-x64": "0.1.19"
49
49
  }
50
50
  }