feat: rename the database from Settings, keeping all config
Adds a Rename button to Settings -> Database: renames the current SQLite database (e.g. opslog.db -> F4BPO.db) while preserving every setting/profile, unlike New database which starts empty. Implemented as a VACUUM INTO copy + pointer switch; the old file (open and locked now) is scheduled via config.json delete_pending and removed, with its -wal/-shm sidecars, on the next launch.
This commit is contained in:
@@ -1314,6 +1314,10 @@ export function RemovePassphrase(arg1) {
|
||||
return window['go']['main']['App']['RemovePassphrase'](arg1);
|
||||
}
|
||||
|
||||
export function RenameDatabase(arg1) {
|
||||
return window['go']['main']['App']['RenameDatabase'](arg1);
|
||||
}
|
||||
|
||||
export function RenderEQSL(arg1, arg2) {
|
||||
return window['go']['main']['App']['RenderEQSL'](arg1, arg2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user