Commit Graph

151 Commits (main)

Author SHA1 Message Date
Pat Hartl e00aa069fa Update installer manifest 2023-09-15 17:40:05 -05:00
Pat Hartl 35ca8391c6 Don't lock user into validation loop if they close the auth window 2023-09-15 17:36:45 -05:00
Pat Hartl 54b7fec96b Remove auth check on Playnite start 2023-09-15 17:35:44 -05:00
Pat Hartl ebcb943e36 Remove non-working link 2023-09-15 17:35:25 -05:00
Pat Hartl 0c7b6f3b56 Add installer manifest for Playnite addon database 2023-09-15 17:13:10 -05:00
Pat Hartl 0a6b7fbe9d Update packages 2023-09-14 00:03:08 -05:00
Pat Hartl 2960dc1d59 Update extension icon 2023-09-04 12:58:27 -05:00
Pat Hartl 49fab71c14 Add Playnite URI support 2023-09-03 15:55:04 -05:00
Pat Hartl 9388b5b630 Don't try to upload games if no save path definition file exists 2023-08-27 23:22:44 -05:00
Pat Hartl 0def49d9dc Throw error when game archive cannot be extracted 2023-08-22 18:59:42 -05:00
Pat Hartl 537ad49a5a Log when token is refreshed 2023-08-22 18:59:10 -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 defa423a6d Sample action run 2023-04-05 17:34:16 -05:00
Pat Hartl bc8fbf1076 Fix saves that target a directory in the game's install directory 2023-04-02 21:07:59 -05:00
Pat Hartl c8529cc340 Handle game saves that target a directory
Ref #17
2023-04-02 20:50:57 -05:00
Pat Hartl 5d12617996 Don't redirect stdout for PowerShell runtime 2023-04-01 22:38:13 -05:00
Pat Hartl a740a94de6 Don't stop sync on just one exception thrown 2023-04-01 22:37:54 -05:00
Pat Hartl 7f99d7f5df Add directory and contents to save ZIP 2023-03-31 19:06:34 -05:00
Pat Hartl 31b3c20717 Only export registry if there are path definitions 2023-03-30 20:27:35 -05:00
Pat Hartl 9cfca95f09 Allow for special pathing like %TEMP% or %USERPROFILE% when handling save paths 2023-03-30 20:11:00 -05:00
Pat Hartl 2485fc7cb3 Move save handling to separate service. Handle registry paths. 2023-03-29 20:49:31 -05:00
Pat Hartl aa8aba154e Basic packing/extraction of saves. Files only, no directories or registry entries. 2023-03-28 23:10:18 -05:00
Pat Hartl 32d6e109df Added uploading of saves 2023-03-28 21:30:29 -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 885bc6bbec Update packages 2023-03-22 17:31:06 -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 4f775013a6 Include old name when running PowerShell name change scripts 2023-03-17 02:08:04 -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 7c67b7535c Set player name on login 2023-03-15 17:44:26 -05:00
Pat Hartl 6b2cf6e53c Set a default install path 2023-03-15 17:44:13 -05:00
Pat Hartl c32126f286 Throw exception when installing if game has no actions defined 2023-03-15 17:44:01 -05:00
Pat Hartl cad74115e1 Added ping route. Allow register from authentication window. 2023-03-14 02:31:42 -05:00
Pat Hartl 43f0e3823d Handle invalid logins properly 2023-03-14 01:10:02 -05:00
Pat Hartl 4277b50198 Change login button state when attempting to authenticate 2023-03-13 17:37:36 -05:00
Pat Hartl 8fbc72e343 Fix first run either not displaying the authentication window, or displaying it twice 2023-03-08 20:07:27 -06:00
Pat Hartl 5f0b69c2c9 Get allocated key on install 2023-01-28 17:18:41 -06:00
Pat Hartl 7f93f806fd Don't show authentication on app start if authentication is valid 2023-01-26 01:19:49 -06:00
Pat Hartl a42619ea8c Fix install directory text not updating 2023-01-26 01:11:03 -06:00
Pat Hartl 7f98697db2 Handle bad logins 2023-01-26 01:08:34 -06:00
Pat Hartl 1fc07ca194 Have server broadcast its address to the local network for easy sign in 2023-01-26 00:29:00 -06:00
Pat Hartl db9c569ebc Authenticate upon start of the application if no settings exist 2023-01-25 21:08:05 -06:00
Pat Hartl 6191d647f6 Update extension manifest and include in build 2023-01-25 21:07:15 -06:00
Pat Hartl b4d3960dad Run all scripts in native platform PowerShell runtime. Makes running on 32 bit systems trickier. 2023-01-22 22:45:47 -06:00
Pat Hartl 749a430217 Convert back to icon until data binding is figured out 2023-01-20 00:22:10 -06:00
Pat Hartl 4bd8a9a018 Fix checking for ASCII characters 2023-01-20 00:21:51 -06:00
Pat Hartl bbbf80f4b6 Run name change script after running post-install script 2023-01-19 20:03:16 -06:00
Pat Hartl ee35c9bd13 Allow user to change player name across all installed games 2023-01-19 20:02:34 -06:00
Pat Hartl 47d0fa1d93 Allow game variables in working dir parameter 2023-01-18 19:30:08 -06:00
Pat Hartl f63c2ddf2d Fix icon loading on initial game sync 2023-01-17 17:09:42 -06:00
Pat Hartl 6b5824e920 Update existing games on library refresh from server 2023-01-16 23:49:07 -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 09df7a8997 Don't list games that don't have an archive 2023-01-16 19:56:13 -06:00
Pat Hartl 702bdeb97f Add required metadata for installed games such as InstallDirectory to properly enable menu items 2023-01-16 11:32:47 -06:00
Pat Hartl 1f332339eb Give name changing menu item a dialog box to put in the player's name 2023-01-16 11:31:38 -06:00
Pat Hartl 28d9364afb Run non-admin scripts with correct execution policy 2023-01-16 11:30:53 -06:00
Pat Hartl 6863417736 Allow clients to allocate keys from the server 2023-01-15 20:45:37 -06:00
Pat Hartl 155e4b752b Styled authentication window and validate connection to server on scan games 2023-01-15 14:18:26 -06:00
Pat Hartl 3bb2e35e23 Allow the authentication window to be opened anywhere 2023-01-15 13:33:04 -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 352d2a13e6 PowerShellRuntime methods for running uninstall scripts 2023-01-15 01:28:05 -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 4bcad9b76b Fix download request failing to download if route provided starts with a / 2023-01-14 16:11:28 -06:00
Pat Hartl 3ae134188e Prepopulate authentication view with current server address 2023-01-14 15:51:17 -06:00
Pat Hartl 5f94efc58d Update Playnite plugin csproj 2023-01-14 15:26:16 -06:00
Pat Hartl 6893bf6793 Renamed settings view to LANCommanderSettingsView and moved views/viewmodels into correct folders 2023-01-14 15:19:14 -06:00
Pat Hartl 1668c908e5 Rename library client to LANCommanderLibraryClient 2023-01-14 15:17:38 -06:00
Pat Hartl e85ccc57ce Fix settings viewmodel file name 2023-01-14 15:16:48 -06:00
Pat Hartl f2e1462832 Renamed settings view model to LANCommanderSettingsViewModel 2023-01-14 15:16:13 -06:00
Pat Hartl b28ef5a40c Renamed plugin class to LANCommanderLibraryPlugin 2023-01-14 15:15:31 -06:00
Pat Hartl 839c969000 Update csproj for multiplayer info extensions 2023-01-14 15:12:24 -06:00
Pat Hartl 78b1a6686c Fixed logic for plugin settings window testing auth 2023-01-14 15:12:02 -06:00
Pat Hartl ae6cd7f906 Added extension for grabbing multiplayer player count for features 2023-01-14 15:11:16 -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
Pat Hartl 3c30c5066b Change pathing in manifest from / to \ 2023-01-08 12:10:37 -06:00
Pat Hartl 1e9d2e52c9 Avoid exceptions when manifest has more properties than current model 2023-01-08 12:10:20 -06:00
Pat Hartl 508150abdc Changed plugin namespace to avoid collision with Playnite. Added basic PowerShell helper. 2023-01-08 12:09:57 -06:00
Pat Hartl b2ffdb9f23 Add some support for reading icons from archives. 2023-01-08 01:34:38 -06:00
Pat Hartl 6f6a7188ee Correctly set game actions based on manifest after install 2023-01-07 14:32:52 -06:00
Pat Hartl fead35e612 Uninstall games 2023-01-07 12:46:26 -06:00
Pat Hartl 787a983c03 Added game manifest model. Reworked settings to be a bit more universal across the extension. Made server URL configurable. 2023-01-07 12:34:12 -06:00
Pat Hartl cf326dd5ca Add progress dialog for extracting. Mark game as installed after extraction. 2023-01-06 22:39:56 -06:00
Pat Hartl ffc51f4e0d Basic download and extract of games 2023-01-06 22:12:03 -06:00
Pat Hartl 1e63813cd6 Don't save plugin settings on end edit 2023-01-06 22:10:45 -06:00
Pat Hartl 6ca7661595 Give token earlier 2023-01-06 22:06:53 -06:00
Pat Hartl 2a92e49ee9 Load settings instead of instantiating new 2023-01-06 22:06:27 -06:00
Pat Hartl 730629dcef Fix authentication window overwriting settings 2023-01-06 22:02:52 -06:00
Pat Hartl bf4f66ccb3 Library refreshing uses token authentication 2023-01-06 02:39:00 -06:00
Pat Hartl 91b9328afc Created login window and store tokens in plugin settings 2023-01-05 18:37:13 -06:00
Pat Hartl 2b81139247 Remove template controls 2023-01-05 18:36:36 -06:00
Pat Hartl 13c57729d8 Throw exception for failed requests 2023-01-05 18:35:58 -06:00
Pat Hartl 40ea196594 Started adding authentication to extension settings. 2023-01-05 01:07:17 -06:00
Pat Hartl 025b45342d Basic Playnite extension 2023-01-04 20:31:02 -06:00