Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
lslqtz committed Oct 19, 2021
1 parent 587715a commit 777b16d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions osu-download/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ namespace osu_download
{
class Program
{
static string Author = "asd";
static string ProgramTitle = "osu! 镜像下载客户端";
static string CurDLClientVer = "b20211019.1";
static string ServerURL = "https://mirror.osu.pink/osu-update.php";
static string DefaultUserAgent = string.Format("osu-download/{0}", CurDLClientVer);
static bool isUnix = System.Environment.OSVersion.ToString().ToLower().Contains("unix");
const string Author = "asd";
const string ProgramTitle = "osu! 镜像下载客户端";
const string CurDLClientVer = "b20211019.1";
const string ServerURL = "https://mirror.osu.pink/osu-update.php";
const string DefaultUserAgent = "osu-download/" + CurDLClientVer;
static readonly bool isUnix = Environment.OSVersion.ToString().ToLower().Contains("unix");
static void Debug(string type, string msg, char dot = '.')
{
#if DEBUG
Expand Down Expand Up @@ -390,7 +390,7 @@ static void Main(string[] args)
if (!isUnix)
{
DoneText += ",将自动打开安装路径";
System.Diagnostics.Process.Start(InstallPath);
Process.Start(InstallPath);
}
DoneText += "!";
Console.WriteLine(DoneText);
Expand Down

0 comments on commit 777b16d

Please sign in to comment.