Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
LoveCany committed Aug 5, 2022
1 parent 04cd1a5 commit 62221a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CircleFanCount/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ public static async Task Main(string[] args)

if (!AnsiConsole.Profile.Capabilities.Ansi && !runInCmder)
{ //不支持ANSI Escape Sequences,用Cmder打开
var cmderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "UmamusumeResponseAnalyzer", "cmder");
var cmderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CircleFanCount", "cmder");
var docPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "CircleFanCount");
if (!Directory.Exists(docPath))
Directory.CreateDirectory(docPath);
using var Proc = new Process();
var StartInfo = new ProcessStartInfo
{
FileName = Path.Combine(cmderPath, "Cmder.exe"),
Arguments = $"/start \"{Environment.CurrentDirectory}\" /task URA",
Arguments = $"/start \"{Environment.CurrentDirectory}\" /task CFC",
CreateNoWindow = false,
UseShellExecute = true
};
Expand Down

0 comments on commit 62221a8

Please sign in to comment.