ScholarSeed Installer
Command-line installer for the ScholarSeed desktop app.
Usage
Install ScholarSeed:
npx @damodi/scholarseed
npx @damodi/scholarseed install
Uninstall ScholarSeed:
npx @damodi/scholarseed uninstall
Show help:
npx @damodi/scholarseed --help
Install Behavior
The installer downloads the latest ScholarSeed desktop package from the update service and runs the platform installer.
Supported platforms:
- macOS
- Windows x64
On macOS, the installer prefers /Applications. If that location cannot be
used, it applies the appropriate recovery step based on the failure:
- permission errors request administrator permission
- in-use app errors try to quit the running app and retry
- unrecoverable errors fall back to
~/Applications
On Windows, the installer runs the desktop installer in silent mode and waits for the installation to complete before returning.
Uninstall Behavior
The uninstall command refuses to run while ScholarSeed is still running. Quit ScholarSeed first, then rerun:
npx @damodi/scholarseed uninstall
On Windows, the uninstall command waits for the installation directory to be removed before reporting success.
Environment Variables
| Variable | Description | Default |
|---|---|---|
SCHOLARSEED_UPDATE_API | Update service endpoint | https://scholarseed.damo.alibaba.com/api/v1/updates |
SCHOLARSEED_CHANNEL | Release channel | release |
SCHOLARSEED_INSTALL_DIR | macOS install directory | /Applications |
SCHOLARSEED_APP_NAME | macOS app bundle name | ScholarSeed.app |
SCHOLARSEED_SKIP_POSTINSTALL | Skip automatic install during postinstall when set to 1 or true | unset |