Commit graph

297 commits

Author SHA1 Message Date
Pat Hartl
6916418e0f Fix queueing and display of dependent games 2024-06-12 01:28:26 -05:00
Pat Hartl
1566172ad2 Fix parsing of primary actions in manifest, add dropdown for non-primary actions 2024-05-28 21:08:30 -05:00
Pat Hartl
9e26255df3 Pull actions from manifests and servers 2024-05-28 00:54:09 -05:00
Pat Hartl
9b2464e6f2 Fix actions not presenting if not connected 2024-05-19 17:34:32 -05:00
Pat Hartl
a03c0dd9ec
Update installermanifest.yaml 2024-05-10 21:55:49 -05:00
Pat Hartl
da61034514
Merge pull request #67 from dalbitresb12/fix/expansions-mods
Some checks failed
LANCommander Release / build (push) Has been cancelled
Expansions/mods installation and uninstallation fixes
2024-05-10 19:37:17 -07:00
Pat Hartl
de89075463 Null check for manifests that may not have actions 2024-05-10 20:50:37 -05:00
dalbitresb12
a8a488712f
Ensure proper uninstallation of expansions/mods
The manifests are now read in reverse, ensuring that the expansions/mods scripts are executed before the base game scripts.

This change also add the code to remove the expansions/mods files. Previously, these files were left behind, but now they are properly removed.
2024-05-10 06:00:54 -05:00
dalbitresb12
6641069c4a
Set BaseGame for extensions/mods before running scripts
The server sets `BaseGame` to null to avoid a circular dependency, but if this is not set then the expansions/mods won't find their scripts

There's probably a better way of doing this, like changing the `Run*Script` functions to receive the game ID, just like the `GameService.Install` already does, but this temporary change fixed the script issue for now
2024-05-10 05:53:14 -05:00
Pat Hartl
651cc4d439
Update installermanifest.yaml 2024-05-08 01:18:40 -05:00
Pat Hartl
9faa47adcd Fixed import of genres, publishers, developers, tags, and collections
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-05-07 23:56:26 -05:00
Pat Hartl
0a55c944a8 Fix dependent game update checking 2024-05-07 23:09:33 -05:00
Pat Hartl
b3ef0e754e Run uninstall scripts for mods/expansions 2024-05-07 18:08:59 -05:00
Pat Hartl
9d8df90155 Import games using Game type instead of manifest
Games now import using the Game type instead of manifest. The manifest is fine for locally caching the game (though who knows, this could change as well), but for providing complex information like dependent games versioning it just doesn't have enough data.

Importing has been changed to provide the "Update Available" title change on games where the main game or mod/expansion has a new version available.

Notes now get populated on import, not just install.

Reworked population of game menu items to include non-primary actions from mods/expansions.

Simplified and fixed certain scripts not running for mods/expansions.
2024-05-07 01:47:00 -05:00
Pat Hartl
86393deeea Restructure how dependent manifest actions are loaded 2024-05-06 22:55:25 -05:00
Pat Hartl
4beaa114f8 Add mod/expansion actions to action list
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-05-04 01:07:06 -05:00
Pat Hartl
8cc8122d13 Install dependent expansions/mods 2024-05-01 23:58:07 -05:00
Pat Hartl
f8f23ff7e9
Update installermanifest.yaml 2024-04-29 21:24:50 -05:00
Pat Hartl
4006bbd266 Fix notes not importing
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-04-29 19:32:44 -05:00
Pat Hartl
069881fb6b
Update installermanifest.yaml 2024-03-28 20:17:05 -05:00
Pat Hartl
d15d2cd8e7
Update installermanifest.yaml 2024-03-23 12:58:46 -05:00
Pat Hartl
e4c74ad851 Remove update label on titles on uninstall 2024-03-23 11:47:54 -05:00
Pat Hartl
55087986a2 Don't resolve server host if it's an IP address 2024-03-23 11:47:21 -05:00
Pat Hartl
97e2b439cc
Update installermanifest.yaml 2024-03-14 20:50:19 -05:00
Pat Hartl
52c04c8667 Generate version from msbuild 2024-03-14 19:23:09 -05:00
Pat Hartl
59ed5465b2 Add script types that can execute before a game is started and after it;s closed 2024-03-13 17:16:24 -05:00
Pat Hartl
3def9745d7 Remove completed items from queue if uninstalled or updated 2024-03-12 01:33:58 -05:00
Pat Hartl
3df800caf5 Safely handle actions if server is unavailable or action is misconfigured 2024-03-10 19:51:42 -05:00
Pat Hartl
bb03809004 Import game refreshing metadata after installation 2024-03-09 16:56:28 -06:00
Pat Hartl
3464b12ee2 Fix working directory on non-primary actions 2024-03-09 16:56:04 -06:00
Pat Hartl
720ad4f35f Sort completed items in download queue by datetime descending 2024-03-09 12:30:02 -06:00
Pat Hartl
37af5df5e1 Add keybind for delete key on save manager 2024-03-09 12:17:04 -06:00
Pat Hartl
db5d67f23a
Update installermanifest.yaml 2024-02-22 18:51:48 -06:00
Pat Hartl
3d37da29fe Fix issue where updating to v0.6.0 would duplicate library items and break some games
Playnite doesn't allow the editing of IDs. This fix removes the original game entry and adds the migrated one as a new game. Install status and directory are maintained.
2024-02-22 17:19:45 -06:00
Pat Hartl
2dd6742cd6 Check for potentially existing game install when importing games 2024-02-21 23:32:47 -06:00
Pat Hartl
532c219924
Update installermanifest.yaml 2024-02-20 21:04:59 -06:00
Pat Hartl
05f1d37981 Add checksum to media, cache media locally on client 2024-02-20 17:58:49 -06:00
Pat Hartl
a38d5a8826 Catch exceptions when migrating game IDs 2024-02-18 19:06:06 -06:00
Pat Hartl
9972fd3353 Add migrations for game ID and version for pre-0.6.0 installed games 2024-02-18 19:00:09 -06:00
Pat Hartl
d136c87d46 Fix install script context menu item localization 2024-02-18 17:53:40 -06:00
Pat Hartl
255c630e5b Move hard coded strings to localization for Playnite addon 2024-02-18 17:24:45 -06:00
Pat Hartl
9dbd605957 Fix missing authentication view model after rename 2024-02-18 17:24:06 -06:00
Pat Hartl
01b2bd855b Remove main menu item for changing name across all games.
This was replaced by the profile menu at the top of the main library view.
2024-02-18 17:23:29 -06:00
Pat Hartl
c99d82c916 Remove unused usings 2024-02-18 15:59:28 -06:00
Pat Hartl
fc119b609b Make sure playerName doesn't get saved to config 2024-02-18 15:56:31 -06:00
Pat Hartl
47f1996c14 Renamed authentication view model 2024-02-18 15:54:39 -06:00
Pat Hartl
bded68241a Settings view 2024-02-18 15:53:45 -06:00
Pat Hartl
293575255f Rename settings view model 2024-02-18 15:53:32 -06:00
Pat Hartl
a1e4ef6dc5 Rename download queue view 2024-02-18 15:52:41 -06:00
Pat Hartl
7848b310dc Rename authentication view 2024-02-18 15:52:08 -06:00