Commit graph

4059 commits

Author SHA1 Message Date
Pat Hartl
7a5129ed1a Explicitly use SDK namespace when necessary 2024-01-02 20:51:33 -06:00
Pat Hartl
9c28082180 Include new snippets in build 2024-01-02 20:47:11 -06:00
Pat Hartl
939fafe829 Implement custom play actions. Allow for certain variables in arguments, working directory, and action path. 2024-01-02 20:46:28 -06:00
Pat Hartl
7afa8d0674 Rename managers to services, merge into Client so it can be used anywhere the client is accessible. 2024-01-02 02:34:58 -06:00
Pat Hartl
856095b576
Update LANCommander.Release.yml
Fix reference to downloaded Playnite ZIP file
2023-12-29 20:46:14 -06:00
Pat Hartl
4d846bc36c
Update LANCommander.Release.yml
- Added Linux publish step
- Remove extra build step
- Set version/assembly version on publish
- Update Playnite version
- Update dotnet version
2023-12-29 20:31:39 -06:00
Pat Hartl
18e3c2507b
Update LANCommander.Release.yml
Set assembly versions on build
2023-12-29 20:07:45 -06:00
Pat Hartl
7ca1286cbb Fixed sorting of actions 2023-12-29 12:59:24 -06:00
Pat Hartl
805878ec0a Don't create script file if script contents are empty 2023-12-29 02:32:57 -06:00
Pat Hartl
a1fa911ba0 Added new snippets 2023-12-29 02:30:36 -06:00
Pat Hartl
c9113d733e Fix file picker in script editor inserting incorrect variable 2023-12-29 02:21:58 -06:00
Pat Hartl
0d7bb7f229
Update installermanifest.yaml 2023-12-27 21:31:25 -06:00
Pat Hartl
1184c91b83 Fix directory name while browsing archive
Some checks failed
LANCommander Release / build (push) Has been cancelled
LANCommander / build (push) Has been cancelled
2023-12-27 21:09:00 -06:00
Pat Hartl
954cdd7d5b Keep scope open for running servers 2023-12-27 20:13:25 -06:00
Pat Hartl
ef56829e10 Mark game is installed before scripts run and latest save is downloaded to properly set the game's install location 2023-12-27 19:26:41 -06:00
Pat Hartl
2c5501dc4f Fix save downloading from profile page 2023-12-27 17:23:33 -06:00
Pat Hartl
e7afbe369b Catch save download errors 2023-12-27 17:22:36 -06:00
Pat Hartl
4c54381a2e Fix action path resolution by explicitly passing in the install directory when updating game info 2023-12-27 17:21:53 -06:00
Pat Hartl
f51aff52dc Download latest save after install before install scripts execute 2023-12-27 17:20:41 -06:00
Pat Hartl
f63df812cf Update save structure to put all files inside the Files directory 2023-12-26 20:02:21 -06:00
Pat Hartl
b9ad46065b Default value in working directory of {InstallDir}. Strip out the working directory out of the action path if it's present. Only update actions if game is installed or installing. 2023-12-26 19:58:37 -06:00
Pat Hartl
0bcfa0ab5f Include YamlDotNet for ILRepack 2023-12-26 18:35:55 -06:00
Pat Hartl
0298c3d0b4 Use ILRepacker to add required YamlDotNet into PowerShell DLL 2023-12-26 18:25:22 -06:00
Pat Hartl
13d126c81a Use LANCommander environment variable expansion when setting action path and working directory 2023-12-26 18:11:09 -06:00
Pat Hartl
ef58167030 Log errors for extracting saves. Use new save format for extracting files. 2023-12-26 18:07:06 -06:00
Pat Hartl
ffe6f07753 Add tests for string extensions. Convert/trim path directory separator characters. 2023-12-26 18:06:25 -06:00
Pat Hartl
f9617c46fb Add logger to save manager in Playnite plugin 2023-12-26 18:05:27 -06:00
Pat Hartl
d4aa1c1e21 Renamed GetArchivePath to GetAcrualPath. Added notes in GameSaveManager for pathing terms. Fixed files getting added to save. Fixed directories getting added to save. Added special folders to expand/deflation of environment variables. 2023-12-23 17:39:37 -06:00
Pat Hartl
38195201f9 More test data for archive paths. Added test for regex save paths. 2023-12-23 02:00:53 -06:00
Pat Hartl
c9c8eb6ccf Methods to get correct save paths for archive with tests 2023-12-23 00:11:16 -06:00
Pat Hartl
0d3f3a60cd Fix references to start/stop servers with GUIDs
Some checks failed
LANCommander Release / build (push) Has been cancelled
LANCommander / build (push) Has been cancelled
2023-12-22 13:55:04 -06:00
Pat Hartl
c5c7f3d8e8 Open new scope for ServerService in singleton ServerProcessService
Ref #52
2023-12-22 13:47:39 -06:00
Pat Hartl
0434cf4f66 Add working directory to save paths to better support regex searching 2023-12-22 12:58:39 -06:00
Pat Hartl
22d3f26660 Better error handling for chunk uploader 2023-12-22 02:14:54 -06:00
Pat Hartl
71a2b0284e Refactor multiple uploaders into one chunk uploader component 2023-12-22 02:00:21 -06:00
Pat Hartl
87df2ca1d2 Use current path if nothing is selected in file picker 2023-12-21 17:21:55 -06:00
Pat Hartl
372969ca9a Remove reference to PowerShell project 2023-12-20 21:35:42 -06:00
Pat Hartl
6d41aa9510 Try PowerShell reference assemblies 2023-12-20 21:27:40 -06:00
Pat Hartl
6a3cb8a13a Include PowerShell library 2023-12-20 21:08:35 -06:00
Pat Hartl
731eb8f142 Don't throw exception when error saving script
Fixes #51
2023-12-20 20:27:16 -06:00
Pat Hartl
c58e27c04c Change Playnite plugin build to set YamlDotNet path. Downgrade YamlDotNet version on main project. Run start/stop scripts for servers. 2023-12-20 20:25:25 -06:00
Pat Hartl
c832552765 Allow servers to have scripts. Added two new script types. 2023-12-20 17:53:52 -06:00
Pat Hartl
f245cade5c Fix hightlight on tree node 2023-12-20 17:32:46 -06:00
Pat Hartl
02baefd4a3 Style pane and gutter for split pane 2023-12-20 17:32:37 -06:00
Pat Hartl
dec24ba4b7 Fix split pane init after render 2023-12-20 17:32:15 -06:00
Pat Hartl
826d83025a Remove unused route 2023-12-20 17:32:01 -06:00
Pat Hartl
1876172c9a Change to working directory or root automatically 2023-12-20 17:31:54 -06:00
Pat Hartl
911f832771 Remove unused code 2023-12-20 17:31:34 -06:00
Pat Hartl
6674a98582 Don't block UI when displaying folder creation messages 2023-12-20 17:30:55 -06:00
Pat Hartl
a5fb8b5ea4 Map database models to SDK models in API controller routes 2023-12-20 17:30:27 -06:00