Commit graph

52 commits

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
70674f900e Fix invalid manifests on disk throwing parsing errors when installing game
Fixes #38
2023-11-20 18:20:34 -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
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
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
196feedded Load PowerShell module on script execution. Add cmdlet to deserialize/decode variables. 2023-11-16 14:34:00 -06:00
Pat Hartl
26f03f61fc Add public base URL to LC client 2023-11-16 01:44:35 -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
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
dc2eff4972 Have manifest writer return the file path 2023-11-13 23:07:50 -06:00
Pat Hartl
5fb4fadfb4 Fix default install directory when logger is provided 2023-11-12 02:10:04 -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
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
f275d3478b Remove icon extraction from WinPE files. Add migration from old extracted icons to new media entries. 2023-11-03 01:24:27 -05:00
Pat Hartl
739453c8bc Pull media for Playnite from LANCommander server if it exists 2023-11-02 23:37:10 -05:00
Pat Hartl
5e47d8fa3d Remove display attributes 2023-10-24 19:13:09 -05:00
Pat Hartl
b4405d3034 Added redistributable installing to plugin 2023-10-24 19:11:50 -05:00
Pat Hartl
80bd7dc66c Introduce user alias for persisting name changes separate from username 2023-10-16 20:48:12 -05:00
Pat Hartl
32d6e109df Added uploading of saves 2023-03-28 21:30:29 -05:00
Pat Hartl
cad74115e1 Added ping route. Allow register from authentication window. 2023-03-14 02:31:42 -05:00
Pat Hartl
286622216b Remove 64 bit flag from scripts 2023-01-22 22:44:22 -06:00
Pat Hartl
a2e471fc72 Start adding support to run scripts in 64 bit 2023-01-20 21:29:38 -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
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
6863417736 Allow clients to allocate keys from the server 2023-01-15 20:45:37 -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
97c32895da Added Genre to SDK models 2023-01-14 15:10:53 -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
c571058817 Replace colons in titles with hyphens for file safety 2023-01-07 12:57:58 -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
ffc51f4e0d Basic download and extract of games 2023-01-06 22:12:03 -06:00