Refactor: remove desktop/Tauri bundle, add i18n, CI/CD pipeline
Nightly Build / build (push) Failing after 6s
Nightly Build / build (push) Failing after 6s
- Remove desktop (Tauri) bundle: docs/desktop.md, icons/, tauri.conf.json, src/desktop/mod.rs, gen/schemas/ - Remove build.rs (no longer needed) - Add i18n system (crates/core-api, plugin-mobile-connector, web) - Refactor config system (src/config.rs, boot_format.rs) - Add mobile connector features (app, router, device pairing) - Plugin system improvements (skald-core) - Update dependencies (Cargo.lock, Cargo.toml) - CI/CD: Gitea Actions workflows (nightly + release), package.sh, verify-version.sh, builds.skaldagent.net config
This commit is contained in:
@@ -31,6 +31,7 @@ mod agent;
|
||||
mod app;
|
||||
mod auth;
|
||||
mod events;
|
||||
mod i18n;
|
||||
mod notifier;
|
||||
mod payloads;
|
||||
mod proxy;
|
||||
@@ -140,6 +141,7 @@ impl MobileConnectorPlugin {
|
||||
Arc::clone(&client),
|
||||
Arc::clone(&ctx.user_channel),
|
||||
Arc::clone(&ctx.config),
|
||||
Arc::clone(&ctx.i18n),
|
||||
bindings,
|
||||
require_device_confirmation,
|
||||
notify_delay,
|
||||
@@ -339,6 +341,12 @@ impl Plugin for MobileConnectorPlugin {
|
||||
crate::tools::mobile_tools(self)
|
||||
}
|
||||
|
||||
/// Backend translation tables — the router's error/response strings,
|
||||
/// namespaced `plugin.mobile-connector.*`. See `crate::i18n`.
|
||||
fn i18n(&self) -> Vec<core_api::i18n::LocaleBundle> {
|
||||
crate::i18n::bundles()
|
||||
}
|
||||
|
||||
fn as_any(&self) -> &dyn std::any::Any { self }
|
||||
fn as_arc_any(self: Arc<Self>) -> Arc<dyn std::any::Any + Send + Sync> { self }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user