Commit Graph

689 Commits (b86308084264c29ca718516a4516c4cb1bcd235e)

Author SHA1 Message Date
Pat Hartl b863080842 Fix save errors blocking play session recording. Fix route that SDK client hits for play sessions 2023-11-20 19:33:48 -06:00
Pat Hartl 8b3f2c6cde Force admin authorization for server index and edit pages
Fixes #39
2023-11-20 18:23:37 -06:00
Pat Hartl 70674f900e Fix invalid manifests on disk throwing parsing errors when installing game
Fixes #38
2023-11-20 18:20:34 -06:00
Pat Hartl f21bf4801e Fix invalid SQL in migration for scripts 2023-11-20 18:19:45 -06:00
Pat Hartl ead2c9c3f1 Implement ILogger abstraction for Playnite 2023-11-20 18:19:31 -06:00
Pat Hartl fe0bdf31f6 Add additional script migrations 2023-11-20 17:35:49 -06:00
Pat Hartl 282a1f7c36 Fix authentication status label not updating after authentication 2023-11-20 17:35:11 -06:00
Pat Hartl 5e3384b4fd Avoid exceptions in Write-ReplaceContentInFile 2023-11-20 17:34:33 -06:00
Pat Hartl bc30cc911a Find LANCommander PowerShell module manifest using search
Probably pretty hacky. Environment.CurrentDirectory doesn't seem to be reliable in dev vs prod. In dev it correctly matches the LANCommander.PlaynitePlugin.dll's location. In prod it is the main directory of Playnite.
2023-11-17 22:35:17 -06:00
Pat Hartl 737f2bec84 Fix how arguments are passed to scripts 2023-11-17 21:39:28 -06:00
Pat Hartl a47b77cc5c Run scripts as admin if directed via script contents 2023-11-17 21:39:01 -06:00
Pat Hartl f19ef09ff8 Force IgnoreWow64Redirection in scripts 2023-11-17 21:38:37 -06:00
Pat Hartl 8a408f3a18 Actually fix manifest to include LANCommander.SDK.dll 2023-11-17 21:38:11 -06:00
Pat Hartl 96fd12a72f Include RestSharp and YamlDotNet in extension build 2023-11-17 21:37:55 -06:00
Pat Hartl 1f870366a4 Fix required assembly in PowerShell manifest 2023-11-17 21:34:26 -06:00
Pat Hartl 2a80964fe1 Allow updating of SDK client's server address. Fix Playnite plugin logins when no extension data exists on first start up. 2023-11-17 20:47:11 -06:00
Pat Hartl 6a3c55f669 Fix pathing 2023-11-17 18:05:33 -06:00
Pat Hartl 1f03860360 Include snippets in build 2023-11-17 18:05:26 -06:00
Pat Hartl 314a785fee Rename variable to Display to match previous documentation 2023-11-17 18:04:48 -06:00
Pat Hartl 09d23bcb78 Don't dispose database context for server processes 2023-11-17 12:57:23 -06:00
Pat Hartl 6b005eb384 Backup database before migration 2023-11-17 12:32:09 -06:00
Pat Hartl 39dd24e0ba Don't run through download if game already exists on disk 2023-11-17 11:48:45 -06:00
Pat Hartl 5324723cee Start tracking play sessions 2023-11-17 02:28:46 -06:00
Pat Hartl aff2e991ed
Merge pull request #33 from LANCommander/powershell-enhancements
PowerShell Enhancements
2023-11-17 01:18:41 -06:00
Pat Hartl 14600f5d70 Alter migration to try to automatically convert scripts to new variables where arguments may be missing 2023-11-17 01:16:45 -06:00
Pat Hartl 35fbdd008a Add migration to delete old snippets 2023-11-17 00:54:38 -06:00
Pat Hartl aed9935b16 Updated default snippets 2023-11-17 00:46:05 -06:00
Pat Hartl 2cb7013120 Write final install directory as output for Install-Game. Only process scripts that exist 2023-11-16 15:42:34 -06:00
Pat Hartl 7649e63195 Add test for Convert-AspectRatio 2023-11-16 15:36:45 -06:00
Pat Hartl e723a5345b Scaffold tests for cmdlets 2023-11-16 15:22:20 -06:00
Pat Hartl 982227cf1f Change to inherit from Cmdlet 2023-11-16 15:21:50 -06:00
Pat Hartl 8abc2fa15e Add cmdlet for encoding serialized objects for PS 2023-11-16 15:20:50 -06:00
Pat Hartl ed1b4973d3 Fix cmdlet export specified by module manifest 2023-11-16 14:43:11 -06:00
Pat Hartl 196feedded Load PowerShell module on script execution. Add cmdlet to deserialize/decode variables. 2023-11-16 14:34:00 -06:00
Pat Hartl 2282d9b013 Include PowerShell project in Playnite extension 2023-11-16 14:08:35 -06:00
Pat Hartl 1b72d9002a Switch PowerShell library to 4.6.2. Fix missing includes in project. 2023-11-16 14:07:38 -06:00
Pat Hartl a9f3b7a39d Only execute scripts if they exists on the disk 2023-11-16 14:06:40 -06:00
Pat Hartl 986fb87db1 Make install directory mandatory when uninstalling 2023-11-16 12:06:18 -06:00
Pat Hartl f7fa7aa9f3 Add cmdlet for uninstalling a game 2023-11-16 12:04:55 -06:00
Pat Hartl 49c4b10cf9 Don't get key when uninstalling 2023-11-16 12:04:41 -06:00
Pat Hartl 8bd422249e Fix Install-Game cmdlet name 2023-11-16 12:04:26 -06:00
Pat Hartl 26f03f61fc Add public base URL to LC client 2023-11-16 01:44:35 -06:00
Pat Hartl 839e9b4935 Run scripts after cmdlet install 2023-11-16 01:44:21 -06:00
Pat Hartl c71cf9fedd Cmdlet for installing game 2023-11-16 01:01:17 -06:00
Pat Hartl 86211a7500 Remove unused PowerShell code 2023-11-16 00:47:13 -06:00
Pat Hartl 35f6dadf9c Convert game save registry export commands to inline scripts 2023-11-16 00:47:01 -06:00
Pat Hartl 03828bea60 Remove unused code from uninstall 2023-11-16 00:46:42 -06:00
Pat Hartl 8d85aca0a7 Fix plugin menu items to use new script execution 2023-11-16 00:46:20 -06:00
Pat Hartl 16dc60b90a Run key change script in InstallController 2023-11-16 00:40:27 -06:00
Pat Hartl eb05364542 Fix reference to static method in ScriptHelper 2023-11-15 23:59:12 -06:00