@ghackk/multi-claude 1.0.5 → 1.0.7

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/claude-menu.bat CHANGED
@@ -1,2 +1,2 @@
1
1
  @echo off
2
- powershell -ExecutionPolicy Bypass -File "%USERPROFILE%\claude-accounts\claude-menu.ps1"
2
+ powershell -ExecutionPolicy Bypass -File "%USERPROFILE%\claude-multi-account\claude-menu.ps1"
package/claude-menu.ps1 CHANGED
@@ -691,6 +691,7 @@ function Apply-ImportToken($token) {
691
691
  $launcherSrc = "$extractDir\launcher.bat"
692
692
  $launcherDest = "$ACCOUNTS_DIR\$name.bat"
693
693
  if (Test-Path $launcherSrc) {
694
+ if (!(Test-Path $ACCOUNTS_DIR)) { New-Item -ItemType Directory -Path $ACCOUNTS_DIR | Out-Null }
694
695
  Copy-Item $launcherSrc $launcherDest -Force
695
696
  Write-Host " Launcher created" -ForegroundColor Green
696
697
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghackk/multi-claude",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Run multiple Claude CLI accounts with shared settings, plugins, marketplace sync, and backup/restore",
5
5
  "bin": {
6
6
  "multi-claude": "bin/claude-multi.js"
@@ -1,2 +1,2 @@
1
1
  @echo off
2
- powershell -ExecutionPolicy Bypass -File "%USERPROFILE%\claude-accounts\claude-menu.ps1"
2
+ powershell -ExecutionPolicy Bypass -File "%USERPROFILE%\claude-multi-account\claude-menu.ps1"
@@ -691,6 +691,7 @@ function Apply-ImportToken($token) {
691
691
  $launcherSrc = "$extractDir\launcher.bat"
692
692
  $launcherDest = "$ACCOUNTS_DIR\$name.bat"
693
693
  if (Test-Path $launcherSrc) {
694
+ if (!(Test-Path $ACCOUNTS_DIR)) { New-Item -ItemType Directory -Path $ACCOUNTS_DIR | Out-Null }
694
695
  Copy-Item $launcherSrc $launcherDest -Force
695
696
  Write-Host " Launcher created" -ForegroundColor Green
696
697
  }