Rebrand to psppt (psp-preserve -> psppt)
This commit is contained in:
+10
-10
@@ -1,4 +1,4 @@
|
||||
"""Native Linux GUI for the PSP Preservation Tool (PySide6 / Qt).
|
||||
"""Native Linux GUI for psppt (PySide6 / Qt).
|
||||
|
||||
Run with::
|
||||
|
||||
@@ -1117,7 +1117,7 @@ class SettingsPage(QWidget):
|
||||
iso_category, ps1_category, psp_category, ps1_dir, ps1_output_dir, ps1_base_pbp,
|
||||
nps_dir="", parent=None):
|
||||
super().__init__(parent)
|
||||
s = QSettings("PSPPreserve", "PSPPreserve")
|
||||
s = QSettings("psppt", "psppt")
|
||||
|
||||
outer = QVBoxLayout(self)
|
||||
outer.setContentsMargins(16, 16, 16, 16)
|
||||
@@ -1289,7 +1289,7 @@ class SettingsPage(QWidget):
|
||||
note = QLabel(
|
||||
"Your library, covers, and credentials live here — outside the app "
|
||||
"bundle, so they survive upgrades. On Linux this is the "
|
||||
"~/.local/state/psp-preserve folder."
|
||||
"~/.local/state/psppt folder."
|
||||
)
|
||||
note.setWordWrap(True)
|
||||
note.setStyleSheet("color: #9a9ba5;")
|
||||
@@ -1444,7 +1444,7 @@ class SettingsPage(QWidget):
|
||||
def _save(self):
|
||||
sources.save({key: edit.text() for key, edit in self.fields.items()})
|
||||
covers.clear_miss_cache()
|
||||
s = QSettings("PSPPreserve", "PSPPreserve")
|
||||
s = QSettings("psppt", "psppt")
|
||||
s.setValue("auto_scan", self.auto_scan.isChecked())
|
||||
s.setValue("scan_workers", self.workers_spin.value())
|
||||
s.setValue("auto_sync_saves", self.auto_sync.isChecked())
|
||||
@@ -4287,7 +4287,7 @@ class Ps1Page(QWidget):
|
||||
class MainWindow(QMainWindow):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setWindowTitle("psp preservation tool ~ quoije")
|
||||
self.setWindowTitle("psppt ~ quoije")
|
||||
self.resize(1240, 780)
|
||||
self._rows = []
|
||||
self._renames = []
|
||||
@@ -4310,7 +4310,7 @@ class MainWindow(QMainWindow):
|
||||
self._library_workers = []
|
||||
self._library_loading = False
|
||||
|
||||
self.settings = QSettings("PSPPreserve", "PSPPreserve")
|
||||
self.settings = QSettings("psppt", "psppt")
|
||||
self._games_dir = self._first_existing(config.GAMES_ROOTS) or self.settings.value("games_dir", "") or ""
|
||||
self._videos_dir = self._first_existing(config.VIDEO_ROOTS) or self.settings.value("videos_dir", "") or ""
|
||||
self._store_dir = str(self.settings.value("store_dir", str(config.STORE_ROOT)) or "")
|
||||
@@ -4353,7 +4353,7 @@ class MainWindow(QMainWindow):
|
||||
pm = QPixmap(str(icon_path))
|
||||
pm = pm.scaled(28, 28, Qt.KeepAspectRatio, Qt.SmoothTransformation)
|
||||
logo.setPixmap(pm)
|
||||
logo.setToolTip("PSP Preservation Tool")
|
||||
logo.setToolTip("psppt")
|
||||
self.tabs.setCornerWidget(logo, Qt.TopRightCorner)
|
||||
|
||||
self.queue = queue.TransferQueue(self)
|
||||
@@ -5676,11 +5676,11 @@ def main():
|
||||
n = ingest.ensure_catalog()
|
||||
if n:
|
||||
log.info("ingested %d DAT(s) into the catalog", n)
|
||||
log.info("starting psp-preserve (db: %s)", config.DB_PATH)
|
||||
log.info("starting psppt (db: %s)", config.DB_PATH)
|
||||
app = QApplication(sys.argv)
|
||||
style.apply_theme(app)
|
||||
app.setApplicationName("PSP Preservation Tool")
|
||||
app.setDesktopFileName("psp-preserve")
|
||||
app.setApplicationName("psppt")
|
||||
app.setDesktopFileName("psppt")
|
||||
icon_path = config.PROJECT_ROOT / "img" / "app-icon.png"
|
||||
if icon_path.is_file():
|
||||
app.setWindowIcon(QIcon(str(icon_path)))
|
||||
|
||||
Reference in New Issue
Block a user