getaimeter 0.7.7 → 0.7.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tray.ps1 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "getaimeter",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Track AI coding costs across Claude, Cursor, Codex, and Gemini. Optimization recommendations that cut costs by 30%.",
5
5
  "bin": {
6
6
  "aimeter": "cli.js"
package/tray.ps1 CHANGED
@@ -125,7 +125,7 @@ $checkUpdateItem.Add_Click({
125
125
  # Update and auto-restart: stop watcher, update npm, restart watcher
126
126
  $nodePath = (Get-Command node -ErrorAction SilentlyContinue).Source
127
127
  $aimeter = (Get-Command aimeter -ErrorAction SilentlyContinue).Source
128
- Start-Process "cmd.exe" -ArgumentList "/k echo Updating AIMeter... && npm install -g getaimeter@latest && echo. && echo Restarting watcher... && aimeter stop && timeout /t 2 /nobreak >nul && aimeter start && echo. && echo Updated to latest version! This window can be closed. && echo."
128
+ Start-Process "cmd.exe" -ArgumentList "/k echo Updating AIMeter... && npm install -g getaimeter@latest && echo. && echo Reinstalling shortcuts... && aimeter install && echo. && echo Updated to latest version! This window can be closed. && echo."
129
129
 
130
130
  # Give the cmd window time to stop us, then exit this tray
131
131
  Start-Sleep -Seconds 3