@androperator/emulator-macos-tweaks 1.0.0 → 1.0.1
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/README.md +1 -1
- package/bin/androperator-emulator-tweaks.js +2 -1
- package/package.json +35 -7
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ To add support for a build, use an untouched, signature-verified vendor executab
|
|
|
100
100
|
|
|
101
101
|
The editable `assets/Emulator.icon` source uses a vector phone/Android symbol, white background, and Apple's native icon renderer. The bundled 32, 128 and 256 pixel PNGs were compiled with Xcode's asset compiler and palette-compressed to fit the emulator's allocations. Xcode is not required by CLI users. Native helper source is in `native/`; `node scripts/build-runtime.mjs` rebuilds the packaged arm64 helper and all five icons and writes their content manifest. Rebuild and run native verification after changing those sources; review the regenerated manifest and runtime files together.
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
Releases are prepared through reviewed PRs, then published from version tags using GitHub Trusted Publishing. See [the release guide](docs/releasing.md) and [release skill](.agents/skills/release-package/SKILL.md). On macOS, `npm run release:pack` validates a temporary installation of the archive without modifying your SDK. Publishing requires explicit authorization.
|
|
104
104
|
|
|
105
105
|
## License and attribution
|
|
106
106
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { parseArgs } from 'node:util';
|
|
3
|
+
import { readFileSync } from 'node:fs';
|
|
3
4
|
import { apply, restore, inspect } from '../src/core.js';
|
|
4
5
|
const help = `Usage: androperator-emulator-tweaks <status|apply|restore> [--accept-adhoc-signing] [--icons auto|phone] [--sdk PATH] [--backup-dir PATH] [--json]
|
|
5
6
|
|
|
@@ -23,7 +24,7 @@ try {
|
|
|
23
24
|
'accept-adhoc-signing': { type: 'boolean' }, icons: { type: 'string' }, sdk: { type: 'string' }, 'backup-dir': { type: 'string' }, json: { type: 'boolean' }, help: { type: 'boolean', short: 'h' }, version: { type: 'boolean', short: 'v' }
|
|
24
25
|
}});
|
|
25
26
|
if (values.help || !positionals.length && !values.version) console.log(help);
|
|
26
|
-
else if (values.version) console.log('
|
|
27
|
+
else if (values.version) console.log(JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version);
|
|
27
28
|
else {
|
|
28
29
|
if (positionals.length !== 1 || !['status', 'apply', 'restore'].includes(positionals[0])) throw new Error('Expected status, apply, or restore. Use --help.');
|
|
29
30
|
const command = positionals[0];
|
package/package.json
CHANGED
|
@@ -1,13 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@androperator/emulator-macos-tweaks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Reversible macOS tweaks for supported Android Emulator builds",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"bin": {
|
|
7
|
+
"androperator-emulator-tweaks": "bin/androperator-emulator-tweaks.js"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=22"
|
|
11
|
+
},
|
|
12
|
+
"os": [
|
|
13
|
+
"darwin"
|
|
14
|
+
],
|
|
9
15
|
"license": "Apache-2.0",
|
|
10
|
-
"publishConfig": {
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"bin",
|
|
21
|
+
"src",
|
|
22
|
+
"assets",
|
|
23
|
+
"NOTICE.md",
|
|
24
|
+
"LICENSE"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "node --test",
|
|
28
|
+
"prepack": "npm test",
|
|
29
|
+
"build:runtime": "node scripts/build-runtime.mjs",
|
|
30
|
+
"verify:icons": "node scripts/verify-icons.mjs",
|
|
31
|
+
"release:pack": "node scripts/release-pack.mjs"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/androperator/android-emulator-macos-tweaks.git"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/androperator/android-emulator-macos-tweaks#readme",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/androperator/android-emulator-macos-tweaks/issues"
|
|
40
|
+
}
|
|
13
41
|
}
|