mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-04 17:29:40 +00:00
Added paths to log files in the "About" dialog for easier support (#304)
This commit is contained in:
1 parent
277dc73468
commit
9d2b63bbaa
7 files changed
+123
-11
No files matched your search
@@ -0,0 +1,3 @@
|
||||
namespace AIStudio.Tools.Rust;
|
||||
|
||||
public readonly record struct GetLogPathsResponse(string LogStartupPath, string LogAppPath);
|
||||
@@ -0,0 +1,15 @@
|
||||
using AIStudio.Tools.Rust;
|
||||
|
||||
namespace AIStudio.Tools.Services;
|
||||
|
||||
public sealed partial class RustService
|
||||
{
|
||||
/// <summary>
|
||||
/// Get the paths of the log files.
|
||||
/// </summary>
|
||||
/// <returns>The paths of the log files.</returns>
|
||||
public async Task<GetLogPathsResponse> GetLogPaths()
|
||||
{
|
||||
return await this.http.GetFromJsonAsync<GetLogPathsResponse>("/log/paths", this.jsonRustSerializerOptions);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user