node-simctl 7.3.5 → 7.3.7
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/CHANGELOG.md +14 -0
- package/build/lib/simctl.d.ts +56 -4
- package/build/lib/simctl.d.ts.map +1 -1
- package/build/lib/simctl.js +77 -9
- package/build/lib/simctl.js.map +1 -1
- package/build/lib/subcommands/addmedia.d.ts +2 -1
- package/build/lib/subcommands/addmedia.d.ts.map +1 -1
- package/build/lib/subcommands/addmedia.js +1 -0
- package/build/lib/subcommands/addmedia.js.map +1 -1
- package/build/lib/subcommands/appinfo.d.ts +2 -1
- package/build/lib/subcommands/appinfo.d.ts.map +1 -1
- package/build/lib/subcommands/appinfo.js +1 -0
- package/build/lib/subcommands/appinfo.js.map +1 -1
- package/build/lib/subcommands/boot.d.ts +2 -1
- package/build/lib/subcommands/boot.d.ts.map +1 -1
- package/build/lib/subcommands/boot.js +1 -0
- package/build/lib/subcommands/boot.js.map +1 -1
- package/build/lib/subcommands/bootstatus.d.ts +2 -1
- package/build/lib/subcommands/bootstatus.d.ts.map +1 -1
- package/build/lib/subcommands/bootstatus.js +1 -0
- package/build/lib/subcommands/bootstatus.js.map +1 -1
- package/build/lib/subcommands/create.d.ts +2 -1
- package/build/lib/subcommands/create.d.ts.map +1 -1
- package/build/lib/subcommands/create.js +1 -0
- package/build/lib/subcommands/create.js.map +1 -1
- package/build/lib/subcommands/delete.d.ts +2 -1
- package/build/lib/subcommands/delete.d.ts.map +1 -1
- package/build/lib/subcommands/delete.js +1 -0
- package/build/lib/subcommands/delete.js.map +1 -1
- package/build/lib/subcommands/erase.d.ts +2 -1
- package/build/lib/subcommands/erase.d.ts.map +1 -1
- package/build/lib/subcommands/erase.js +1 -0
- package/build/lib/subcommands/erase.js.map +1 -1
- package/build/lib/subcommands/get_app_container.d.ts +2 -1
- package/build/lib/subcommands/get_app_container.d.ts.map +1 -1
- package/build/lib/subcommands/get_app_container.js +1 -0
- package/build/lib/subcommands/get_app_container.js.map +1 -1
- package/build/lib/subcommands/getenv.d.ts +2 -1
- package/build/lib/subcommands/getenv.d.ts.map +1 -1
- package/build/lib/subcommands/getenv.js +1 -0
- package/build/lib/subcommands/getenv.js.map +1 -1
- package/build/lib/subcommands/install.d.ts +2 -1
- package/build/lib/subcommands/install.d.ts.map +1 -1
- package/build/lib/subcommands/install.js +1 -0
- package/build/lib/subcommands/install.js.map +1 -1
- package/build/lib/subcommands/io.d.ts +2 -1
- package/build/lib/subcommands/io.d.ts.map +1 -1
- package/build/lib/subcommands/io.js +1 -0
- package/build/lib/subcommands/io.js.map +1 -1
- package/build/lib/subcommands/keychain.d.ts +6 -3
- package/build/lib/subcommands/keychain.d.ts.map +1 -1
- package/build/lib/subcommands/keychain.js +9 -1
- package/build/lib/subcommands/keychain.js.map +1 -1
- package/build/lib/subcommands/launch.d.ts +2 -1
- package/build/lib/subcommands/launch.d.ts.map +1 -1
- package/build/lib/subcommands/launch.js +1 -0
- package/build/lib/subcommands/launch.js.map +1 -1
- package/build/lib/subcommands/list.d.ts +12 -6
- package/build/lib/subcommands/list.d.ts.map +1 -1
- package/build/lib/subcommands/list.js +6 -1
- package/build/lib/subcommands/list.js.map +1 -1
- package/build/lib/subcommands/location.d.ts +6 -3
- package/build/lib/subcommands/location.d.ts.map +1 -1
- package/build/lib/subcommands/location.js +4 -1
- package/build/lib/subcommands/location.js.map +1 -1
- package/build/lib/subcommands/openurl.d.ts +2 -1
- package/build/lib/subcommands/openurl.d.ts.map +1 -1
- package/build/lib/subcommands/openurl.js +1 -0
- package/build/lib/subcommands/openurl.js.map +1 -1
- package/build/lib/subcommands/pbcopy.d.ts +4 -3
- package/build/lib/subcommands/pbcopy.d.ts.map +1 -1
- package/build/lib/subcommands/pbcopy.js +9 -6
- package/build/lib/subcommands/pbcopy.js.map +1 -1
- package/build/lib/subcommands/pbpaste.d.ts +2 -1
- package/build/lib/subcommands/pbpaste.d.ts.map +1 -1
- package/build/lib/subcommands/pbpaste.js +1 -0
- package/build/lib/subcommands/pbpaste.js.map +1 -1
- package/build/lib/subcommands/privacy.d.ts +6 -3
- package/build/lib/subcommands/privacy.d.ts.map +1 -1
- package/build/lib/subcommands/privacy.js +3 -0
- package/build/lib/subcommands/privacy.js.map +1 -1
- package/build/lib/subcommands/push.d.ts +2 -1
- package/build/lib/subcommands/push.d.ts.map +1 -1
- package/build/lib/subcommands/push.js +1 -0
- package/build/lib/subcommands/push.js.map +1 -1
- package/build/lib/subcommands/shutdown.d.ts +2 -1
- package/build/lib/subcommands/shutdown.d.ts.map +1 -1
- package/build/lib/subcommands/shutdown.js +1 -0
- package/build/lib/subcommands/shutdown.js.map +1 -1
- package/build/lib/subcommands/spawn.d.ts +4 -2
- package/build/lib/subcommands/spawn.d.ts.map +1 -1
- package/build/lib/subcommands/spawn.js +2 -0
- package/build/lib/subcommands/spawn.js.map +1 -1
- package/build/lib/subcommands/terminate.d.ts +2 -1
- package/build/lib/subcommands/terminate.d.ts.map +1 -1
- package/build/lib/subcommands/terminate.js +1 -0
- package/build/lib/subcommands/terminate.js.map +1 -1
- package/build/lib/subcommands/ui.d.ts +4 -2
- package/build/lib/subcommands/ui.d.ts.map +1 -1
- package/build/lib/subcommands/ui.js +2 -0
- package/build/lib/subcommands/ui.js.map +1 -1
- package/build/lib/subcommands/uninstall.d.ts +2 -1
- package/build/lib/subcommands/uninstall.d.ts.map +1 -1
- package/build/lib/subcommands/uninstall.js +1 -0
- package/build/lib/subcommands/uninstall.js.map +1 -1
- package/lib/simctl.js +101 -10
- package/lib/subcommands/addmedia.js +1 -0
- package/lib/subcommands/appinfo.js +1 -0
- package/lib/subcommands/boot.js +1 -0
- package/lib/subcommands/bootstatus.js +1 -0
- package/lib/subcommands/create.js +1 -0
- package/lib/subcommands/delete.js +1 -0
- package/lib/subcommands/erase.js +1 -0
- package/lib/subcommands/get_app_container.js +1 -0
- package/lib/subcommands/getenv.js +1 -0
- package/lib/subcommands/install.js +1 -0
- package/lib/subcommands/io.js +1 -0
- package/lib/subcommands/keychain.js +9 -1
- package/lib/subcommands/launch.js +1 -0
- package/lib/subcommands/list.js +6 -1
- package/lib/subcommands/location.js +4 -1
- package/lib/subcommands/openurl.js +1 -0
- package/lib/subcommands/pbcopy.js +9 -6
- package/lib/subcommands/pbpaste.js +1 -0
- package/lib/subcommands/privacy.js +3 -0
- package/lib/subcommands/push.js +1 -0
- package/lib/subcommands/shutdown.js +1 -0
- package/lib/subcommands/spawn.js +2 -0
- package/lib/subcommands/terminate.js +1 -0
- package/lib/subcommands/ui.js +2 -0
- package/lib/subcommands/uninstall.js +1 -0
- package/package.json +1 -1
- package/build/lib/subcommands/index.d.ts +0 -3
- package/build/lib/subcommands/index.d.ts.map +0 -1
- package/build/lib/subcommands/index.js +0 -34
- package/build/lib/subcommands/index.js.map +0 -1
- package/lib/subcommands/index.js +0 -56
|
@@ -4,6 +4,7 @@ const commands = {};
|
|
|
4
4
|
/**
|
|
5
5
|
* Retrieves the value of a Simulator environment variable
|
|
6
6
|
*
|
|
7
|
+
* @this {import('../simctl').Simctl}
|
|
7
8
|
* @param {string} varName - The name of the variable to be retrieved
|
|
8
9
|
* @returns {Promise<string|null>} The value of the variable or null if the given variable
|
|
9
10
|
* is not present in the Simulator environment
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getenv.js","sourceRoot":"","sources":["../../../lib/subcommands/getenv.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB
|
|
1
|
+
{"version":3,"file":"getenv.js","sourceRoot":"","sources":["../../../lib/subcommands/getenv.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;;;;GASG;AACH,QAAQ,CAAC,MAAM,GAAG,KAAK,UAAU,MAAM,CAAE,OAAO;IAC9C,MAAM,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;QACjD,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAC3C,SAAS,EAAE,KAAK;KACjB,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;AAChC,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -4,12 +4,13 @@ declare namespace commands {
|
|
|
4
4
|
* Install the particular application package on Simulator.
|
|
5
5
|
* It is required that Simulator is in _booted_ state.
|
|
6
6
|
*
|
|
7
|
+
* @this {import('../simctl').Simctl}
|
|
7
8
|
* @param {string} appPath - Full path to .app package, which is
|
|
8
9
|
* going to be installed.
|
|
9
10
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
10
11
|
* returns non-zero return code.
|
|
11
12
|
* @throws {Error} If the `udid` instance property is unset
|
|
12
13
|
*/
|
|
13
|
-
function installApp(appPath: string): Promise<void>;
|
|
14
|
+
function installApp(this: import("../simctl").default, appPath: string): Promise<void>;
|
|
14
15
|
}
|
|
15
16
|
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/install.js"],"names":[],"mappings":";;IAEA
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/install.js"],"names":[],"mappings":";;IAEA;;;;;;;;;;OAUG;IACH,uFAIC"}
|
|
@@ -5,6 +5,7 @@ const commands = {};
|
|
|
5
5
|
* Install the particular application package on Simulator.
|
|
6
6
|
* It is required that Simulator is in _booted_ state.
|
|
7
7
|
*
|
|
8
|
+
* @this {import('../simctl').Simctl}
|
|
8
9
|
* @param {string} appPath - Full path to .app package, which is
|
|
9
10
|
* going to be installed.
|
|
10
11
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../../lib/subcommands/install.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB
|
|
1
|
+
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../../lib/subcommands/install.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;;;;;GAUG;AACH,QAAQ,CAAC,UAAU,GAAG,KAAK,UAAU,UAAU,CAAE,OAAO;IACtD,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;QACzB,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;KAC7C,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -4,12 +4,13 @@ declare namespace commands {
|
|
|
4
4
|
* Gets base64 screenshot for device
|
|
5
5
|
* It is required that Simulator is in _booted_ state.
|
|
6
6
|
*
|
|
7
|
+
* @this {import('../simctl').Simctl}
|
|
7
8
|
* @since Xcode SDK 8.1
|
|
8
9
|
* @return {Promise<string>} Base64-encoded Simulator screenshot.
|
|
9
10
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
10
11
|
* returns non-zero return code.
|
|
11
12
|
* @throws {Error} If the `udid` instance property is unset
|
|
12
13
|
*/
|
|
13
|
-
function getScreenshot(): Promise<string>;
|
|
14
|
+
function getScreenshot(this: import("../simctl").default): Promise<string>;
|
|
14
15
|
}
|
|
15
16
|
//# sourceMappingURL=io.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/io.js"],"names":[],"mappings":";;IAQA
|
|
1
|
+
{"version":3,"file":"io.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/io.js"],"names":[],"mappings":";;IAQA;;;;;;;;;;OAUG;IACH,2EAWC"}
|
|
@@ -13,6 +13,7 @@ const commands = {};
|
|
|
13
13
|
* Gets base64 screenshot for device
|
|
14
14
|
* It is required that Simulator is in _booted_ state.
|
|
15
15
|
*
|
|
16
|
+
* @this {import('../simctl').Simctl}
|
|
16
17
|
* @since Xcode SDK 8.1
|
|
17
18
|
* @return {Promise<string>} Base64-encoded Simulator screenshot.
|
|
18
19
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io.js","sourceRoot":"","sources":["../../../lib/subcommands/io.js"],"names":[],"mappings":";;;;;AAAA,mCAAgC;AAChC,+BAAoC;AACpC,gDAAwB;AACxB,4CAAoB;AACpB,2DAA6B;AAE7B,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB
|
|
1
|
+
{"version":3,"file":"io.js","sourceRoot":"","sources":["../../../lib/subcommands/io.js"],"names":[],"mappings":";;;;;AAAA,mCAAgC;AAChC,+BAAoC;AACpC,gDAAwB;AACxB,4CAAoB;AACpB,2DAA6B;AAE7B,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;;;;;GAUG;AACH,QAAQ,CAAC,aAAa,GAAG,KAAK,UAAU,aAAa;IACnD,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAC/C,MAAM,mBAAmB,GAAG,cAAI,CAAC,OAAO,CAAC,YAAE,CAAC,MAAM,EAAE,EAAE,GAAG,IAAA,SAAM,GAAE,MAAM,CAAC,CAAC;IACzE,IAAI;QACF,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACpB,IAAI,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,mBAAmB,CAAC;SAChD,CAAC,CAAC;QACH,OAAO,CAAC,MAAM,kBAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;KACpE;YAAS;QACR,MAAM,IAAA,eAAM,EAAC,mBAAmB,CAAC,CAAC;KACnC;AACH,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -18,6 +18,7 @@ declare namespace commands {
|
|
|
18
18
|
* Adds the given certificate to the Trusted Root Store on the simulator
|
|
19
19
|
*
|
|
20
20
|
* @since Xcode 11.4 SDK
|
|
21
|
+
* @this {import('../simctl').Simctl}
|
|
21
22
|
* @param {string} cert the full path to a valid .cert file containing
|
|
22
23
|
* the certificate content or the certificate content itself, depending on
|
|
23
24
|
* options
|
|
@@ -26,11 +27,12 @@ declare namespace commands {
|
|
|
26
27
|
* or there was an error while adding the certificate
|
|
27
28
|
* @throws {Error} If the `udid` instance property is unset
|
|
28
29
|
*/
|
|
29
|
-
function addRootCertificate(cert: string, opts?: CertOptions | undefined): Promise<void>;
|
|
30
|
+
function addRootCertificate(this: import("../simctl").default, cert: string, opts?: CertOptions | undefined): Promise<void>;
|
|
30
31
|
/**
|
|
31
32
|
* Adds the given certificate to the Keychain Store on the simulator
|
|
32
33
|
*
|
|
33
34
|
* @since Xcode 11.4 SDK
|
|
35
|
+
* @this {import('../simctl').Simctl}
|
|
34
36
|
* @param {string} cert the full path to a valid .cert file containing
|
|
35
37
|
* the certificate content or the certificate content itself, depending on
|
|
36
38
|
* options
|
|
@@ -39,15 +41,16 @@ declare namespace commands {
|
|
|
39
41
|
* or there was an error while adding the certificate
|
|
40
42
|
* @throws {Error} If the `udid` instance property is unset
|
|
41
43
|
*/
|
|
42
|
-
function addCertificate(cert: string, opts?: CertOptions | undefined): Promise<void>;
|
|
44
|
+
function addCertificate(this: import("../simctl").default, cert: string, opts?: CertOptions | undefined): Promise<void>;
|
|
43
45
|
/**
|
|
44
46
|
* Resets the simulator keychain
|
|
45
47
|
*
|
|
46
48
|
* @since Xcode 11.4 SDK
|
|
49
|
+
* @this {import('../simctl').Simctl}
|
|
47
50
|
* @throws {Error} if the current SDK version does not support the command
|
|
48
51
|
* or there was an error while resetting the keychain
|
|
49
52
|
* @throws {Error} If the `udid` instance property is unset
|
|
50
53
|
*/
|
|
51
|
-
function resetKeychain(): Promise<void>;
|
|
54
|
+
function resetKeychain(this: import("../simctl").default): Promise<void>;
|
|
52
55
|
}
|
|
53
56
|
//# sourceMappingURL=keychain.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keychain.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/keychain.js"],"names":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"keychain.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/keychain.js"],"names":[],"mappings":";;;;;;;;;;IA6BA;;;;;OAKG;IAEH;;;;;;;;;;;;OAYG;IACH,4HAYC;IAED;;;;;;;;;;;;OAYG;IACH,wHAYC;IAED;;;;;;;;OAQG;IACH,yEAIC"}
|
|
@@ -10,6 +10,11 @@ const path_1 = __importDefault(require("path"));
|
|
|
10
10
|
const lodash_1 = __importDefault(require("lodash"));
|
|
11
11
|
const rimraf_1 = require("rimraf");
|
|
12
12
|
const commands = {};
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param {string|Buffer} payload
|
|
16
|
+
* @param {(filePath: string) => Promise<any>} onPayloadStored
|
|
17
|
+
*/
|
|
13
18
|
async function handleRawPayload(payload, onPayloadStored) {
|
|
14
19
|
const filePath = path_1.default.resolve(os_1.default.tmpdir(), `${(0, uuid_1.v4)()}.pem`);
|
|
15
20
|
try {
|
|
@@ -35,6 +40,7 @@ async function handleRawPayload(payload, onPayloadStored) {
|
|
|
35
40
|
* Adds the given certificate to the Trusted Root Store on the simulator
|
|
36
41
|
*
|
|
37
42
|
* @since Xcode 11.4 SDK
|
|
43
|
+
* @this {import('../simctl').Simctl}
|
|
38
44
|
* @param {string} cert the full path to a valid .cert file containing
|
|
39
45
|
* the certificate content or the certificate content itself, depending on
|
|
40
46
|
* options
|
|
@@ -45,7 +51,7 @@ async function handleRawPayload(payload, onPayloadStored) {
|
|
|
45
51
|
*/
|
|
46
52
|
commands.addRootCertificate = async function addRootCertificate(cert, opts = {}) {
|
|
47
53
|
const { raw = false, } = opts;
|
|
48
|
-
const execMethod = async (certPath) => await this.exec('keychain', {
|
|
54
|
+
const execMethod = async (/** @type {string} */ certPath) => await this.exec('keychain', {
|
|
49
55
|
args: [this.requireUdid('keychain add-root-cert'), 'add-root-cert', certPath],
|
|
50
56
|
});
|
|
51
57
|
if (raw) {
|
|
@@ -59,6 +65,7 @@ commands.addRootCertificate = async function addRootCertificate(cert, opts = {})
|
|
|
59
65
|
* Adds the given certificate to the Keychain Store on the simulator
|
|
60
66
|
*
|
|
61
67
|
* @since Xcode 11.4 SDK
|
|
68
|
+
* @this {import('../simctl').Simctl}
|
|
62
69
|
* @param {string} cert the full path to a valid .cert file containing
|
|
63
70
|
* the certificate content or the certificate content itself, depending on
|
|
64
71
|
* options
|
|
@@ -83,6 +90,7 @@ commands.addCertificate = async function addCertificate(cert, opts = {}) {
|
|
|
83
90
|
* Resets the simulator keychain
|
|
84
91
|
*
|
|
85
92
|
* @since Xcode 11.4 SDK
|
|
93
|
+
* @this {import('../simctl').Simctl}
|
|
86
94
|
* @throws {Error} if the current SDK version does not support the command
|
|
87
95
|
* or there was an error while resetting the keychain
|
|
88
96
|
* @throws {Error} If the `udid` instance property is unset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keychain.js","sourceRoot":"","sources":["../../../lib/subcommands/keychain.js"],"names":[],"mappings":";;;;;AAAA,4CAAoB;AACpB,2DAA6B;AAC7B,+BAAoC;AACpC,gDAAwB;AACxB,oDAAuB;AACvB,mCAAgC;AAEhC,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB,KAAK,UAAU,gBAAgB,CAAE,OAAO,EAAE,eAAe;IACvD,MAAM,QAAQ,GAAG,cAAI,CAAC,OAAO,CAAC,YAAE,CAAC,MAAM,EAAE,EAAE,GAAG,IAAA,SAAM,GAAE,MAAM,CAAC,CAAC;IAC9D,IAAI;QACF,IAAI,gBAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;YACvB,MAAM,kBAAE,CAAC,SAAS,CAAC,QA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is in _booted_ state and
|
|
6
6
|
* the application with given bundle identifier is already installed.
|
|
7
7
|
*
|
|
8
|
+
* @this {import('../simctl').Simctl}
|
|
8
9
|
* @param {string} bundleId - Bundle identifier of the application,
|
|
9
10
|
* which is going to be removed.
|
|
10
11
|
* @param {number} [tries=5] - The maximum number of retries before
|
|
@@ -14,6 +15,6 @@ declare namespace commands {
|
|
|
14
15
|
* returns non-zero return code.
|
|
15
16
|
* @throws {Error} If the `udid` instance property is unset
|
|
16
17
|
*/
|
|
17
|
-
function launchApp(bundleId: string, tries?: number | undefined): Promise<string>;
|
|
18
|
+
function launchApp(this: import("../simctl").default, bundleId: string, tries?: number | undefined): Promise<string>;
|
|
18
19
|
}
|
|
19
20
|
//# sourceMappingURL=launch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/launch.js"],"names":[],"mappings":";;IAKA
|
|
1
|
+
{"version":3,"file":"launch.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/launch.js"],"names":[],"mappings":";;IAKA;;;;;;;;;;;;;;OAcG;IACH,qHAQC"}
|
|
@@ -11,6 +11,7 @@ const commands = {};
|
|
|
11
11
|
* It is required that Simulator is in _booted_ state and
|
|
12
12
|
* the application with given bundle identifier is already installed.
|
|
13
13
|
*
|
|
14
|
+
* @this {import('../simctl').Simctl}
|
|
14
15
|
* @param {string} bundleId - Bundle identifier of the application,
|
|
15
16
|
* which is going to be removed.
|
|
16
17
|
* @param {number} [tries=5] - The maximum number of retries before
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch.js","sourceRoot":"","sources":["../../../lib/subcommands/launch.js"],"names":[],"mappings":";;;;;AAAA,oDAAuB;AACvB,uCAAyC;AAEzC,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB
|
|
1
|
+
{"version":3,"file":"launch.js","sourceRoot":"","sources":["../../../lib/subcommands/launch.js"],"names":[],"mappings":";;;;;AAAA,oDAAuB;AACvB,uCAAyC;AAEzC,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;;;;;;;;;GAcG;AACH,QAAQ,CAAC,SAAS,GAAG,KAAK,UAAU,SAAS,CAAE,QAAQ,EAAE,KAAK,GAAG,CAAC;IAChE,8CAA8C;IAC9C,OAAO,MAAM,IAAA,wBAAa,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,EAAE;QACjD,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACzC,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;SAC7C,CAAC,CAAC;QACH,OAAO,gBAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -29,6 +29,7 @@ declare namespace commands {
|
|
|
29
29
|
* Parse the list of existing Simulator devices to represent
|
|
30
30
|
* it as convenient mapping.
|
|
31
31
|
*
|
|
32
|
+
* @this {import('../simctl').Simctl}
|
|
32
33
|
* @param {string?} [platform] - The platform name, for example 'watchOS'.
|
|
33
34
|
* @return {Promise<Record<string, any>>} The resulting mapping. Each key is platform version,
|
|
34
35
|
* for example '10.3' and the corresponding value is an
|
|
@@ -36,11 +37,12 @@ declare namespace commands {
|
|
|
36
37
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
37
38
|
* returns non-zero return code.
|
|
38
39
|
*/
|
|
39
|
-
function getDevicesByParsing(platform?: string | null | undefined): Promise<Record<string, any>>;
|
|
40
|
+
function getDevicesByParsing(this: import("../simctl").default, platform?: string | null | undefined): Promise<Record<string, any>>;
|
|
40
41
|
/**
|
|
41
42
|
* Parse the list of existing Simulator devices to represent
|
|
42
43
|
* it as convenient mapping for the particular platform version.
|
|
43
44
|
*
|
|
45
|
+
* @this {import('../simctl').Simctl}
|
|
44
46
|
* @param {string?} [forSdk] - The sdk version,
|
|
45
47
|
* for which the devices list should be parsed,
|
|
46
48
|
* for example '10.3'.
|
|
@@ -53,37 +55,41 @@ declare namespace commands {
|
|
|
53
55
|
* returns non-zero return code or if no matching
|
|
54
56
|
* platform version is found in the system.
|
|
55
57
|
*/
|
|
56
|
-
function getDevices(forSdk?: string | null | undefined, platform?: string | null | undefined): Promise<any>;
|
|
58
|
+
function getDevices(this: import("../simctl").default, forSdk?: string | null | undefined, platform?: string | null | undefined): Promise<any>;
|
|
57
59
|
/**
|
|
58
60
|
* Get the runtime for the particular platform version using --json flag
|
|
59
61
|
*
|
|
62
|
+
* @this {import('../simctl').Simctl}
|
|
60
63
|
* @param {string} platformVersion - The platform version name,
|
|
61
64
|
* for example '10.3'.
|
|
62
65
|
* @param {string} [platform='iOS'] - The platform name, for example 'watchOS'.
|
|
63
66
|
* @return {Promise<string>} The corresponding runtime name for the given
|
|
64
67
|
* platform version.
|
|
65
68
|
*/
|
|
66
|
-
function getRuntimeForPlatformVersionViaJson(platformVersion: string, platform?: string | undefined): Promise<string>;
|
|
69
|
+
function getRuntimeForPlatformVersionViaJson(this: import("../simctl").default, platformVersion: string, platform?: string | undefined): Promise<string>;
|
|
67
70
|
/**
|
|
68
71
|
* Get the runtime for the particular platform version.
|
|
69
72
|
*
|
|
73
|
+
* @this {import('../simctl').Simctl}
|
|
70
74
|
* @param {string} platformVersion - The platform version name,
|
|
71
75
|
* for example '10.3'.
|
|
72
76
|
* @param {string} [platform='iOS'] - The platform name, for example 'watchOS'.
|
|
73
77
|
* @return {Promise<string>} The corresponding runtime name for the given
|
|
74
78
|
* platform version.
|
|
75
79
|
*/
|
|
76
|
-
function getRuntimeForPlatformVersion(platformVersion: string, platform?: string | undefined): Promise<string>;
|
|
80
|
+
function getRuntimeForPlatformVersion(this: import("../simctl").default, platformVersion: string, platform?: string | undefined): Promise<string>;
|
|
77
81
|
/**
|
|
78
82
|
* Get the list of device types available in the current Xcode installation
|
|
79
83
|
*
|
|
84
|
+
* @this {import('../simctl').Simctl}
|
|
80
85
|
* @return {Promise<string[]>} List of the types of devices available
|
|
81
86
|
* @throws {Error} If the corresponding simctl command fails
|
|
82
87
|
*/
|
|
83
|
-
function getDeviceTypes(): Promise<string[]>;
|
|
88
|
+
function getDeviceTypes(this: import("../simctl").default): Promise<string[]>;
|
|
84
89
|
/**
|
|
85
90
|
* Get the full list of runtimes, devicetypes, devices and pairs as Object
|
|
86
91
|
*
|
|
92
|
+
* @this {import('../simctl').Simctl}
|
|
87
93
|
* @return {Promise<Object>} Object containing device types, runtimes devices and pairs.
|
|
88
94
|
* The resulting JSON will be like:
|
|
89
95
|
* {
|
|
@@ -115,6 +121,6 @@ declare namespace commands {
|
|
|
115
121
|
* }
|
|
116
122
|
* @throws {Error} If the corresponding simctl command fails
|
|
117
123
|
*/
|
|
118
|
-
function list(): Promise<any>;
|
|
124
|
+
function list(this: import("../simctl").default): Promise<any>;
|
|
119
125
|
}
|
|
120
126
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/list.js"],"names":[],"mappings":";;;;;UASc,MAAM;;;;UACN,MAAM;;;;WACN,MAAM;;;;SACN,MAAM;;;IALpB;;;;;;OAMG;IAEH
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/list.js"],"names":[],"mappings":";;;;;UASc,MAAM;;;;UACN,MAAM;;;;WACN,MAAM;;;;SACN,MAAM;;;IALpB;;;;;;OAMG;IAEH;;;;;;;;;;;OAWG;IACH,oIA2DC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,+IAmEC;IAED;;;;;;;;;OASG;IACH,yJAYC;IAED;;;;;;;;;OASG;IACH,kJAoBC;IAED;;;;;;OAMG;IACH,8EAqBC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,+DASC"}
|
|
@@ -41,6 +41,7 @@ const commands = {};
|
|
|
41
41
|
* Parse the list of existing Simulator devices to represent
|
|
42
42
|
* it as convenient mapping.
|
|
43
43
|
*
|
|
44
|
+
* @this {import('../simctl').Simctl}
|
|
44
45
|
* @param {string?} [platform] - The platform name, for example 'watchOS'.
|
|
45
46
|
* @return {Promise<Record<string, any>>} The resulting mapping. Each key is platform version,
|
|
46
47
|
* for example '10.3' and the corresponding value is an
|
|
@@ -49,7 +50,6 @@ const commands = {};
|
|
|
49
50
|
* returns non-zero return code.
|
|
50
51
|
*/
|
|
51
52
|
commands.getDevicesByParsing = async function getDevicesByParsing(platform) {
|
|
52
|
-
// get the list of devices
|
|
53
53
|
const { stdout } = await this.exec('list', {
|
|
54
54
|
args: ['devices'],
|
|
55
55
|
});
|
|
@@ -111,6 +111,7 @@ commands.getDevicesByParsing = async function getDevicesByParsing(platform) {
|
|
|
111
111
|
* Parse the list of existing Simulator devices to represent
|
|
112
112
|
* it as convenient mapping for the particular platform version.
|
|
113
113
|
*
|
|
114
|
+
* @this {import('../simctl').Simctl}
|
|
114
115
|
* @param {string?} [forSdk] - The sdk version,
|
|
115
116
|
* for which the devices list should be parsed,
|
|
116
117
|
* for example '10.3'.
|
|
@@ -191,6 +192,7 @@ commands.getDevices = async function getDevices(forSdk, platform) {
|
|
|
191
192
|
/**
|
|
192
193
|
* Get the runtime for the particular platform version using --json flag
|
|
193
194
|
*
|
|
195
|
+
* @this {import('../simctl').Simctl}
|
|
194
196
|
* @param {string} platformVersion - The platform version name,
|
|
195
197
|
* for example '10.3'.
|
|
196
198
|
* @param {string} [platform='iOS'] - The platform name, for example 'watchOS'.
|
|
@@ -212,6 +214,7 @@ commands.getRuntimeForPlatformVersionViaJson = async function getRuntimeForPlatf
|
|
|
212
214
|
/**
|
|
213
215
|
* Get the runtime for the particular platform version.
|
|
214
216
|
*
|
|
217
|
+
* @this {import('../simctl').Simctl}
|
|
215
218
|
* @param {string} platformVersion - The platform version name,
|
|
216
219
|
* for example '10.3'.
|
|
217
220
|
* @param {string} [platform='iOS'] - The platform name, for example 'watchOS'.
|
|
@@ -240,6 +243,7 @@ commands.getRuntimeForPlatformVersion = async function getRuntimeForPlatformVers
|
|
|
240
243
|
/**
|
|
241
244
|
* Get the list of device types available in the current Xcode installation
|
|
242
245
|
*
|
|
246
|
+
* @this {import('../simctl').Simctl}
|
|
243
247
|
* @return {Promise<string[]>} List of the types of devices available
|
|
244
248
|
* @throws {Error} If the corresponding simctl command fails
|
|
245
249
|
*/
|
|
@@ -269,6 +273,7 @@ commands.getDeviceTypes = async function getDeviceTypes() {
|
|
|
269
273
|
/**
|
|
270
274
|
* Get the full list of runtimes, devicetypes, devices and pairs as Object
|
|
271
275
|
*
|
|
276
|
+
* @this {import('../simctl').Simctl}
|
|
272
277
|
* @return {Promise<Object>} Object containing device types, runtimes devices and pairs.
|
|
273
278
|
* The resulting JSON will be like:
|
|
274
279
|
* {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../lib/subcommands/list.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAuB;AACvB,wCAAgE;AAChE,oDAA4C;AAG5C,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;GAMG;AAEH
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../lib/subcommands/list.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAuB;AACvB,wCAAgE;AAChE,oDAA4C;AAG5C,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;GAMG;AAEH;;;;;;;;;;;GAWG;AACH,QAAQ,CAAC,mBAAmB,GAAG,KAAK,UAAU,mBAAmB,CAAE,QAAQ;IACzE,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;QACvC,IAAI,EAAE,CAAC,SAAS,CAAC;K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AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,QAAQ,CAAC,IAAI,GAAG,KAAK,UAAU,IAAI;IACjC,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;QACvC,IAAI,EAAE,CAAC,IAAI,CAAC;KACb,CAAC,CAAC;IACH,IAAI;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;KAClC;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;KAC9D;AACH,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -4,17 +4,20 @@ declare namespace commands {
|
|
|
4
4
|
* Set the Simulator location to a specific latitude and longitude.
|
|
5
5
|
* This functionality is only available since Xcode 14.
|
|
6
6
|
*
|
|
7
|
+
* @this {import('../simctl').Simctl}
|
|
7
8
|
* @param {string|number} latitude Location latitude value
|
|
8
9
|
* @param {string|number} longitude Location longitude value
|
|
9
10
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
10
11
|
* returns non-zero return code.
|
|
11
12
|
* @throws {TypeError} If any of the arguments is not a valid value.
|
|
12
13
|
*/
|
|
13
|
-
function setLocation(latitude: string | number, longitude: string | number): Promise<void>;
|
|
14
|
+
function setLocation(this: import("../simctl").default, latitude: string | number, longitude: string | number): Promise<void>;
|
|
14
15
|
/**
|
|
15
16
|
* Stop any running scenario and clear any simulated location.
|
|
16
|
-
*
|
|
17
|
+
*
|
|
18
|
+
* @since Xcode 14.
|
|
19
|
+
* @this {import('../simctl').Simctl}
|
|
17
20
|
*/
|
|
18
|
-
function clearLocation(): Promise<void>;
|
|
21
|
+
function clearLocation(this: import("../simctl").default): Promise<void>;
|
|
19
22
|
}
|
|
20
23
|
//# sourceMappingURL=location.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/location.js"],"names":[],"mappings":";;IAiBA
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/location.js"],"names":[],"mappings":";;IAiBA;;;;;;;;;;OAUG;IACH,8HAMC;IAED;;;;;OAKG;IACH,yEAIC"}
|
|
@@ -19,6 +19,7 @@ function formatArg(name, value) {
|
|
|
19
19
|
* Set the Simulator location to a specific latitude and longitude.
|
|
20
20
|
* This functionality is only available since Xcode 14.
|
|
21
21
|
*
|
|
22
|
+
* @this {import('../simctl').Simctl}
|
|
22
23
|
* @param {string|number} latitude Location latitude value
|
|
23
24
|
* @param {string|number} longitude Location longitude value
|
|
24
25
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
@@ -34,7 +35,9 @@ commands.setLocation = async function setLocation(latitude, longitude) {
|
|
|
34
35
|
};
|
|
35
36
|
/**
|
|
36
37
|
* Stop any running scenario and clear any simulated location.
|
|
37
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* @since Xcode 14.
|
|
40
|
+
* @this {import('../simctl').Simctl}
|
|
38
41
|
*/
|
|
39
42
|
commands.clearLocation = async function clearLocation() {
|
|
40
43
|
await this.exec('location', {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../lib/subcommands/location.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;GAMG;AACH,SAAS,SAAS,CAAE,IAAI,EAAE,KAAK;IAC7B,MAAM,GAAG,GAAG,UAAU,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;IACnC,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE;QACd,MAAM,IAAI,SAAS,CAAC,GAAG,IAAI,iCAAiC,KAAK,WAAW,CAAC,CAAC;KAC/E;IACD,OAAO,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACxB,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../lib/subcommands/location.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;GAMG;AACH,SAAS,SAAS,CAAE,IAAI,EAAE,KAAK;IAC7B,MAAM,GAAG,GAAG,UAAU,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;IACnC,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE;QACd,MAAM,IAAI,SAAS,CAAC,GAAG,IAAI,iCAAiC,KAAK,WAAW,CAAC,CAAC;KAC/E;IACD,OAAO,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACxB,CAAC;AAED;;;;;;;;;;GAUG;AACH,QAAQ,CAAC,WAAW,GAAG,KAAK,UAAU,WAAW,CAAE,QAAQ,EAAE,SAAS;IACpE,MAAM,GAAG,GAAG,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC5C,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IAC9C,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;QAC1B,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;KAC7D,CAAC,CAAC;AACL,CAAC,CAAC;AAEF;;;;;GAKG;AACH,QAAQ,CAAC,aAAa,GAAG,KAAK,UAAU,aAAa;IACnD,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;QAC1B,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;KAC9C,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -5,6 +5,7 @@ declare namespace commands {
|
|
|
5
5
|
* to find a matching application, which supports the given scheme.
|
|
6
6
|
* It is required that Simulator is in _booted_ state.
|
|
7
7
|
*
|
|
8
|
+
* @this {import('../simctl').Simctl}
|
|
8
9
|
* @param {string} url - The URL scheme to open, for example http://appiom.io
|
|
9
10
|
* will be opened by the built-in mobile browser.
|
|
10
11
|
* @return {Promise<import('teen_process').TeenProcessExecResult>} Command execution result.
|
|
@@ -12,6 +13,6 @@ declare namespace commands {
|
|
|
12
13
|
* returns non-zero return code.
|
|
13
14
|
* @throws {Error} If the `udid` instance property is unset
|
|
14
15
|
*/
|
|
15
|
-
function openUrl(url: string): Promise<import("teen_process").TeenProcessExecResult<any>>;
|
|
16
|
+
function openUrl(this: import("../simctl").default, url: string): Promise<import("teen_process").TeenProcessExecResult<any>>;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=openurl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openurl.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/openurl.js"],"names":[],"mappings":";;IAEA
|
|
1
|
+
{"version":3,"file":"openurl.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/openurl.js"],"names":[],"mappings":";;IAEA;;;;;;;;;;;;OAYG;IACH,6HAIC"}
|
|
@@ -6,6 +6,7 @@ const commands = {};
|
|
|
6
6
|
* to find a matching application, which supports the given scheme.
|
|
7
7
|
* It is required that Simulator is in _booted_ state.
|
|
8
8
|
*
|
|
9
|
+
* @this {import('../simctl').Simctl}
|
|
9
10
|
* @param {string} url - The URL scheme to open, for example http://appiom.io
|
|
10
11
|
* will be opened by the built-in mobile browser.
|
|
11
12
|
* @return {Promise<import('teen_process').TeenProcessExecResult>} Command execution result.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openurl.js","sourceRoot":"","sources":["../../../lib/subcommands/openurl.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB
|
|
1
|
+
{"version":3,"file":"openurl.js","sourceRoot":"","sources":["../../../lib/subcommands/openurl.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;;;;;;;GAYG;AACH,QAAQ,CAAC,OAAO,GAAG,KAAK,UAAU,OAAO,CAAE,GAAG;IAC5C,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;QAChC,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC;KACzC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -5,13 +5,14 @@ declare namespace commands {
|
|
|
5
5
|
* It is required that Simulator is in _booted_ state.
|
|
6
6
|
*
|
|
7
7
|
* @since Xcode SDK 8.1
|
|
8
|
+
* @this {import('../simctl').Simctl}
|
|
8
9
|
* @param {string} content - The actual string content to be set.
|
|
9
|
-
* @param {
|
|
10
|
-
*
|
|
10
|
+
* @param {BufferEncoding} [encoding='utf8'] - The encoding of the given pasteboard content.
|
|
11
|
+
* utf8 by default.
|
|
11
12
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
12
13
|
* returns non-zero return code.
|
|
13
14
|
* @throws {Error} If the `udid` instance property is unset
|
|
14
15
|
*/
|
|
15
|
-
function setPasteboard(content: string, encoding?:
|
|
16
|
+
function setPasteboard(this: import("../simctl").default, content: string, encoding?: BufferEncoding | undefined): Promise<void>;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=pbcopy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pbcopy.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/pbcopy.js"],"names":[],"mappings":";;IAEA
|
|
1
|
+
{"version":3,"file":"pbcopy.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/pbcopy.js"],"names":[],"mappings":";;IAEA;;;;;;;;;;;;OAYG;IACH,iIAcC"}
|
|
@@ -6,9 +6,10 @@ const commands = {};
|
|
|
6
6
|
* It is required that Simulator is in _booted_ state.
|
|
7
7
|
*
|
|
8
8
|
* @since Xcode SDK 8.1
|
|
9
|
+
* @this {import('../simctl').Simctl}
|
|
9
10
|
* @param {string} content - The actual string content to be set.
|
|
10
|
-
* @param {
|
|
11
|
-
*
|
|
11
|
+
* @param {BufferEncoding} [encoding='utf8'] - The encoding of the given pasteboard content.
|
|
12
|
+
* utf8 by default.
|
|
12
13
|
* @throws {Error} If the corresponding simctl subcommand command
|
|
13
14
|
* returns non-zero return code.
|
|
14
15
|
* @throws {Error} If the `udid` instance property is unset
|
|
@@ -20,10 +21,12 @@ commands.setPasteboard = async function setPasteboard(content, encoding = 'utf8'
|
|
|
20
21
|
});
|
|
21
22
|
await pbCopySubprocess.start(0);
|
|
22
23
|
const exitCodeVerifier = pbCopySubprocess.join();
|
|
23
|
-
const stdin = pbCopySubprocess.proc
|
|
24
|
-
stdin
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
const stdin = pbCopySubprocess.proc?.stdin;
|
|
25
|
+
if (stdin) {
|
|
26
|
+
stdin.setDefaultEncoding(encoding);
|
|
27
|
+
stdin.write(content);
|
|
28
|
+
stdin.end();
|
|
29
|
+
}
|
|
27
30
|
await exitCodeVerifier;
|
|
28
31
|
};
|
|
29
32
|
exports.default = commands;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pbcopy.js","sourceRoot":"","sources":["../../../lib/subcommands/pbcopy.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB
|
|
1
|
+
{"version":3,"file":"pbcopy.js","sourceRoot":"","sources":["../../../lib/subcommands/pbcopy.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;;;;;;;GAYG;AACH,QAAQ,CAAC,aAAa,GAAG,KAAK,UAAU,aAAa,CAAE,OAAO,EAAE,QAAQ,GAAG,MAAM;IAC/E,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;QACjD,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAClC,YAAY,EAAE,IAAI;KACnB,CAAC,CAAC;IACH,MAAM,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAChC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,IAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC;IAC3C,IAAI,KAAK,EAAE;QACT,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;QACnC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACrB,KAAK,CAAC,GAAG,EAAE,CAAC;KACb;IACD,MAAM,gBAAgB,CAAC;AACzB,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -5,6 +5,7 @@ declare namespace commands {
|
|
|
5
5
|
* It is required that Simulator is in _booted_ state.
|
|
6
6
|
*
|
|
7
7
|
* @since Xcode 8.1 SDK
|
|
8
|
+
* @this {import('../simctl').Simctl}
|
|
8
9
|
* @param {string} [encoding='utf8'] - The encoding of the returned pasteboard content.
|
|
9
10
|
* UTF-8 by default.
|
|
10
11
|
* @return {Promise<string>} Current content of Simulator pasteboard or an empty string.
|
|
@@ -12,6 +13,6 @@ declare namespace commands {
|
|
|
12
13
|
* returns non-zero return code.
|
|
13
14
|
* @throws {Error} If the `udid` instance property is unset
|
|
14
15
|
*/
|
|
15
|
-
function getPasteboard(encoding?: string | undefined): Promise<string>;
|
|
16
|
+
function getPasteboard(this: import("../simctl").default, encoding?: string | undefined): Promise<string>;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=pbpaste.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pbpaste.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/pbpaste.js"],"names":[],"mappings":";;IAEA
|
|
1
|
+
{"version":3,"file":"pbpaste.d.ts","sourceRoot":"","sources":["../../../lib/subcommands/pbpaste.js"],"names":[],"mappings":";;IAEA;;;;;;;;;;;;OAYG;IACH,0GAMC"}
|
|
@@ -6,6 +6,7 @@ const commands = {};
|
|
|
6
6
|
* It is required that Simulator is in _booted_ state.
|
|
7
7
|
*
|
|
8
8
|
* @since Xcode 8.1 SDK
|
|
9
|
+
* @this {import('../simctl').Simctl}
|
|
9
10
|
* @param {string} [encoding='utf8'] - The encoding of the returned pasteboard content.
|
|
10
11
|
* UTF-8 by default.
|
|
11
12
|
* @return {Promise<string>} Current content of Simulator pasteboard or an empty string.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pbpaste.js","sourceRoot":"","sources":["../../../lib/subcommands/pbpaste.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB
|
|
1
|
+
{"version":3,"file":"pbpaste.js","sourceRoot":"","sources":["../../../lib/subcommands/pbpaste.js"],"names":[],"mappings":";;AAAA,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;;;;;;;;;GAYG;AACH,QAAQ,CAAC,aAAa,GAAG,KAAK,UAAU,aAAa,CAAE,QAAQ,GAAG,MAAM;IACtE,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;QAC1C,IAAI,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QACnC,QAAQ;KACT,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|