@swipt/cli 0.1.0-nightly.52 → 0.1.0-nightly.53
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/LICENSE +1 -1
- package/package.json +4 -4
- package/sideload.mjs +13 -1
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swipt/cli",
|
|
3
|
-
"version": "0.1.0-nightly.
|
|
3
|
+
"version": "0.1.0-nightly.53",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"react-native-worklets": "0.13.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@swipt/api": "0.1.0-nightly.
|
|
37
|
+
"@swipt/api": "0.1.0-nightly.53"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@swipt/server-darwin-arm64": "0.1.0-nightly.
|
|
41
|
-
"@swipt/server-darwin-x64": "0.1.0-nightly.
|
|
40
|
+
"@swipt/server-darwin-arm64": "0.1.0-nightly.53",
|
|
41
|
+
"@swipt/server-darwin-x64": "0.1.0-nightly.53"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@bufbuild/protoc-gen-es": "^2.16.0"
|
package/sideload.mjs
CHANGED
|
@@ -773,8 +773,20 @@ async function launch(device, id, args) {
|
|
|
773
773
|
);
|
|
774
774
|
} catch (error) {
|
|
775
775
|
if (/trusted by the user/.test(error.message)) {
|
|
776
|
+
await step(`opening Settings on ${device.name}`, () =>
|
|
777
|
+
devicectl([
|
|
778
|
+
"device",
|
|
779
|
+
"process",
|
|
780
|
+
"launch",
|
|
781
|
+
"--device",
|
|
782
|
+
device.udid,
|
|
783
|
+
"--payload-url",
|
|
784
|
+
"prefs:root=General&path=ManagedConfigurationList",
|
|
785
|
+
"com.apple.Preferences",
|
|
786
|
+
]),
|
|
787
|
+
);
|
|
776
788
|
console.log(
|
|
777
|
-
`its developer is not trusted yet;
|
|
789
|
+
`its developer is not trusted yet; trust it in the Settings page opened on ${device.name}, then open Swipt`,
|
|
778
790
|
);
|
|
779
791
|
} else if (/BSErrorCodeDescription = Locked/.test(error.message)) {
|
|
780
792
|
console.log(`it opens once ${device.name} is unlocked`);
|