Rename Wrystr to Vega

Named after Jurij Vega (1754-1802), Slovenian mathematician who made
knowledge accessible through his logarithm tables. Rebrand before
OpenSats application (April 1).

- Product name, window title, identifiers, binary name all renamed
- Cargo package: wrystr -> vega, wrystr_lib -> vega_lib
- PKGBUILD: wrystr -> vega (new AUR package name)
- Release workflow: artifact names, release text updated
- README: new tagline referencing Jurij Vega
- DB migration: auto-renames wrystr.db -> vega.db on first launch
- Keyring service name kept as "wrystr" for backward compatibility
- localStorage keys kept as wrystr_* to preserve existing user data

Pending manual steps:
- Rename GitHub repo hoornet/wrystr -> hoornet/vega
- Create new AUR package vega-git, orphan wrystr-git
- Update local .desktop launcher
This commit is contained in:
Jure
2026-03-30 21:14:02 +02:00
parent 383634fb56
commit 5cbaa7b741
315 changed files with 12550 additions and 95 deletions

View File

@@ -9,6 +9,7 @@ use tauri::{
// ── OS keychain ─────────────────────────────────────────────────────────────
// Keep legacy keyring service name so existing users don't lose their keys
const KEYRING_SERVICE: &str = "wrystr";
#[tauri::command]
@@ -43,7 +44,13 @@ struct DbState(Mutex<Connection>);
fn open_db(data_dir: std::path::PathBuf) -> rusqlite::Result<Connection> {
std::fs::create_dir_all(&data_dir).ok();
let path = data_dir.join("wrystr.db");
// Try new name first, fall back to legacy name for migration
let new_path = data_dir.join("vega.db");
let legacy_path = data_dir.join("wrystr.db");
if !new_path.exists() && legacy_path.exists() {
std::fs::rename(&legacy_path, &new_path).ok();
}
let path = new_path;
let conn = Connection::open(path)?;
conn.execute_batch(
"PRAGMA journal_mode=WAL;
@@ -385,7 +392,7 @@ pub fn run() {
app.manage(DbState(Mutex::new(conn)));
// ── System tray ──────────────────────────────────────────────────
let show_item = MenuItem::with_id(app, "show", "Open Wrystr", true, None::<&str>)?;
let show_item = MenuItem::with_id(app, "show", "Open Vega", true, None::<&str>)?;
let quit_item = MenuItem::with_id(app, "quit", "Quit", true, None::<&str>)?;
let menu = Menu::with_items(app, &[&show_item, &quit_item])?;

View File

@@ -7,5 +7,5 @@ fn main() {
#[cfg(target_os = "linux")]
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
wrystr_lib::run()
vega_lib::run()
}