mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-09 17:25:42 +00:00
fix(engines): promote bundled Aria2 runtimes
- copy the Windows runtime directory into the provisioned payload - keep the dependency manifest aligned with staged files
This commit is contained in:
@@ -214,6 +214,13 @@ try {
|
||||
timeout: 30 * 60 * 1000,
|
||||
});
|
||||
copyExecutable(path.join(sourceRoot, 'firelink-build', 'src', `aria2c${executableSuffix}`), 'aria2c');
|
||||
const aria2Runtime = path.join(sourceRoot, 'aria2-libs');
|
||||
if (fs.existsSync(aria2Runtime)) {
|
||||
fs.cpSync(aria2Runtime, path.join(payloadDestination, 'aria2-libs'), {
|
||||
recursive: true,
|
||||
preserveTimestamps: true,
|
||||
});
|
||||
}
|
||||
|
||||
writePayloadManifest();
|
||||
throwIfProvisioningAborted();
|
||||
|
||||
Reference in New Issue
Block a user