trtc-electron-sdk
Advanced tools
Comparing version 6.6.67 to 6.6.69
{ | ||
"name": "trtc-electron-sdk", | ||
"version": "6.6.67", | ||
"version": "6.6.69", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./liteav/trtc.js", |
@@ -11,2 +11,3 @@ const download = require('download') | ||
} = require('./utils'); | ||
const { DependentElectronVersion } = require('./constant') | ||
@@ -18,4 +19,10 @@ const buildDownloadInfo = () => { | ||
const { version } = detectOwnVersion(); | ||
signale.info('buildDownloadInfo =', version); | ||
signale.info('buildDownloadInfo 1=', version); | ||
// const version = '2.4.0-beta' | ||
// build electron dependent label | ||
const { | ||
electron_version | ||
} = require("optimist").argv; | ||
const dependentElectronVersion = detectElectronVersion(electron_version); | ||
signale.info('buildDownloadInfo 2=', dependentElectronVersion); | ||
// generate download url | ||
@@ -25,2 +32,3 @@ return { | ||
platform: osLabel, | ||
dependentElectronVersion: dependentElectronVersion, | ||
downloadUrl: `https://tic-res-1259648581.cos.ap-shanghai.myqcloud.com/trtc_electron/release/${version}/trtc-electron-${osLabel}-${version}.zip` | ||
@@ -34,2 +42,3 @@ }; | ||
platform, | ||
dependentElectronVersion, | ||
downloadUrl | ||
@@ -59,2 +68,3 @@ } = buildDownloadInfo(); | ||
signale.info('Platform =', platform); | ||
signale.info('Dependent Electron Version =', dependentElectronVersion); | ||
signale.info('Download Url =', downloadUrl, '\n'); | ||
@@ -61,0 +71,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26255
528