@stacksjs/defaults 0.72.99 → 0.72.100
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.
|
@@ -116,6 +116,30 @@ Two things follow from declaring your own launcher:
|
|
|
116
116
|
for `127.0.0.1` rather than `NSAllowsArbitraryLoads`, which would additionally
|
|
117
117
|
permit every unencrypted host on the internet.
|
|
118
118
|
|
|
119
|
+
### Info.plist entries
|
|
120
|
+
|
|
121
|
+
`app/Desktop/Info.plist.json` is merged into the generated `Info.plist`. The
|
|
122
|
+
entries that matter most are the `NS*UsageDescription` strings — they are the
|
|
123
|
+
sentences a person reads when macOS asks whether your app may look in their
|
|
124
|
+
Downloads folder or drive Finder, and without them the prompt is generic or the
|
|
125
|
+
request is refused outright.
|
|
126
|
+
|
|
127
|
+
```json
|
|
128
|
+
{
|
|
129
|
+
"LSApplicationCategoryType": "public.app-category.utilities",
|
|
130
|
+
"NSDownloadsFolderUsageDescription": "MyApp scans your Downloads for large files.",
|
|
131
|
+
"NSAppleEventsUsageDescription": "MyApp asks Finder to move items to the Trash so deletions stay recoverable."
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
JSON, not XML: a malformed plist produces a bundle macOS silently refuses to
|
|
136
|
+
launch, which surfaces long after the build reported success. Strings, numbers,
|
|
137
|
+
booleans, arrays, and nested objects all render.
|
|
138
|
+
|
|
139
|
+
Keys the bundle must own — `CFBundleIdentifier`, `CFBundleExecutable`,
|
|
140
|
+
`CFBundleVersion`, and the rest of the identity — are ignored with a note.
|
|
141
|
+
Rewriting those produces a bundle that does not match what was signed.
|
|
142
|
+
|
|
119
143
|
Application data belongs in `~/Library/Application Support/<AppName>`, never
|
|
120
144
|
inside the bundle — `/Applications` is not writable by the user, and the bundle
|
|
121
145
|
is replaced wholesale on update.
|
package/ide/vscode/package.json
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.72.
|
|
5
|
+
"version": "0.72.100",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@iconify-json/f7": "^1.2.2",
|
|
53
53
|
"@iconify-json/hugeicons": "^1.2.27",
|
|
54
|
-
"@stacksjs/mobile": "^0.72.
|
|
54
|
+
"@stacksjs/mobile": "^0.72.100",
|
|
55
55
|
"@stacksjs/sanitizer": "^0.2.113"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|