Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Refactor 目录调整,资源调整 ,加入开机自启
Browse files Browse the repository at this point in the history
  • Loading branch information
tylearymf committed Jun 22, 2019
1 parent 787a5a1 commit 1ef6f7a
Show file tree
Hide file tree
Showing 139 changed files with 9,705 additions and 1,288 deletions.
8 changes: 4 additions & 4 deletions AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[assembly: System.Reflection.AssemblyTitle("SETUNA")]
[assembly: System.Reflection.AssemblyDescription("https://github.com/tylearymf/SETUNA2")]
[assembly: System.Reflection.AssemblyTitle("优化版本 by tylearymf")]
[assembly: System.Reflection.AssemblyDescription("")]
[assembly: System.Reflection.AssemblyProduct("SETUNA")]
[assembly: System.Reflection.AssemblyCopyright("Copyright (C) 2008 CLEARUP")]
[assembly: System.Reflection.AssemblyTrademark("")]
[assembly: System.Reflection.AssemblyCompany("")]
[assembly: System.Reflection.AssemblyCompany("clearunit")]
[assembly: System.Runtime.InteropServices.ComVisible(false)]
[assembly: System.Runtime.InteropServices.Guid("4483e561-8b3e-427d-98a4-e0e821b7bf2f")]
[assembly: System.Reflection.AssemblyConfiguration("")]
[assembly: System.Reflection.AssemblyFileVersion("2.4.1")]
[assembly: System.Reflection.AssemblyFileVersion("2.5")]
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)]

1 change: 0 additions & 1 deletion Global.cs

This file was deleted.

41 changes: 41 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

using com.clearunit;
using SETUNA;
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;

internal static class Program
{
[STAThread]
private static void Main(string[] args)
{
try
{
string[] strArray = RuntimeEnvironment.GetSystemVersion().Trim(new char[] { 'v' }).Split(new char[] { '.' });
if (strArray.Length > 0)
{
int num;
int.TryParse(strArray[0], out num);
if (num < 2)
{
MessageBox.Show("需安装 .NET Framework 2.0 或以上版本。");
return;
}
}
}
catch
{
}
SingletonApplication instance = SingletonApplication.GetInstance(Application.ProductVersion, args);
if (instance.Register())
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Mainform implement = new Mainform();
instance.AddSingletonFormListener(implement);
implement.CommandRun(args);
Application.Run(implement);
}
}
}
83 changes: 83 additions & 0 deletions Properties/Image.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1ef6f7a

Please sign in to comment.