Release RuneStone 0.1.4 with installable plugins and settings

This commit is contained in:
Knotty Wyvern
2026-10-04 15:05:51 -07:00
parent 0268c5c9f0
commit 6b7af0d527
82 changed files with 4150 additions and 212 deletions
+16
View File
@@ -1,4 +1,5 @@
mod pty;
mod plugins;
mod workspace;
use pty::PtyState;
@@ -12,6 +13,7 @@ pub fn run() {
.plugin(tauri_plugin_dialog::init())
.manage(WorkspaceState::new())
.manage(PtyState::new())
.manage(plugins::PluginState::default())
.invoke_handler(tauri::generate_handler![
workspace::workspace_open,
workspace::workspace_open_window,
@@ -30,6 +32,19 @@ pub fn run() {
workspace::workspace_abs_path,
workspace::workspace_reveal,
workspace::workspace_search,
plugins::plugins_snapshot,
plugins::plugins_choose,
plugins::plugins_cancel,
plugins::plugins_install,
plugins::plugins_set_enabled,
plugins::plugins_load,
plugins::plugins_release,
plugins::plugins_prepare_remove,
plugins::plugins_remove,
plugins::plugins_retry_remove,
plugins::plugins_reveal,
plugins::plugins_data,
plugins::plugins_asset,
pty::pty_open,
pty::pty_write,
pty::pty_resize,
@@ -43,6 +58,7 @@ pub fn run() {
.run(|app, event| {
if let tauri::RunEvent::WindowEvent { label, event: tauri::WindowEvent::Destroyed, .. } = &event {
app.state::<PtyState>().close_window(label);
app.state::<plugins::PluginState>().close_window(label);
app.state::<WorkspaceState>().close_window(label);
}
if matches!(event, tauri::RunEvent::Exit) {