Legacy To Scoop
Section titled “Legacy To Scoop”Use this guide when you are moving off the legacy install script and want to keep Crona managed by Scoop on Windows. Stop Crona, run the beta installer once, back up the database, clear the old runtime, remove the old binaries, install Scoop, and restore the backup.
Estimated time: 20-30 minutes, mainly because the Windows install and restore steps can take a little longer to complete.
Use this guide when the final install should be managed by Scoop rather than the legacy script.
Before You Start
Section titled “Before You Start”Stop every running Crona process before you touch the install.
Close any open TUI windows, CLI sessions, and background Crona processes. If a process is still running after you close the app, stop it manually with Task Manager or Stop-Process.
1. Download The Latest Beta Installer
Section titled “1. Download The Latest Beta Installer”Download install-crona-tui.ps1 from the latest beta release page on GitHub Releases.
2. Run The Legacy Installer Once
Section titled “2. Run The Legacy Installer Once”Run the script and allow it to replace the existing install when prompted.
$version = "<version>"Invoke-WebRequest "https://github.com/webxsid/crona/releases/download/$version/install-crona-tui.ps1" -OutFile "$env:TEMP\install-crona-tui.ps1"powershell -NoProfile -ExecutionPolicy Bypass -File "$env:TEMP\install-crona-tui.ps1"Keep the existing install selected when the script asks whether to overwrite the current version.
3. Back Up Your Database
Section titled “3. Back Up Your Database”Run:
crona backupThe command prints the backup path. Keep that path for the restore step.
4. Remove The Runtime Directory
Section titled “4. Remove The Runtime Directory”Remove the Crona runtime directory after the backup is complete.
- Windows prod:
%LocalAppData%\Crona - Windows dev:
%LocalAppData%\Crona Dev
5. Remove The Legacy Binaries
Section titled “5. Remove The Legacy Binaries”Remove the old binaries from the previous user install directory if they are still present.
Typical location:
%LocalAppData%\Programs\Crona\bin
6. Install Scoop
Section titled “6. Install Scoop”Install the package manager version you want to keep:
scoop bucket add webxsid https://github.com/webxsid/scoop-bucketscoop install cronaTo stay on the beta track instead, use:
scoop bucket add webxsid https://github.com/webxsid/scoop-bucketscoop install crona-beta7. Restore The Backup
Section titled “7. Restore The Backup”Run:
crona restore <path-to-backup>If the runtime directory already contains a crona.db, Crona prompts before overwriting it.
After Migration
Section titled “After Migration”- Scoop owns install, update, and uninstall.
- Stable updates use
scoop update crona. - Beta updates use
scoop update crona-beta. crona backupandcrona restoreonly movecrona.db.
Contact
Section titled “Contact”If you hit a Windows-specific install problem, contact me directly:
- Email:
me@webxsid.com - WhatsApp:
+91-6375728437