Update release configuration

This commit is contained in:
Sardelka
2022-07-20 07:34:53 +08:00
parent 9527da9785
commit 1372a5c33f
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<OutPutPath>..\bin\Release\Client</OutPutPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Compile Include="Debug.cs" />

View File

@ -87,6 +87,7 @@ namespace RageCoop.Client.Scripting
}
public void Load(string path,string[] zips)
{
LoadedResources.Clear();
foreach (var zip in zips)
{
var zipPath=Path.Combine(path, zip);