120 lines
5.9 KiB
Markdown
120 lines
5.9 KiB
Markdown
# Install and manage plugins
|
|
|
|
[RuneStone](../README.md) · [User guide](user-guide.md)
|
|
|
|
Plugins add optional features such as Terminal, Table Formulas, Git, and PDF Viewer.
|
|
Use **Settings → Plug-ins** to install, update, enable, disable, or uninstall them.
|
|
The Browser is included with RuneStone and needs no plugin.
|
|
|
|
## Install a plugin
|
|
|
|
Get the plugin's release ZIP. Keep the file compressed.
|
|
Each ZIP installs one plugin. You can select up to 100 ZIPs at once.
|
|
|
|
1. Open **Settings → Plug-ins**.
|
|
2. Choose **Install plugin ZIP**.
|
|
3. Select the ZIP files.
|
|
4. Review each plugin's name, author, version, source, destination, and access level.
|
|
5. Choose **Install and enable** to use the plugins, or **Install** to keep them disabled.
|
|
|
|
For example, a Terminal package uses the filename `runestone.terminal-<version>.zip`.
|
|
The version in the filename identifies the release. Select the actual ZIP you received.
|
|
Use the same steps for other plugins.
|
|
|
|
Plugins run with RuneStone's application access. Enable only code you trust.
|
|
The author field does not prove the publisher's identity. Plugins have no permission sandbox.
|
|
|
|
RuneStone copies the packages into its application data folder. It keeps your downloaded ZIPs unchanged.
|
|
The review and installation steps do not run plugin code or installation scripts.
|
|
Each package succeeds or fails separately. Check the result for any failed packages.
|
|
|
|
## Enable or disable a plugin
|
|
|
|
Use the switch beside the plugin in **Settings → Plug-ins**.
|
|
The **Enabled** or **Disabled** status shows your choice.
|
|
That choice applies across RuneStone windows and persists after restart.
|
|
No optional plugin starts automatically in a fresh installation.
|
|
|
|
Disabling stops the plugin and keeps its installed files, settings, and workspace documents.
|
|
If RuneStone asks for a restart, close all RuneStone windows and open the app again.
|
|
Some loaded code can remain in memory until the app closes.
|
|
|
|
## Update a plugin
|
|
|
|
1. Get the new release ZIP for the plugin.
|
|
2. Open **Settings → Plug-ins → Install plugin ZIP**.
|
|
3. Select the ZIP.
|
|
4. Review the current and new versions.
|
|
5. Choose **Apply packages**.
|
|
|
|
RuneStone recognizes an update by the plugin ID.
|
|
Updates keep the plugin's settings and its previous enabled or disabled state.
|
|
RuneStone stops the plugin in every window before replacing its files.
|
|
If cleanup fails, the update stops. Restart RuneStone before you try again.
|
|
|
|
## Uninstall a plugin
|
|
|
|
1. Open **Settings → Plug-ins**.
|
|
2. Choose **Uninstall** beside the plugin.
|
|
3. Check the plugin details and deletion message.
|
|
4. Choose **Uninstall and delete files**.
|
|
|
|
Uninstall removes the installed package after the plugin stops in every window.
|
|
It keeps downloaded ZIPs, plugin settings, generated data, and workspace documents.
|
|
For example, Table Formulas leaves formula source in your Markdown files.
|
|
Installing the plugin again can reuse its retained settings, but you must choose whether to enable it.
|
|
|
|
**Cancel** leaves the plugin unchanged. **Disable instead** stops it and keeps the package installed.
|
|
If RuneStone asks for a restart, close all RuneStone windows and open the app again.
|
|
|
|
## Install from a Gitea link (experimental)
|
|
|
|
Use this route when the publisher supplies a Gitea repository link with a plugin ZIP attached to a release.
|
|
GitHub and GitLab links are not supported.
|
|
|
|
1. Open **Settings → Plug-ins → Install from Git link**.
|
|
2. Enter the repository root link supplied by the publisher.
|
|
3. Enter a specific release tag, or leave it empty for the latest stable release.
|
|
4. For a private repository, enter a Gitea token with repository read access.
|
|
5. Choose **Review release**.
|
|
|
|
Review the package, then choose **Install** or **Install and enable**.
|
|
For an existing plugin, choose **Apply packages**.
|
|
Use an explicit tag for a prerelease. A source archive or branch link cannot install a plugin.
|
|
The release must contain exactly one attached plugin ZIP.
|
|
|
|
Use HTTPS for a remote server. RuneStone clears the token after the request and does not save it.
|
|
RuneStone downloads a package through this route. It does not clone or build the repository.
|
|
|
|
## Feature guides
|
|
|
|
Use these guides for plugin features after installation:
|
|
|
|
- [Terminal sessions and shortcuts](guides/terminal.md)
|
|
- [Git controls, push, pull, and history](../../RuneStone_Git/docs/usage.md)
|
|
- [Background Slideshow images and board targets](../../RuneStone_Background_Slideshow/docs/usage.md)
|
|
- [Local Autocomplete trial and settings](../../RuneStone_Local_Autocomplete/docs/trial-guide.md)
|
|
- [Project Management tasks and boards](../../RuneStone_Project_Management/project-management.md)
|
|
|
|
Links outside this repository require the corresponding sibling source checkout.
|
|
For the included browser, use the [built-in browser guide](user-guide.md#use-the-built-in-browser).
|
|
|
|
## Plugin help
|
|
|
|
| Problem | Action |
|
|
| --- | --- |
|
|
| The ZIP fails review | Read the reported error. Get a complete release ZIP from the plugin author. |
|
|
| You received source code or a loose manifest | Get the release ZIP. Users do not need to build the plugin. |
|
|
| The plugin is installed but unavailable | Check its switch and any error beside it in **Settings → Plug-ins**. |
|
|
| Changed plugin files need another enable decision | Review the changed package before enabling it again. |
|
|
| An update or uninstall reports a cleanup failure | Restart RuneStone, then repeat the action. |
|
|
| The plugin shows **Removal incomplete** | Choose **Retry cleanup** to finish the confirmed removal. |
|
|
| Retry cleanup reports changed files | Check the path in the error before retrying. |
|
|
| A Gitea release has no usable package | Check the release tag and ask the publisher for a release with one attached plugin ZIP. |
|
|
|
|
Use **Show files** beside a plugin to inspect its installed folder.
|
|
Include the plugin name, version, RuneStone version, and error text when you report a problem.
|
|
|
|
To create a plugin, use the [plugin development reference](plugin-development.md).
|
|
It covers build examples, package requirements, releases, and the API.
|