Skip to content
Permalink
Browse files
npm-flexjs: to help with debugging, URLs of dependencies are included…
… in console output
  • Loading branch information
joshtynjala committed May 30, 2017
1 parent 233d8e9 commit 92b9d4c0aee3a4034aa8704f10428975a5faf18c
Showing 4 changed files with 10 additions and 7 deletions.
@@ -70,9 +70,10 @@ function promptForAdobeAIR()

function downloadAdobeAIR()
{
console.log('Downloading Adobe AIR from ' + AdobeAIRURL + fileNameAdobeAIR);
var downloadURL = AdobeAIRURL + fileNameAdobeAIR;
console.log('Downloading Adobe AIR from ' + downloadURL);
request
.get(AdobeAIRURL + fileNameAdobeAIR)
.get(downloadURL)
.pipe(fs.createWriteStream(constants.DOWNLOADS_FOLDER + fileNameAdobeAIR)
.on('close', function(){
console.log('Adobe AIR download complete');
@@ -75,7 +75,7 @@ FlashPlayerGlobal.promptForFlashPlayerGlobal = function()

FlashPlayerGlobal.downloadFlashPlayerGlobal = function()
{
console.log('Downloading Adobe FlashPlayerGlobal.swc ');
console.log('Downloading playerglobal.swc from ' + flashPlayerGlobalURL + fileNameFlashPlayerGlobal);

var downloadDetails = {
url:flashPlayerGlobalURL,
@@ -71,9 +71,10 @@ FlatUI.prompt = function()

FlatUI.downloadFlatUI = function()
{
console.log('Downloading FlatUI');
var downloadURL = flatUIURL + fileNameFlatUI;
console.log('Downloading FlatUI from ' + downloadURL);
request
.get(flatUIURL + fileNameFlatUI)
.get(downloadURL)
.pipe(fs.createWriteStream(constants.DOWNLOADS_FOLDER + fileNameFlatUI)
.on('finish', function(){
console.log('FlatUI download complete');
@@ -35,9 +35,10 @@ var fileNameSwfObject = pjson.org_apache_flex.swf_object_file_name;

SWFObject.downloadSwfObject = function()
{
console.log('Downloading SWFObject');
var downloadURL = swfObjectURL + fileNameSwfObject;
console.log('Downloading SWFObject from ' + downloadURL);
request
.get(swfObjectURL + fileNameSwfObject)
.get(downloadURL)
.pipe(fs.createWriteStream(constants.DOWNLOADS_FOLDER + fileNameSwfObject)
.on('finish', function(){
console.log('SWFObject download complete');

0 comments on commit 92b9d4c

Please sign in to comment.