async function main(ns) {
  await ns.wget(`${config.rootUrl}import_aevum.js`, 'import_aevum.js');
  let filesImported = await importFiles(ns);
  if (filesImported) {
    ns.tprint('Successfully Imported Files');
  } else {
    ns.tprint('Something failed, check files and paths');
  }
  if (await !ns.fileExists('aevum_bitnode_config.js')) {
    if (await ns.fileExists(`/${getFolder()}/bitnode_config_sample.js`)) {
      var data = await ns.read(`/${getFolder()}/bitnode_config_sample.js`);
      await ns.write('aevum_bitnode_config.js', data, "w")
    }
  }
}
/* 
 * Imports all files from github $rootUrl, stores them in $folder
 */
Imports all files from github $rootUrl, stores them in $folder
Imports all files from github $rootUrl stores them in $folder
async function main(ns) {
  await ns.wget(`${config.rootUrl}import_aevum.js`, 'import_aevum.js');
  let filesImported = await importFiles(ns);
  if (filesImported) {
    ns.tprint('Successfully Imported Files');
  } else {
    ns.tprint('Something failed, check files and paths');
  }
  if (await !ns.fileExists('aevum_bitnode_config.js')) {
    if (await ns.fileExists(`/${getFolder()}/bitnode_config_sample.js`)) {
      var data = await ns.read(`/${getFolder()}/bitnode_config_sample.js`);
      await ns.write('aevum_bitnode_config.js', data, "w")
    }
  }
}
async function main ( ns ) { await ns . wget ( ` ${ config . rootUrl } ` , 'import_aevum.js' ) ; let filesImported = await importFiles ( ns ) ; if ( filesImported ) { ns . tprint ( 'Successfully Imported Files' ) ; } else { ns . tprint ( 'Something failed, check files and paths' ) ; } if ( await ! ns . fileExists ( 'aevum_bitnode_config.js' ) ) { if ( await ns . fileExists ( ` ${ getFolder ( ) } ` ) ) { var data = await ns . read ( ` ${ getFolder ( ) } ` ) ; await ns . write ( 'aevum_bitnode_config.js' , data , "w" ) } } }
Imports all files from github $rootUrl, stores them in $folder
Imports all files from github $rootUrl stores them in $folder