Commit graph

8 commits

Author SHA1 Message Date
James Puleo
8b57f32125
Detect invalid TShock installations
There are two common mistakes made by those installing/updating TShock:
- Extracting TShock into the Terraria client directory
- Extracting TShock 5 or newer into a legacy (TShock 4 or older) install

By checking for the existence of a file named `TerrariaServer.exe`, we
can potentially detect these invalid installations, and prompt the user
with a more useful diagnostic, rather than (likely) crashing moments
later.
2022-12-20 22:35:22 -05:00
ATFGK
1435066745
Update Program.cs 2022-12-13 12:05:44 +08:00
Janet Blackquill
be8e51959f Introduce integrated package manager
This commit introduces an integrated package manager into TShock
for the purpose of fetching and installing plugins and their dependencies
from NuGet repositories.

This makes getting new plugins easier for users, as well as simplifiying
more advanced deployment scenarios.
2022-11-28 08:16:11 -05:00
Luke
c76b144b0a Fix #2674 - Change the use of current directory to match the server assembly location
This will allow dependencies to be resolved beside the assembly as intended when startup scripts are used outside the working directory.
I am not sure why or how many people would do this, as TSAPI wont load plugins (existing issue), but this is a step in the direction of opening up to allow considerations for that.
2022-10-06 20:24:41 +10:00
Luke
10fddf41c3 Update copyright year range in launcher 2022-10-05 18:31:46 +10:00
Luke
76c39c2f59 Fix wording in Program.cs comments 2022-09-05 22:01:49 +10:00
Luke
0ef79230a6
Update TShockLauncher/Program.cs
Co-authored-by: Lucas Nicodemus <shank@shanked.me>
2021-12-07 18:18:34 +10:00
Luke
2b4b6353c2 Add TShock Launcher project (TShock.exe) with ./bin folder for dependencies
+ submodule update
TODO: retest on osx and see if we can include file permissions
2021-12-01 08:26:06 +10:00