Commit graph

15 commits

Author SHA1 Message Date
Pat Hartl
b35d0f52d3 Move debug flag to SDK ScriptService 2024-08-16 18:36:17 -05:00
Pat Hartl
85e47f5d3a Run scripts as admin using CLI elevation 2024-08-08 18:00:41 -05:00
Pat Hartl
3925ec4c34 Move all install functionality to SDK 2024-08-07 01:14:13 -05:00
Pat Hartl
9e770f4965 Bundle PowerShell runtime
This does a very basic job of bundling a PowerShell runtime into the SDK. Previously, scripts had been run by spawning a separate PowerShell process and feeding the script into it. This was nothing better than a hack and meant that PowerShell had to be separately installed on the machine it's executing on. This should open up the opportunity for scripts to run on other platforms.

There's still some things that need to be figured out. Some sort of console output as well as a debugging mode would be highly beneficial for those that wish to actively develop scripts for their games.
2024-08-05 18:02:01 -05:00
Pat Hartl
2d8d4f143b Sync player name, allocated key, saves for games/mods/expansions 2024-07-15 18:17:04 -05:00
Pat Hartl
42fcea0dfb Fix reference to download methods 2024-06-03 19:27:58 -05:00
Pat Hartl
b5efcb6bf5 Add support for legacy "Saves" path in save archives
Some checks failed
LANCommander Release / build (push) Has been cancelled
2024-03-28 19:59:15 -05:00
Pat Hartl
56e760206f Fix packing of save files 2024-03-28 19:38:25 -05:00
Pat Hartl
99c825afb5 Fix download button locking UI 2024-02-18 15:02:23 -06:00
Pat Hartl
1046f508fa WIP save manager 2024-02-17 17:30:14 -06:00
Pat Hartl
b3aaedd65b Only download saves that are newer than the last time the game was played.
This changes the downloading mechanism for saves so only saves that have been uploaded since the last time the game was run get downloaded to the client.
2024-02-06 19:36:55 -06:00
Pat Hartl
b74bbf47b0 Fix location of extracted manifest from saves 2024-01-25 21:24:35 -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
7d99b33233 Fix reference. Remove references to Forms 2024-01-02 21:27:32 -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
Renamed from LANCommander.SDK/GameSaveManager.cs (Browse further)