Skip to content

Commit 7611052

Browse files
committed
Bugxz
1 parent 25c8d8d commit 7611052

6 files changed

Lines changed: 141 additions & 115 deletions

File tree

Form1.Designer.cs

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Form1.cs

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,7 @@ private void quitToolStripMenuItem_Click(object sender, EventArgs e)
6363

6464
private void compileToolStripMenuItem_Click(object sender, EventArgs e)
6565
{
66-
CompileForm cf = new CompileForm();
67-
string td = Routines.GenerateNewTempdir();
68-
try
69-
{
70-
71-
cf.ToBuild = BuildCompileCommand(td);
72-
cf.tempdir = td;
73-
} catch
74-
{
75-
return;
76-
}
77-
cf.ShowDialog();
66+
7867
}
7968

8069
private void button1_Click(object sender, EventArgs e)
@@ -360,5 +349,39 @@ private void reportABugToolStripMenuItem_Click(object sender, EventArgs e)
360349
{
361350
Process.Start("https://github.com/Enderbyte-Programs/PyinstallerHelper/issues/new/choose");
362351
}
352+
353+
private void helpToolStripMenuItem1_Click(object sender, EventArgs e)
354+
{
355+
try
356+
{
357+
Process.Start(Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "/docs/index.html");
358+
} catch
359+
{
360+
try
361+
{
362+
Process.Start(Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "/../../docs/index.html");
363+
} catch
364+
{
365+
MessageBox.Show("Can't find docs!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
366+
}
367+
}
368+
}
369+
370+
private void toEXEToolStripMenuItem_Click(object sender, EventArgs e)
371+
{
372+
CompileForm cf = new CompileForm();
373+
string td = Routines.GenerateNewTempdir();
374+
try
375+
{
376+
377+
cf.ToBuild = BuildCompileCommand(td);
378+
cf.tempdir = td;
379+
}
380+
catch
381+
{
382+
return;
383+
}
384+
cf.ShowDialog();
385+
}
363386
}
364387
}

0 commit comments

Comments
 (0)