Compare commits
2 Commits
cebc76b6e3
...
be3cb44ae2
| Author | SHA1 | Date | |
|---|---|---|---|
| be3cb44ae2 | |||
| 0085c63ace |
+12
-12
@@ -35,15 +35,6 @@ run_cmd = "make run"
|
||||
players = "1-2 jugadors"
|
||||
author = "JailDesigner"
|
||||
|
||||
[[game]]
|
||||
id = "aee"
|
||||
name = "Aventures en Egipte"
|
||||
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/aee.git"
|
||||
build_cmd = ""
|
||||
run_cmd = "make run"
|
||||
players = "1 jugador"
|
||||
author = "JailDesigner"
|
||||
|
||||
[[game]]
|
||||
id = "jaildoctors_dilemma"
|
||||
name = "JailDoctor's Dilemma"
|
||||
@@ -54,9 +45,9 @@ players = "1 jugador"
|
||||
author = "JailDesigner"
|
||||
|
||||
[[game]]
|
||||
id = "projecte_2026"
|
||||
name = "Projecte 2026"
|
||||
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/projecte_2026.git"
|
||||
id = "aee"
|
||||
name = "Aventures en Egipte"
|
||||
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/aee.git"
|
||||
build_cmd = ""
|
||||
run_cmd = "make run"
|
||||
players = "1 jugador"
|
||||
@@ -70,3 +61,12 @@ build_cmd = ""
|
||||
run_cmd = "make run"
|
||||
players = "1-2 jugadors"
|
||||
author = "JailDesigner"
|
||||
|
||||
[[game]]
|
||||
id = "projecte_2026"
|
||||
name = "Projecte 2026"
|
||||
clone_url = "https://gitea.sustancia.synology.me/jaildesigner-jailgames/projecte_2026.git"
|
||||
build_cmd = ""
|
||||
run_cmd = "make run"
|
||||
players = "1 jugador"
|
||||
author = "JailDesigner"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
"""jlauncher — lanzador de juegos jailgames."""
|
||||
|
||||
__version__ = "0.1.0"
|
||||
__version__ = "1.0.0"
|
||||
|
||||
@@ -19,7 +19,7 @@ from PySide6.QtWidgets import (
|
||||
QWidget,
|
||||
)
|
||||
|
||||
from .. import gitops
|
||||
from .. import __version__, gitops
|
||||
from ..config import Config, Game
|
||||
from ..settings import load_settings, save_settings
|
||||
from ..workers import CheckUpdatesWorker, DownloadWorker, RunWorker
|
||||
@@ -246,6 +246,25 @@ class MainWindow(QMainWindow):
|
||||
self.action_token.triggered.connect(self._configure_token)
|
||||
menu.addAction(self.action_token)
|
||||
|
||||
self._build_help_menu()
|
||||
|
||||
def _build_help_menu(self) -> None:
|
||||
"""Menú Ajuda amb el «Quant a…». A macOS, AboutRole el mou al menú de l'app."""
|
||||
help_menu = self.menuBar().addMenu("Ajuda")
|
||||
self.action_about = QAction(f"Quant a {APP_NAME}…", self)
|
||||
self.action_about.setMenuRole(QAction.MenuRole.AboutRole)
|
||||
self.action_about.triggered.connect(self._show_about)
|
||||
help_menu.addAction(self.action_about)
|
||||
|
||||
def _show_about(self) -> None:
|
||||
QMessageBox.about(
|
||||
self,
|
||||
f"Quant a {APP_NAME}",
|
||||
f"<b>{APP_NAME}</b><br>"
|
||||
f"Versió {__version__}<br><br>"
|
||||
"© 2026 JailDesigner",
|
||||
)
|
||||
|
||||
def _build_theme_menu(self, parent_menu) -> None:
|
||||
"""Submenú Tema amb tres opcions exclusives: Sistema / Clar / Fosc."""
|
||||
submenu = parent_menu.addMenu("Tema")
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "jlauncher"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
description = "Lanzador de juegos jailgames: clona, compila y ejecuta repos Gitea"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user