mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 06:15:03 +00:00
fix(bar): correct the already-running reinstall hint
'open -a' only activates a running app, so suggesting 'ccs bar' as an alternative to quitting could not load the new binary. The hint now says to quit from the menu bar first, then run 'ccs bar' to relaunch the updated app.
This commit is contained in:
1 parent
3438c3940e
commit
3aab14ca85
2 files changed
+7
-6
No files matched your search
@@ -681,7 +681,7 @@ export async function handleBarInstall(
|
||||
|
||||
if (barIsRunning && !forceLaunch) {
|
||||
console.log(
|
||||
'[!] CCS Bar is currently running the previous version. Quit and reopen it (or run `ccs bar`) to use the update.'
|
||||
'[!] CCS Bar is currently running an older build. Quit it from the menu bar, then run `ccs bar` to relaunch the updated app.'
|
||||
);
|
||||
} else if (forceLaunch) {
|
||||
await launchBar([]);
|
||||
|
||||
Reference in new issue
Block a user