Capybara is an alternative for Squirrel, focusing on being robust and minimal whilst easing your migration.
Capybara is an alternative for Squirrel, acting as a mostly drop in replacement for it's Update.exe. It's extremely lightweight and robust as it requires no extra files, just itself. There is no updating in Capybara, it's designed for use in migrations (you need an Update.exe but have your own updating).
Capybara's exe is under 100KB, so it can be easily downloaded, updated, etc without worrying about data usage.
Capybara requires no other files or folders to keep track of versions or perform any operations, as long as it exists and your app exists, it'll work.
Capybara features the same CLI as Squirrel's Update.exe, with
--createShortcut, and more.
Capybara supports starting your app in the same way as Squirrel's Update.exe.
It will look in the directory it's in for the latest
app-[version] directory. It'll pick whichever is highest according to semver. It'll then launch whatever path you gave it inside that directory.
You can also give it
--process-start-args ... at the end to pass arguments to the executable.
Capybara also supports making shortcuts in the same way as Squirrel's Update.exe.
Creates a shortcut in Start Menu with the exe path provided, exact path is picked the same as when starting.
Removes a previously created shortcut in Start Menu.
Capybara will uninstall your app when ran with the uninstall command. It deletes:
- AppData directory for your app
- Directory that Capybara is in
- Registry values (for your app, if they exist)
- Run on startup
- Uninstall program entry
- Shortcuts (if they exist)
- Start menu
Detailed docs and exact paths can be found in the repo.