mygo-cli 0.1.2 → 0.1.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 +11 -2
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -86,8 +86,10 @@ export interface Config {
86
86
  frontendDist?: string;
87
87
 
88
88
  /**
89
- * Files and directories copied into the app under their base names, next
90
- * to the contents of the project's resources directory.
89
+ * Files and directories copied into the app of every platform under their
90
+ * base names, next to the contents of the project's resources directory,
91
+ * whose directories named after a platform, such as
92
+ * `resources/linux-amd64`, hold the files of one platform.
91
93
  */
92
94
  resources?: string[];
93
95
  /** The URL schemes the app opens, such as `myapp` for `myapp://…`, which reach `App.OnOpenURL`. */
@@ -140,6 +142,13 @@ export interface MacOSConfig {
140
142
  signingIdentity?: string;
141
143
  /** A property list of entitlements to sign the app with. */
142
144
  entitlements?: string;
145
+ /**
146
+ * Property lists of entitlements for code among the resources, by its path
147
+ * there, e.g. `{ "bin/server": "server.entitlements.plist" }` for a helper
148
+ * that needs `com.apple.security.cs.allow-jit` under the hardened runtime.
149
+ * Other code keeps the entitlements it is signed with.
150
+ */
151
+ helperEntitlements?: Record<string, string>;
143
152
  /** Keys added to the app's Info.plist, replacing MyGo's, e.g. `NSCameraUsageDescription`. */
144
153
  infoPlist?: Record<string, unknown>;
145
154
  /** The volume name of the disk image (default: the name). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mygo-cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.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.1.2",
44
- "@egoist/mygo-cli-darwin-x64": "0.1.2",
45
- "@egoist/mygo-cli-linux-arm64": "0.1.2",
46
- "@egoist/mygo-cli-linux-x64": "0.1.2",
47
- "@egoist/mygo-cli-win32-arm64": "0.1.2",
48
- "@egoist/mygo-cli-win32-x64": "0.1.2"
43
+ "@egoist/mygo-cli-darwin-arm64": "0.1.4",
44
+ "@egoist/mygo-cli-darwin-x64": "0.1.4",
45
+ "@egoist/mygo-cli-linux-arm64": "0.1.4",
46
+ "@egoist/mygo-cli-linux-x64": "0.1.4",
47
+ "@egoist/mygo-cli-win32-arm64": "0.1.4",
48
+ "@egoist/mygo-cli-win32-x64": "0.1.4"
49
49
  }
50
50
  }