@witchcraft/nuxt-electron 0.0.5 → 0.0.6

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "electron",
3
3
  "configKey": "electron",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -2,7 +2,7 @@ export function useDevDataDir() {
2
2
  if (import.meta.dev) {
3
3
  const index = process.argv.findIndex((arg) => arg.startsWith("--dev-user-data-dir")) + 1;
4
4
  if (index === -1) return void 0;
5
- return process.argv[index + 1];
5
+ return process.argv[index];
6
6
  }
7
7
  return void 0;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witchcraft/nuxt-electron",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Nuxt module for working with electron.",
5
5
  "repository": "witchcraftjs/nuxt-electron",
6
6
  "license": "MIT",
@@ -2,7 +2,7 @@ export function useDevDataDir(): string | undefined {
2
2
  if (import.meta.dev) {
3
3
  const index = process.argv.findIndex(arg => arg.startsWith("--dev-user-data-dir")) + 1
4
4
  if (index === -1) return undefined
5
- return process.argv[index + 1]
5
+ return process.argv[index]
6
6
  }
7
7
  return undefined
8
8
  }