Skip to content

Commit

Permalink
修复部分电脑缺运行库打不开的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeGrid committed Apr 4, 2022
1 parent a414ccc commit 4dfcd79
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 6 additions & 0 deletions ChuniCon.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChuniCon", "ChuniCon\ChuniC
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AE7C1D64-64BC-415C-9264-80816680188E}.Debug|Any CPU.ActiveCfg = Debug|x86
{AE7C1D64-64BC-415C-9264-80816680188E}.Debug|Any CPU.Build.0 = Debug|x86
{AE7C1D64-64BC-415C-9264-80816680188E}.Debug|x86.ActiveCfg = Debug|x86
{AE7C1D64-64BC-415C-9264-80816680188E}.Debug|x86.Build.0 = Debug|x86
{AE7C1D64-64BC-415C-9264-80816680188E}.Release|Any CPU.ActiveCfg = Release|x86
{AE7C1D64-64BC-415C-9264-80816680188E}.Release|Any CPU.Build.0 = Release|x86
{AE7C1D64-64BC-415C-9264-80816680188E}.Release|x86.ActiveCfg = Release|x86
{AE7C1D64-64BC-415C-9264-80816680188E}.Release|x86.Build.0 = Release|x86
EndGlobalSection
Expand Down
14 changes: 8 additions & 6 deletions ChuniCon/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ public partial class MainForm : Form
public MainForm()
{
InitializeComponent();
}

#region 事件

private void MainForm_Load(object sender, EventArgs e)
{
// 初始化ChuniIO
int status = ChuniIO.ChuniIoJvsInit();
if (status != 0)
Expand All @@ -47,13 +53,9 @@ public MainForm()
RefreshColorThread = new Thread(RefreshColor);
RefreshColorThread.IsBackground = true;
RefreshColorThread.Start();
}

#region 事件

private void MainForm_Load(object sender, EventArgs e)
{
// 加载预设
LoadPreset();
// 触摸回调
ChuniIO.ChuniIoSliderStart(SliderCallback);
}

Expand Down
4 changes: 2 additions & 2 deletions ChuniCon/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]
Binary file modified assets/chuniio.dll
Binary file not shown.

0 comments on commit 4dfcd79

Please sign in to comment.