@webos-tools/cli 3.1.1 → 3.1.3
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 +173 -157
- package/LICENSES/342/200/216/LicenseRef-3rd_party_licenses.txt +1355 -0
- package/README.md +21 -19
- package/bin/ares-config.js +6 -3
- package/bin/ares-device.js +2 -2
- package/bin/ares-log.js +6 -2
- package/bin/ares-pull.js +1 -1
- package/bin/ares-push.js +1 -1
- package/bin/ares-setup-device.js +573 -528
- package/bin/ares-shell.js +1 -1
- package/bin/ares.js +1 -1
- package/files/conf/ares.json +5 -5
- package/files/conf/novacom-devices.json +18 -1
- package/files/conf-base/env/sdk-apollo.json +8 -0
- package/files/conf-base/profile/config-apollo.json +29 -0
- package/files/conf-base/profile/config-ose.json +1 -1
- package/files/conf-base/template-conf/apollo-sdk-templates.json +56 -0
- package/files/help/ares-config.help +6 -1
- package/files/help/ares-device.help +15 -0
- package/files/help/ares-generate.help +27 -1
- package/files/help/ares-inspect.help +6 -0
- package/files/help/ares-install.help +5 -0
- package/files/help/ares-launch.help +5 -0
- package/files/help/ares-server.help +5 -0
- package/files/help/ares-setup-device.help +40 -0
- package/files/help/ares.help +5 -0
- package/files/schema/NovacomDevices.schema +2 -1
- package/files/templates/apollo-sdk-templates/appinfo/appinfo.json +10 -0
- package/files/templates/apollo-sdk-templates/bootplate-web/index.html +88 -0
- package/files/templates/apollo-sdk-templates/hosted-webapp/index.html +14 -0
- package/files/templates/apollo-sdk-templates/icon/icon.png +0 -0
- package/files/templates/apollo-sdk-templates/js-service/helloclient.js +31 -0
- package/files/templates/apollo-sdk-templates/js-service/helloworld_webos_service.js +188 -0
- package/files/templates/apollo-sdk-templates/native-service/CMakeLists.txt +72 -0
- package/files/templates/apollo-sdk-templates/native-service/services.json +11 -0
- package/files/templates/apollo-sdk-templates/native-service/src/main.c +144 -0
- package/files/templates/apollo-sdk-templates/serviceinfo/package.json +11 -0
- package/files/templates/apollo-sdk-templates/serviceinfo/services.json +8 -0
- package/lib/base/novacom.js +1 -1
- package/lib/base/setup-device.js +338 -335
- package/lib/device.js +1 -1
- package/lib/generator.js +408 -377
- package/lib/package.js +3 -1
- package/lib/shell.js +1 -1
- package/npm-shrinkwrap.json +9242 -9242
- package/package.json +100 -100
- package/sbom-info.yaml +1758 -0
- package/spec/jsSpecs/ares-config.spec.js +10 -0
- package/spec/jsSpecs/ares-generate.spec.js +4 -4
- package/spec/jsSpecs/ares-log.spec.js +1 -1
- package/spec/test_data/ares-generate.json +18 -1
- package/spec/test_data/ares.json +17 -0
- package/webos-tools-cli-3.1.3.tgz +0 -0
package/lib/device.js
CHANGED
|
@@ -1293,7 +1293,7 @@ const async = require('async'),
|
|
|
1293
1293
|
|
|
1294
1294
|
function _captureScreenFile(next) {
|
|
1295
1295
|
log.info("device#captureScreen()#_captureScreenFile()");
|
|
1296
|
-
const cmd = "/bin/mkdir -p " + options.captureDirPath;
|
|
1296
|
+
const cmd = "/bin/mkdir -p " + options.captureDirPath + " && chmod 777 " + options.captureDirPath;
|
|
1297
1297
|
options.session.run(cmd, null, null, null, function(err) {
|
|
1298
1298
|
if (err) {
|
|
1299
1299
|
return setImmediate(next, err);
|