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
+19 -19
View File
@@ -5218,6 +5218,25 @@ version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "vega"
version = "0.9.11"
dependencies = [
"keyring",
"rusqlite",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-http",
"tauri-plugin-notification",
"tauri-plugin-opener",
"tauri-plugin-process",
"tauri-plugin-updater",
]
[[package]]
name = "version-compare"
version = "0.2.1"
@@ -6155,25 +6174,6 @@ dependencies = [
"x11-dl",
]
[[package]]
name = "wrystr"
version = "0.9.11"
dependencies = [
"keyring",
"rusqlite",
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-http",
"tauri-plugin-notification",
"tauri-plugin-opener",
"tauri-plugin-process",
"tauri-plugin-updater",
]
[[package]]
name = "x11"
version = "2.21.0"
+2 -2
View File
@@ -1,5 +1,5 @@
[package]
name = "wrystr"
name = "vega"
version = "0.9.11"
description = "Cross-platform Nostr desktop client with Lightning integration"
authors = ["hoornet"]
@@ -11,7 +11,7 @@ edition = "2021"
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "wrystr_lib"
name = "vega_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
+9 -2
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])?;
+1 -1
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()
}
+4 -4
View File
@@ -1,8 +1,8 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Wrystr",
"productName": "Vega",
"version": "0.9.11",
"identifier": "com.hoornet.wrystr",
"identifier": "com.hoornet.vega",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
@@ -12,7 +12,7 @@
"app": {
"windows": [
{
"title": "Wrystr",
"title": "Vega",
"width": 1200,
"height": 800,
"minWidth": 900,
@@ -38,7 +38,7 @@
"plugins": {
"updater": {
"endpoints": [
"https://github.com/hoornet/wrystr/releases/latest/download/latest.json"
"https://github.com/hoornet/vega/releases/latest/download/latest.json"
],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEY5RDJDMzkyOTc1OTI2NTIKUldSU0psbVhrc1BTK2NTcE9ybm1VcG1KU2VicmJUMWd4TmVTMzNYL1M3ZnhCQWIvU2R2V2V3Tm0K",
"dialog": false