add readme, update ways to run
This commit is contained in:
17
.vscode/launch.json
vendored
17
.vscode/launch.json
vendored
@@ -3,22 +3,9 @@
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Vintage Story Client",
|
||||
"type": "coreclr",
|
||||
"type": "dotnet",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build mod",
|
||||
"program": "${env:VINTAGE_STORY}/Vintagestory.dll",
|
||||
"args": [
|
||||
"--tracelog",
|
||||
"--dataPath",
|
||||
"${env:VINTAGE_STORY_DATA}",
|
||||
"--addModPath",
|
||||
"${workspaceFolder}/ChestPreview/ChestPreview/bin/Debug/Mods",
|
||||
"--addOrigin",
|
||||
"${workspaceFolder}/ChestPreview/ChestPreview/assets"
|
||||
],
|
||||
"cwd": "${env:VINTAGE_STORY}",
|
||||
"console": "integratedTerminal",
|
||||
"stopAtEntry": false
|
||||
"projectPath": "${workspaceFolder}/ChestPreview/ChestPreview/ChestPreview.csproj"
|
||||
}
|
||||
]
|
||||
}
|
||||
16
.vscode/tasks.json
vendored
16
.vscode/tasks.json
vendored
@@ -16,20 +16,24 @@
|
||||
"type": "process",
|
||||
"dependsOn": ["check env"],
|
||||
"dependsOrder": "sequence",
|
||||
"options": {
|
||||
"env": {
|
||||
"VINTAGE_STORY": "${env:VINTAGE_STORY}"
|
||||
}
|
||||
},
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/ChestPreview/ChestPreview/ChestPreview.csproj",
|
||||
"-c",
|
||||
"Debug",
|
||||
"${input:buildConfig}",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "buildConfig",
|
||||
"type": "pickString",
|
||||
"description": "Build configuration",
|
||||
"options": ["Debug", "Release", "Version22"],
|
||||
"default": "Debug"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user