Commit graph

54 commits

Author SHA1 Message Date
Pat Hartl
71ccf03fb0 Added download canceling back into downloads 2024-01-25 00:46:10 -06:00
Pat Hartl
71a27bee91 Added notifications for game install failure in download queue 2024-01-24 23:36:52 -06:00
Pat Hartl
08a3a50bc2 Fix queuing of games through the "Install" button 2024-01-22 02:38:53 -06:00
Pat Hartl
b0362827a1 Use dispatcher to update UI. DownloadQueueItem implements ObservableObject for UI updates. Properly handle InstallController lifetime. Added cover to download queue. Laid out the download queue a bit more. 2024-01-21 12:34:30 -06:00
Pat Hartl
a269d7a658 Rough but functional download queue 2024-01-20 21:02:41 -06:00
Pat Hartl
7278aa8b86 Keep track of what name was used on the last name change script run for a game 2024-01-19 00:25:38 -06:00
Pat Hartl
ab7527479a Add offline mode to Playnite plugin 2024-01-18 23:22:46 -06:00
Pat Hartl
caecf603ac Store player alias separate from the username
Some checks failed
LANCommander Playnite Plugin / build (push) Has been cancelled
LANCommander Release / build (push) Has been cancelled
2024-01-15 20:39:04 -06:00
Pat Hartl
976fe32207 Show actual game being installed 2024-01-10 17:54:46 -06:00
Pat Hartl
a8ed46bff7 Change location of all metadata/script files in install directory
In order to support mods and expansions, there needs to be another place to hold game scripts and the manifest. These have been moved to the {InstallDir}\.lancommander\{GameId} directory.
2024-01-09 01:22:56 -06:00
Pat Hartl
7afa8d0674 Rename managers to services, merge into Client so it can be used anywhere the client is accessible. 2024-01-02 02:34:58 -06:00
Pat Hartl
ef56829e10 Mark game is installed before scripts run and latest save is downloaded to properly set the game's install location 2023-12-27 19:26:41 -06:00
Pat Hartl
4c54381a2e Fix action path resolution by explicitly passing in the install directory when updating game info 2023-12-27 17:21:53 -06:00
Pat Hartl
f51aff52dc Download latest save after install before install scripts execute 2023-12-27 17:20:41 -06:00
Pat Hartl
0e7e3b926c Add logger to install and uninstall controllers that call LC SDK 2023-12-19 18:46:11 -06:00
Pat Hartl
a9f3b7a39d Only execute scripts if they exists on the disk 2023-11-16 14:06:40 -06:00
Pat Hartl
16dc60b90a Run key change script in InstallController 2023-11-16 00:40:27 -06:00
Pat Hartl
bf2c9ea45a Move script path helpers to ScriptHelper. Execute post-install scripts in Playnite extension. 2023-11-15 23:42:54 -06:00
Pat Hartl
7c97a3db57 Include download speed in progress dialog 2023-11-12 01:50:34 -06:00
Pat Hartl
6f7c17493c Install redistributables after game is installed 2023-11-12 01:27:15 -06:00
Pat Hartl
81e4848407 Include download percentage in dialog 2023-11-12 01:26:51 -06:00
Pat Hartl
1ede37c031 Simplify game install cancellation. Cancels now happen silently and don't generate a dialog. 2023-11-12 01:04:05 -06:00
Pat Hartl
47bb054fd1 Restore progress bar 2023-11-10 21:44:48 -06:00
Pat Hartl
b77e7f6e53 Pass in default install directory to managers 2023-11-10 21:36:35 -06:00
Pat Hartl
39f2d4b212 Move methods that should be static to ManifestHelper and ScriptHelper. Move install logic to GameManager and RedistributableManager. Update InstallController and UninstallController 2023-11-10 00:29:16 -06:00
Pat Hartl
5a99f58f81 Run install script even if there is no archive for redistributables 2023-10-28 14:08:13 -05:00
Pat Hartl
06188d5800 Rename temp scripts to .ps1
Some checks failed
LANCommander Playnite Plugin / build (push) Has been cancelled
PowerShell won't execute scripts that don't end in .ps1
2023-10-27 18:54:19 -05:00
Pat Hartl
4dfed69a91 Fix detection result check 2023-10-24 19:12:59 -05:00
Pat Hartl
b4405d3034 Added redistributable installing to plugin 2023-10-24 19:11:50 -05:00
Pat Hartl
b32451d216 Add the ability to cancel installs in Playnite 2023-09-16 15:13:55 -05:00
Pat Hartl
0def49d9dc Throw error when game archive cannot be extracted 2023-08-22 18:59:42 -05:00
Pat Hartl
d2487ae6ec Fix title in logging 2023-08-22 18:58:59 -05:00
Pat Hartl
4574dea6f9 Added trace logging to client 2023-08-21 18:44:20 -05:00
Daniel
f05005460f Delete install path on install error 2023-04-08 15:47:01 -05:00
Daniel
cb770f8dab Add DownloadAndExtract 2023-04-07 20:08:03 -05:00
Daniel
127f0cbb08 Switch to SharpCompress 2023-04-07 19:09:00 -05:00
Pat Hartl
b3b4d0dad6 Attempt extraction multiple times in case tmp file is still in use 2023-03-23 19:16:52 -05:00
Pat Hartl
a23a602abb Downgrade YamlDotNet to 5.4.0 for compatibility with Playnite 2023-03-22 17:30:25 -05:00
Pat Hartl
7c1f282feb Added retry to writing manifest. Keep track of temporary download locations to avoid multiple downloads. 2023-03-20 18:37:12 -05:00
Pat Hartl
b7f4141175 Force users to authenticate in Playnite plugin. More graceful handling of validating connections. 2023-03-17 02:07:25 -05:00
Pat Hartl
5f0b69c2c9 Get allocated key on install 2023-01-28 17:18:41 -06:00
Pat Hartl
bbbf80f4b6 Run name change script after running post-install script 2023-01-19 20:03:16 -06:00
Pat Hartl
abecd9f2f2 Added sort ordering to actions and fixed install process not updating game from live manifest 2023-01-16 23:45:46 -06:00
Pat Hartl
81bad5e032 Started basic implementation of allowing name/key changes in UI 2023-01-15 04:56:56 -06:00
Pat Hartl
0681d0a75b Save all scripts on a game and allow them to run as admin. 2023-01-15 04:29:47 -06:00
Pat Hartl
b689abb8bc Run uninstall script. Run scripts safely without throwing exceptions 2023-01-15 01:19:03 -06:00
Pat Hartl
d39c75d0ab Run post-install scripts 2023-01-15 01:10:36 -06:00
Pat Hartl
b28ef5a40c Renamed plugin class to LANCommanderLibraryPlugin 2023-01-14 15:15:31 -06:00
Pat Hartl
3c62e795e5 Added ability for client to request the game manifest to provide metadata. Games can now be downloaded directly. 2023-01-14 15:09:45 -06:00
Pat Hartl
c16f61befd Refactor settings to properly handle install directory. 2023-01-11 20:48:39 -06:00