bundo-appgen 0.0.8 → 0.0.9

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.
package/lib/bin/bin.mjs CHANGED
@@ -306,8 +306,9 @@ async function spawnPluginSandboxRunner(registry, permissions, metadata) {
306
306
  const lstat = node_fs2.lstatSync(pluginDirectory);
307
307
  if (lstat.isSymbolicLink()) {
308
308
  nodeArgs.push(`--allow-fs-read=${node_fs2.realpathSync(pluginDirectory)}`);
309
+ } else {
310
+ nodeArgs.push(`--allow-fs-read=${pluginDirectory}`);
309
311
  }
310
- nodeArgs.push(`--allow-fs-read=${pluginDirectory}`);
311
312
  });
312
313
  nodeArgs.push(node_path2.join(GlobalVars.appgenRoot.get(), "lib", "bin", "plugin-sandbox-runner.mjs"));
313
314
  nodeArgs.push(`--json=${JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bundo-appgen",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Native app generator for React Native macOS",
5
5
  "license": "MIT",
6
6
  "author": "RakaDoank <rakaaudira@gmail.com> (https://github.com/RakaDoank)",
@@ -71,8 +71,9 @@ export async function spawnPluginSandboxRunner(
71
71
 
72
72
  if(lstat.isSymbolicLink()) {
73
73
  nodeArgs.push(`--allow-fs-read=${node_fs.realpathSync(pluginDirectory)}`)
74
+ } else {
75
+ nodeArgs.push(`--allow-fs-read=${pluginDirectory}`)
74
76
  }
75
- nodeArgs.push(`--allow-fs-read=${pluginDirectory}`)
76
77
  })
77
78
 
78
79
  // exec plugin-sandbox-runner.mjs