lightman-agent 1.0.4 → 1.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lightman-agent",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "LIGHTMAN Agent - System-level daemon for museum display machines",
5
5
  "private": false,
6
6
  "type": "module",
@@ -137,13 +137,14 @@ Write-Host " Build successful"
137
137
  Write-Host "[3/19] Creating directories..." -ForegroundColor Yellow
138
138
  foreach ($d in @($InstallDir, $LogDir, $ChromeData, $NssmDir)) { New-Item -ItemType Directory -Force -Path $d | Out-Null }
139
139
 
140
- # --- 4. Copy files ---
141
- Write-Host "[4/19] Copying agent files..." -ForegroundColor Yellow
142
- Copy-Item "$AgentDir\dist" "$InstallDir\dist" -Recurse -Force
143
- Copy-Item "$AgentDir\package.json" "$InstallDir\package.json" -Force
144
- if (Test-Path "$AgentDir\package-lock.json") { Copy-Item "$AgentDir\package-lock.json" "$InstallDir\package-lock.json" -Force }
145
- Copy-Item "$AgentDir\agent.config.template.json" "$InstallDir\agent.config.template.json" -Force
146
- if (Test-Path "$AgentDir\public") { Copy-Item "$AgentDir\public" "$InstallDir\public" -Recurse -Force }
140
+ # --- 4. Copy files ---
141
+ Write-Host "[4/19] Copying agent files..." -ForegroundColor Yellow
142
+ Copy-Item "$AgentDir\dist" "$InstallDir\dist" -Recurse -Force
143
+ Copy-Item "$AgentDir\package.json" "$InstallDir\package.json" -Force
144
+ if (Test-Path "$AgentDir\package-lock.json") { Copy-Item "$AgentDir\package-lock.json" "$InstallDir\package-lock.json" -Force }
145
+ Copy-Item "$AgentDir\agent.config.template.json" "$InstallDir\agent.config.template.json" -Force
146
+ if (Test-Path "$AgentDir\public") { Copy-Item "$AgentDir\public" "$InstallDir\public" -Recurse -Force }
147
+ if (Test-Path "$AgentDir\scripts") { Copy-Item "$AgentDir\scripts" "$InstallDir\scripts" -Recurse -Force }
147
148
 
148
149
  # --- 5. Install deps ---
149
150
  Write-Host "[5/19] Installing dependencies..." -ForegroundColor Yellow