@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 packageDir = path.join(this.typeDir, slug, versionNum);
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}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-audio-stack/core",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": "Open-source audio plugin management software",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",