Commit Graph

62 Commits (main)

Author SHA1 Message Date
Pat Hartl 171f82df3e Fix package references 2023-12-02 23:08:32 -06:00
Pat Hartl 82779bcc72 Restore files from save archive based on entries in manifest 2023-11-30 18:37:23 -06:00
Pat Hartl 7b625b2f60 Use Path.DirectorySeparatorChar 2023-11-30 18:31:05 -06:00
Pat Hartl 74d8790ee2 Fix files skipped over if not in install directory 2023-11-30 18:30:15 -06:00
Pat Hartl 745cf0cce6 Prefer Path.DirectorySeparatorChar. Remove unused deserializer 2023-11-30 18:29:11 -06:00
Pat Hartl 7c22aaa139 Record save file paths in manifest. Support regex pathing in upload 2023-11-30 18:25:37 -06:00
Pat Hartl 349001d8f6 Merge branch 'main' into save-path-regex 2023-11-30 17:23:40 -06:00
Pat Hartl c4c25ad85b Allow redist detection scripts to run as admin 2023-11-29 17:09:52 -06:00
Pat Hartl c3a5edbe46 Update SharpCompress to latest version and rework cancellation 2023-11-28 21:20:07 -06:00
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 5d5e137e18 Add flag to mark save path as regex 2023-11-08 20:43:18 -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