Ariver
2026-05-13 beebaf7b68b3749f4a1bc4d916e23906b8c16d7f
Apptag/ApptagApp.swift
@@ -588,6 +588,7 @@
                try TagDatabase.exportTo(url)
            } catch {
                fputs("[TagLauncher] Export failed: \(error)\n", stderr)
                showDataAlert(title: tr("settings.exportFailed"), message: error.localizedDescription)
            }
        }
    }
@@ -604,14 +605,17 @@
                scanApps()
            } catch {
                fputs("[TagLauncher] Import failed: \(error)\n", stderr)
                // Show alert on failure
                showDataAlert(title: tr("settings.importFailed"), message: error.localizedDescription)
            }
        }
    }
    private func showDataAlert(title: String, message: String) {
                let alert = NSAlert()
                alert.messageText = tr("settings.importFailed")
                alert.informativeText = error.localizedDescription
        alert.messageText = title
        alert.informativeText = message
                alert.alertStyle = .warning
                alert.runModal()
            }
        }
    }
    private var appVersion: String {