diff --git a/README.md b/README.md index 8352188..182e87a 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ You can rename `modorganizer-basic_games-xxx` to whatever you want (e.g., `basic | Darkest Dungeon — [GOG](https://www.gog.com/game/darkest_dungeon) / [STEAM](https://store.steampowered.com/app/262060/Darkest_Dungeon/) | [erri120](https://github.com/erri120) | [game_darkestdungeon.py](games/game_darkestdungeon.py) | | | Dark Messiah of Might & Magic — [STEAM](https://store.steampowered.com/app/2100/Dark_Messiah_of_Might__Magic/) | [Holt59](https://github.com/holt59/) | [game_darkmessiahofmightandmagic.py](games/game_darkmessiahofmightandmagic.py) | | | Dark Souls — [STEAM](https://store.steampowered.com/app/211420/DARK_SOULS_Prepare_To_Die_Edition/) | [Holt59](https://github.com/holt59/) | [game_darksouls.py](games/game_darkestdungeon.py) | | +| Dispatch — [STEAM](https://store.steampowered.com/app/2592160/Dispatch/) | [Syer10](https://github.com/Syer10) | [game_dispatch.py](games/game_dispatch.py) | | | Divinity: Original Sin (Classic) — [STEAM](https://store.steampowered.com/app/230230/Divinity_Original_Sin_Classic/) | [LostDragonist](https://github.com/LostDragonist/) | [game_divinityoriginalsin.py](games/game_divinityoriginalsin.py) | | | Divinity: Original Sin (Enhanced Edition) — [STEAM](https://store.steampowered.com/app/373420/Divinity_Original_Sin__Enhanced_Edition/) | [LostDragonist](https://github.com/LostDragonist/) | [game_divinityoriginalsinee.py](games/game_divinityoriginalsinee.py) | | | Dragon's Dogma: Dark Arisen — [GOG](https://www.gog.com/game/dragons_dogma_dark_arisen) / [STEAM](https://store.steampowered.com/app/367500/Dragons_Dogma_Dark_Arisen/) | [EzioTheDeadPoet](https://github.com/EzioTheDeadPoet) | [game_dragonsdogmadarkarisen.py](games/game_dragonsdogmadarkarisen.py) | | diff --git a/games/game_dispatch.py b/games/game_dispatch.py index 3b22084..6ac47cf 100644 --- a/games/game_dispatch.py +++ b/games/game_dispatch.py @@ -1,6 +1,6 @@ from pathlib import Path -from PyQt6.QtCore import QDir +from PyQt6.QtCore import QDir, QFileInfo import mobase @@ -28,7 +28,7 @@ def __init__(self): class Dispatch(BasicGame, mobase.IPluginFileMapper): Name = "Dispatch Support Plugin" Author = "Syer10" - Version = "0.1.0" + Version = "0.1.1" GameName = "Dispatch" GameShortName = "dispatch" @@ -56,7 +56,13 @@ def init(self, organizer: mobase.IOrganizer) -> bool: def executables(self): return [ - mobase.ExecutableInfo("Dispatch", self.GameBinary), + mobase.ExecutableInfo( + "Dispatch", + QFileInfo( + self.gameDirectory(), + self.GameBinary, + ), + ), ] ## SAVE