Adds specific linux operating system support (#169)
This commit is contained in:
parent
3cc00ce994
commit
997691fbb7
8 changed files with 12801 additions and 86 deletions
|
|
@ -15,6 +15,6 @@
|
|||
<RestoreLockedMode>true</RestoreLockedMode>
|
||||
<NoWarn>NU1603</NoWarn>
|
||||
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
|
||||
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
|
||||
<RuntimeIdentifiers>win-x64;debian.10-x64;debian.9-x64;ubuntu.16.04-x64;ubuntu.18.04-x64;centos.7-x64;centos.8-x64;osx-x64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -69,7 +69,7 @@
|
|||
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv" Version="3.1.5" />
|
||||
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.5" />
|
||||
<PackageReference Include="System.IO.Pipelines" Version="4.7.2" />
|
||||
<PackageReference Include="Zlib.Bindings" Version="1.0.3" />
|
||||
<PackageReference Include="Zlib.Bindings" Version="1.1.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='Analyze'">
|
||||
<PackageReference Include="StyleCop.Analyzers">
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@
|
|||
},
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.0.3, )",
|
||||
"resolved": "1.0.3",
|
||||
"contentHash": "zk4N0anMKT8s25NY2Euw+Z5mwlSoh2D1XyYik0NJ2fRrSw96hP7nnu9ii2BRdl0ttdl0oflNZ9cme99JoSavyQ=="
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
|
|
@ -111,12 +111,60 @@
|
|||
"contentHash": "2G6OjjJzwBfNOO8myRV/nFrbTw5iA+DEm0N+qUqhrOmaVtn4pC77h38I1jsXGw5VH55+dPfQsqHD0We9sCl9FQ=="
|
||||
}
|
||||
},
|
||||
".NETCoreApp,Version=v3.1/linux-x64": {
|
||||
".NETCoreApp,Version=v3.1/centos.7-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.0.3, )",
|
||||
"resolved": "1.0.3",
|
||||
"contentHash": "zk4N0anMKT8s25NY2Euw+Z5mwlSoh2D1XyYik0NJ2fRrSw96hP7nnu9ii2BRdl0ttdl0oflNZ9cme99JoSavyQ=="
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
"resolved": "1.10.0",
|
||||
"contentHash": "GsCf4q+eyaI49rCPlgYxdxa1SQCysXFFdSJWdstrwxytg4+VPYLYrXD4AT2rjHVJ+UF7SSWX9CapWEYaU4ejVQ==",
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.0.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
".NETCoreApp,Version=v3.1/centos.8-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
"resolved": "1.10.0",
|
||||
"contentHash": "GsCf4q+eyaI49rCPlgYxdxa1SQCysXFFdSJWdstrwxytg4+VPYLYrXD4AT2rjHVJ+UF7SSWX9CapWEYaU4ejVQ==",
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.0.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
".NETCoreApp,Version=v3.1/debian.10-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
"resolved": "1.10.0",
|
||||
"contentHash": "GsCf4q+eyaI49rCPlgYxdxa1SQCysXFFdSJWdstrwxytg4+VPYLYrXD4AT2rjHVJ+UF7SSWX9CapWEYaU4ejVQ==",
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.0.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
".NETCoreApp,Version=v3.1/debian.9-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
|
|
@ -130,9 +178,41 @@
|
|||
".NETCoreApp,Version=v3.1/osx-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.0.3, )",
|
||||
"resolved": "1.0.3",
|
||||
"contentHash": "zk4N0anMKT8s25NY2Euw+Z5mwlSoh2D1XyYik0NJ2fRrSw96hP7nnu9ii2BRdl0ttdl0oflNZ9cme99JoSavyQ=="
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
"resolved": "1.10.0",
|
||||
"contentHash": "GsCf4q+eyaI49rCPlgYxdxa1SQCysXFFdSJWdstrwxytg4+VPYLYrXD4AT2rjHVJ+UF7SSWX9CapWEYaU4ejVQ==",
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.0.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
".NETCoreApp,Version=v3.1/ubuntu.16.04-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
"resolved": "1.10.0",
|
||||
"contentHash": "GsCf4q+eyaI49rCPlgYxdxa1SQCysXFFdSJWdstrwxytg4+VPYLYrXD4AT2rjHVJ+UF7SSWX9CapWEYaU4ejVQ==",
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.0.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
".NETCoreApp,Version=v3.1/ubuntu.18.04-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
|
|
@ -146,9 +226,9 @@
|
|||
".NETCoreApp,Version=v3.1/win-x64": {
|
||||
"Zlib.Bindings": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.0.3, )",
|
||||
"resolved": "1.0.3",
|
||||
"contentHash": "zk4N0anMKT8s25NY2Euw+Z5mwlSoh2D1XyYik0NJ2fRrSw96hP7nnu9ii2BRdl0ttdl0oflNZ9cme99JoSavyQ=="
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "hLmHUTlZR3rnJ95FboiyJdLR8MJbfHdmapnRZHWLvkxB48jDgRBBJG1w5NYRiNBteVY4uksacXM7/V8nu1byBw=="
|
||||
},
|
||||
"Libuv": {
|
||||
"type": "Transitive",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -68,8 +68,8 @@
|
|||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.5" />
|
||||
<!-- Direct packages -->
|
||||
<PackageReference Include="MailKit" Version="2.7.0" />
|
||||
<PackageReference Include="Zlib.Bindings" Version="1.0.3" />
|
||||
<PackageReference Include="Argon2.Bindings" Version="1.3.0" />
|
||||
<PackageReference Include="Zlib.Bindings" Version="1.1.0" />
|
||||
<PackageReference Include="Argon2.Bindings" Version="1.5.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='Analyze'">
|
||||
<PackageReference Include="StyleCop.Analyzers">
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
26
README.md
26
README.md
|
|
@ -21,27 +21,27 @@ ModernUO [
|
||||
|
||||
#### Publishing
|
||||
OSX/Linux
|
||||
- `./Tools/publish.sh [linux|osx|win] [Release|Debug (default: Release)]`
|
||||
|
||||
Windows
|
||||
- `Tools\publish.cmd [linux|osx|win] [Release|Debug (default: Release)]`
|
||||
#### Publishing Builds
|
||||
- `./Tools/publish.cmd [os] [Release|Debug (default: Release)]`
|
||||
- Supported `os`:
|
||||
- `win` for Windows 8/10/2019
|
||||
- `osx` for MacOS
|
||||
- `ubuntu.16.04`, `ubuntu.18.04` for Ubuntu (20.04 will be supported in the next .NET Core Release)
|
||||
- `debian.9`, `debian.10` for Debian
|
||||
- `centos.7`, `centos.8` for CentOS
|
||||
- If blank, will use host operating system
|
||||
|
||||
## Deploying / Running Server
|
||||
- Follow the [publish](https://github.com/modernuo/ModernUO#publishing-a-build) instructions
|
||||
- Copy `Distribution` directory to production server
|
||||
- Copy `Distribution` directory to the production server
|
||||
|
||||
#### Requirements
|
||||
- [.NET Core 3.1 Runtime](https://dotnet.microsoft.com/download/dotnet-core/3.1)
|
||||
|
||||
#### Windows
|
||||
- Run `ModernUO.exe` or `dotnet ModernUO.dll`
|
||||
#### Running
|
||||
- `dotnet ModernUO.dll`
|
||||
|
||||
#### OSX and Linux
|
||||
- Run `./ModernUO` or `dotnet ./ModernUO.dll`
|
||||
|
||||
#### Cleaning Distribution
|
||||
#### Cleaning
|
||||
- `dotnet clean`
|
||||
|
||||
## Thanks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue