UchuServer / Uchu

LEGO Universe server written in C#
GNU Affero General Public License v3.0
86 stars 20 forks source link

Fix Configuration Paths on Linux with .NET #322

Closed TheNexusAvenger closed 2 years ago

TheNexusAvenger commented 2 years ago

Closes #308

This pull request resolves the Linux releases not being able to load scripts due to the relative path used when .NET is installed. The solution used sets the paths in the configuration to be relative to the configuration file on load.

A test release was used on a bare Linux install with .NET not installed and installed. Windows was also tested with a test release, but only with .NET installed.

TecCheck commented 2 years ago

I tested the changes on my Raspberry Pi and everything seems to work :+1: