Ignore:
Timestamp:
May 5, 2023, 11:34:27 AM (19 months ago)
Author:
alloc
Message:

Folder "webserver" becomes "webroot"

Location:
binary-improvements2/WebServer
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • binary-improvements2/WebServer/WebServer.csproj

    r428 r431  
    173173      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    174174    </None>
    175     <None Include="webserver\**"
     175    <None Include="webroot\**"
    176176          CopyToOutputDirectory="Always"
    177           LinkBase="webserver\" />
     177          LinkBase="webroot\" />
    178178  </ItemGroup>
    179179  <ItemGroup>
  • binary-improvements2/WebServer/src/Web.cs

    r426 r431  
    9898
    9999                private static string DetectWebserverFolder (string _modInstancePath) {
    100                         string webserverFolder = $"{_modInstancePath}/webserver";
     100                        const string webrootFolderName = "webroot";
     101                       
     102                        string webserverFolder = $"{_modInstancePath}/{webrootFolderName}";
    101103
    102104                        foreach (Mod mod in ModManager.GetLoadedMods ()) {
    103                                 string modServerFolder = $"{mod.Path}/webserver";
     105                                string modServerFolder = $"{mod.Path}/{webrootFolderName}";
    104106                               
    105107                                if (Directory.Exists (modServerFolder)) {
Note: See TracChangeset for help on using the changeset viewer.