craft-native 0.0.360 → 0.0.361
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/dist/cli.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3047,7 +3047,7 @@ function pinCraftNativeDependency(packagePath, craftVersion) {
|
|
|
3047
3047
|
`);
|
|
3048
3048
|
}
|
|
3049
3049
|
// package.json
|
|
3050
|
-
var version = "0.0.
|
|
3050
|
+
var version = "0.0.361";
|
|
3051
3051
|
|
|
3052
3052
|
// bin/cli.ts
|
|
3053
3053
|
var spawnedFrom = process6.env[CRAFT_CLI_SPAWN_MARKER];
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -662,6 +662,8 @@ export interface CraftAppAPI {
|
|
|
662
662
|
* Get application information
|
|
663
663
|
*/
|
|
664
664
|
getInfo(): Promise<AppInfo>;
|
|
665
|
+
/** Actual macOS application icon as a PNG data URL. Requires an absolute .app path. */
|
|
666
|
+
icon(path: string): Promise<string | null>;
|
|
665
667
|
/** Pin every native surface to Light, Dark, or the system setting. */
|
|
666
668
|
setAppearance(appearance: 'light' | 'dark' | 'system'): Promise<void>;
|
|
667
669
|
/** Read the app's effective Light/Dark appearance. */
|