mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-11 05:43:33 +00:00
Added ability to embed zip packages
This commit is contained in:
@@ -54,7 +54,7 @@ for (i = 1; i < process.argv.length; ++i) {
|
||||
if (process.argv[i].startsWith('-o')) { outputFileName = process.argv[i].substring(2); } // Output file
|
||||
if (process.argv[i].startsWith('-x')) { execPath = process.argv[i].substring(2); } // Input executable
|
||||
if (process.argv[i].startsWith('-d')) { depPath = process.argv[i].substring(2); } // Dependencies path
|
||||
if (!process.argv[i].startsWith('-') && process.argv[i].endsWith('.js')) { sourcejs = process.argv[i]; } // JavaScript
|
||||
if (!process.argv[i].startsWith('-') && (process.argv[i].endsWith('.js') || process.argv[i].endsWith('.zip'))) { sourcejs = process.argv[i]; } // JavaScript
|
||||
}
|
||||
|
||||
console.log('Output Filename: ' + outputFileName);
|
||||
|
||||
Reference in New Issue
Block a user