mygo-cli 0.6.4 → 0.7.0
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.
- package/index.d.ts +23 -0
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -48,6 +48,17 @@ export interface ConfigEnv {
|
|
|
48
48
|
export interface Config {
|
|
49
49
|
/** The name users see: the app, its executable, menus and installers (default: the directory's name). */
|
|
50
50
|
name?: string;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the app's files where a name must be plain ASCII: the disk
|
|
53
|
+
* images of macOS and the installers of Windows, the Linux executable,
|
|
54
|
+
* desktop entry, icon and Debian package, the update archives of every
|
|
55
|
+
* platform, and the variables of the install scripts. Lower-case
|
|
56
|
+
* letters and digits with single hyphens between them (default: the name
|
|
57
|
+
* in lower case, with hyphens between its words and Chinese, Japanese and
|
|
58
|
+
* Korean in Latin letters, as `my-app` of "My App" and `yun-yin-le` of
|
|
59
|
+
* "云音乐").
|
|
60
|
+
*/
|
|
61
|
+
slug?: string;
|
|
51
62
|
/**
|
|
52
63
|
* A reverse DNS name unique to the app, such as `com.example.myapp`, on
|
|
53
64
|
* which systems key preferences, permissions and registrations (default:
|
|
@@ -58,6 +69,11 @@ export interface Config {
|
|
|
58
69
|
version?: string;
|
|
59
70
|
/** The copyright notice of the app. */
|
|
60
71
|
copyright?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Who makes the app, which Windows lists with the installed app (default:
|
|
74
|
+
* the copyright notice without its "©" and years).
|
|
75
|
+
*/
|
|
76
|
+
publisher?: string;
|
|
61
77
|
/** A square PNG, ideally 1024×1024 (default: `resources/icon.png` when it exists). */
|
|
62
78
|
icon?: string;
|
|
63
79
|
/** The Go package of the app, relative to the project (default: `.`). */
|
|
@@ -226,6 +242,13 @@ export interface NotarizeConfig {
|
|
|
226
242
|
|
|
227
243
|
/** Windows packaging. */
|
|
228
244
|
export interface WindowsConfig {
|
|
245
|
+
/**
|
|
246
|
+
* The name Windows shows the app by: its shortcuts, its entry in
|
|
247
|
+
* Settings > Apps, the installer's title and the executable's product
|
|
248
|
+
* name (default: the name). The executable and the install folder keep
|
|
249
|
+
* the name's, e.g. `天气助手` for an app named `weather`.
|
|
250
|
+
*/
|
|
251
|
+
displayName?: string;
|
|
229
252
|
/** A code signing certificate (.pfx); its password comes from `MYGO_WINDOWS_CERTIFICATE_PASSWORD`. */
|
|
230
253
|
certificate?: string;
|
|
231
254
|
/** Instead of `certificate`, a command that signs a file, with `%1` for its path. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mygo-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
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.
|
|
44
|
-
"@egoist/mygo-cli-darwin-x64": "0.
|
|
45
|
-
"@egoist/mygo-cli-linux-arm64": "0.
|
|
46
|
-
"@egoist/mygo-cli-linux-x64": "0.
|
|
47
|
-
"@egoist/mygo-cli-win32-arm64": "0.
|
|
48
|
-
"@egoist/mygo-cli-win32-x64": "0.
|
|
43
|
+
"@egoist/mygo-cli-darwin-arm64": "0.7.0",
|
|
44
|
+
"@egoist/mygo-cli-darwin-x64": "0.7.0",
|
|
45
|
+
"@egoist/mygo-cli-linux-arm64": "0.7.0",
|
|
46
|
+
"@egoist/mygo-cli-linux-x64": "0.7.0",
|
|
47
|
+
"@egoist/mygo-cli-win32-arm64": "0.7.0",
|
|
48
|
+
"@egoist/mygo-cli-win32-x64": "0.7.0"
|
|
49
49
|
}
|
|
50
50
|
}
|