Commit graph

660 commits

Author SHA1 Message Date
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
Pat Hartl
97f459eaff Move uninstall script execution to Playnite addon 2023-11-15 23:58:55 -06:00
Pat Hartl
cb9f31a00a Use new PowerShell in redistributable installs 2023-11-15 23:53:26 -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
29dcebb70f New PowerShell runtime with the ability to use variables 2023-11-15 22:38:20 -06:00
Pat Hartl
baa2b9b206 Started adding PowerShell cmdlets useful for LANCommander scripting 2023-11-13 23:09:06 -06:00
Pat Hartl
dc2eff4972 Have manifest writer return the file path 2023-11-13 23:07:50 -06:00
Pat Hartl
ae23f621c2 Fix link 2023-11-12 02:20:47 -06:00
Pat Hartl
ee62bdf2a1 Updated README 2023-11-12 02:20:24 -06:00
Pat Hartl
5fb4fadfb4 Fix default install directory when logger is provided 2023-11-12 02:10:04 -06:00
Pat Hartl
1a0cff3914
Merge pull request #32 from LANCommander/migrate-installation-to-sdk
Migrate LANCommander Client Code to SDK
2023-11-12 01:53:53 -06:00
Pat Hartl
227411a558 Include ByteSize 2023-11-12 01:52:55 -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
bb980cc063 Avoid exception if manifest is malformed 2023-11-10 21:45:09 -06:00
Pat Hartl
47bb054fd1 Restore progress bar 2023-11-10 21:44:48 -06:00
Pat Hartl
ea337dfea1 Feed actual YAML contents to deserializer 2023-11-10 21:37:27 -06:00
Pat Hartl
52a5f5866f Downgrade YamlDotNet 2023-11-10 21:37:02 -06:00
Pat Hartl
b77e7f6e53 Pass in default install directory to managers 2023-11-10 21:36:35 -06:00
Pat Hartl
20de9d6cae Allow injection of loggers 2023-11-10 20:53:48 -06:00
Pat Hartl
5237e88612 Null handling for logger 2023-11-10 20:53:28 -06:00
Pat Hartl
73b542856a Refactor GameSaveService into GameSaveManager and SaveController. Update Playnite addon authentication dialogs to use new client. 2023-11-10 01:32:30 -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
e53709334c Make PowerShellRuntime static 2023-11-09 23:45:37 -06:00
Pat Hartl
a679fae0cb Relocate crucial installation logic to SDK 2023-11-09 19:40:38 -06:00
Pat Hartl
ff6f9997f5 Added game ID to manifest 2023-11-09 19:38:32 -06:00
Pat Hartl
81f8d55694 Fix archive default sort order 2023-11-08 20:25:41 -06:00
Pat Hartl
c4793daf07 Fix exception in transfer input if no values are supplied 2023-11-08 19:10:31 -06:00