@open-audio-stack/core 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -342,7 +342,9 @@ export class ManagerLocal extends Manager {
|
|
|
342
342
|
}
|
|
343
343
|
try {
|
|
344
344
|
const openPath = openableFile.open;
|
|
345
|
-
const
|
|
345
|
+
const fileExt = path.extname(openableFile.url).slice(1).toLowerCase();
|
|
346
|
+
const formatDir = pluginFormatDir[fileExt];
|
|
347
|
+
const packageDir = path.join(this.typeDir, formatDir, slug, versionNum);
|
|
346
348
|
const fullPath = path.isAbsolute(openPath) ? openPath : path.join(packageDir, openPath);
|
|
347
349
|
const command = `"${fullPath}" ${options.join(' ')}`;
|
|
348
350
|
this.log(`Running: ${command}`);
|