Commit graph

37 commits

Author SHA1 Message Date
Pat Hartl
8803e461ab Remove std DLLs from repack 2024-08-04 13:56:03 -05:00
Pat Hartl
7ee04528e2 Revert "Remove check for target import"
This reverts commit eabd5da68c.
2024-08-04 12:36:47 -05:00
Pat Hartl
eabd5da68c Remove check for target import 2024-08-04 12:24:20 -05:00
Pat Hartl
d1e873197c Build/merge PowerShell module 2024-08-01 00:21:35 -05:00
Pat Hartl
eceec97832 ILRepack additional libraries 2024-07-10 17:41:52 -05:00
Pat Hartl
306dc824f5 ILRepack target PeanutButter.INI library 2024-07-04 01:19:01 -05:00
Pat Hartl
aaf6297a2f Add parameter to wrap INI values in quotes 2024-07-04 01:18:32 -05:00
Pat Hartl
4f9a2c6e8a Add cmdlet for updating INI values 2024-07-03 17:55:54 -05:00
Pat Hartl
a942859b0c Add refresh rate to Get-PrimaryDisplay 2024-07-03 17:53:00 -05:00
Pat Hartl
3ae50d6331 Rework build of PowerShell module 2024-07-02 21:00:26 -05:00
Pat Hartl
6fec91e73e Fix PowerShell scripts, add script debug mode
PowerShell scripts now execute correctly with the client. The built in PowerShell API's serializer will always return null on .NET 8 for some reason. The serializer/deserializer was switched to YAML, mostly due to convenience of already having a package for it.

Added a new settings for enabling script debugging mode. This ensures that when a script is executed, the PowerShell terminal window is not closed. This allows power users to get the same environment that the script executes in. It also allows for some scroll back to see what potentially went wrong in their script.
2024-06-11 21:43:12 -05:00
Pat Hartl
e286ec4452 Revert upgrade of ILRepack
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-02-11 19:39:50 -06:00
Pat Hartl
8a00744ac7 Update packages 2024-02-11 17:54:52 -06:00
Pat Hartl
976fe32207 Show actual game being installed 2024-01-10 17:54:46 -06:00
Pat Hartl
d955f080b7 Refactored uninstall to only remove files/directories that came from the original install 2024-01-10 01:59:51 -06:00
Pat Hartl
a8ed46bff7 Change location of all metadata/script files in install directory
In order to support mods and expansions, there needs to be another place to hold game scripts and the manifest. These have been moved to the {InstallDir}\.lancommander\{GameId} directory.
2024-01-09 01:22:56 -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
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
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
8b7be9157e Import YamlDorNet from Playnite 2023-12-02 18:40:43 -06:00
Pat Hartl
b38f2b6cef Allow padding of strings by setting a MinLength when converting to bytes 2023-12-01 18:32:43 -06:00
Pat Hartl
5e3384b4fd Avoid exceptions in Write-ReplaceContentInFile 2023-11-20 17:34:33 -06:00
Pat Hartl
8a408f3a18 Actually fix manifest to include LANCommander.SDK.dll 2023-11-17 21:38:11 -06:00
Pat Hartl
1f870366a4 Fix required assembly in PowerShell manifest 2023-11-17 21:34:26 -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
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
1b72d9002a Switch PowerShell library to 4.6.2. Fix missing includes in project. 2023-11-16 14:07:38 -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
8bd422249e Fix Install-Game cmdlet name 2023-11-16 12:04:26 -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
baa2b9b206 Started adding PowerShell cmdlets useful for LANCommander scripting 2023-11-13 23:09:06 -06:00