askui 0.2.6 → 0.2.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/dist/cjs/execution/ui-control-client.d.ts +1 -1
- package/dist/cjs/execution/ui-control-client.js +1 -1
- package/dist/cjs/lib/ui-controller-darwin.js +3 -3
- package/dist/esm/execution/ui-control-client.d.ts +1 -1
- package/dist/esm/execution/ui-control-client.js +1 -1
- package/dist/esm/lib/ui-controller-darwin.js +3 -3
- package/package.json +1 -1
|
@@ -14,10 +14,10 @@ class UiControllerDarwin extends ui_controller_facade_1.UiControllerFacade {
|
|
|
14
14
|
this.makeDiskImageExecutable();
|
|
15
15
|
}
|
|
16
16
|
getStartingCommand() {
|
|
17
|
-
return `"${path_1.default.dirname(this.binaryPath)}/
|
|
17
|
+
return `"${path_1.default.dirname(this.binaryPath)}/askui-ui-controller.app/Contents/MacOS/askui-ui-controller"`;
|
|
18
18
|
}
|
|
19
19
|
makeDiskImageExecutable() {
|
|
20
|
-
const mountPoint = '/Volumes/
|
|
20
|
+
const mountPoint = '/Volumes/askui-ui-controller.dmg';
|
|
21
21
|
(0, child_process_1.execSync)([
|
|
22
22
|
'hdiutil attach',
|
|
23
23
|
'-nobrowse',
|
|
@@ -27,7 +27,7 @@ class UiControllerDarwin extends ui_controller_facade_1.UiControllerFacade {
|
|
|
27
27
|
`-mountpoint "${mountPoint}"`,
|
|
28
28
|
`"${this.binaryPath}"`,
|
|
29
29
|
].join(' '));
|
|
30
|
-
const appBaseName = '
|
|
30
|
+
const appBaseName = 'askui-ui-controller.app';
|
|
31
31
|
const appSrcPath = `${mountPoint}/${appBaseName}`;
|
|
32
32
|
const appDestPath = `${path_1.default.dirname(this.binaryPath)}/${appBaseName}`;
|
|
33
33
|
fs_extra_1.default.removeSync(appDestPath);
|
|
@@ -8,10 +8,10 @@ export class UiControllerDarwin extends UiControllerFacade {
|
|
|
8
8
|
this.makeDiskImageExecutable();
|
|
9
9
|
}
|
|
10
10
|
getStartingCommand() {
|
|
11
|
-
return `"${path.dirname(this.binaryPath)}/
|
|
11
|
+
return `"${path.dirname(this.binaryPath)}/askui-ui-controller.app/Contents/MacOS/askui-ui-controller"`;
|
|
12
12
|
}
|
|
13
13
|
makeDiskImageExecutable() {
|
|
14
|
-
const mountPoint = '/Volumes/
|
|
14
|
+
const mountPoint = '/Volumes/askui-ui-controller.dmg';
|
|
15
15
|
execSync([
|
|
16
16
|
'hdiutil attach',
|
|
17
17
|
'-nobrowse',
|
|
@@ -21,7 +21,7 @@ export class UiControllerDarwin extends UiControllerFacade {
|
|
|
21
21
|
`-mountpoint "${mountPoint}"`,
|
|
22
22
|
`"${this.binaryPath}"`,
|
|
23
23
|
].join(' '));
|
|
24
|
-
const appBaseName = '
|
|
24
|
+
const appBaseName = 'askui-ui-controller.app';
|
|
25
25
|
const appSrcPath = `${mountPoint}/${appBaseName}`;
|
|
26
26
|
const appDestPath = `${path.dirname(this.binaryPath)}/${appBaseName}`;
|
|
27
27
|
fs.removeSync(appDestPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "askui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "askui GmbH <info@askui.com> (http://www.askui.com/)",
|
|
6
6
|
"description": "Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on",
|