Skip to content

Commit 25c8d8d

Browse files
committed
1.5
1 parent 29416f6 commit 25c8d8d

16 files changed

Lines changed: 4406 additions & 23 deletions

Form1.Designer.cs

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

Form1.cs

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public Form1()
3939
textBox9.Enabled = checkBox2.Checked;
4040
textBox10.Enabled = checkBox2.Checked;
4141
textBox11.Enabled = checkBox2.Checked;
42+
textBox3.Text = Constants.DistPath;
4243
foreach (Control c in Controls)
4344
{
4445
c.Click += Form1_Click;
@@ -321,5 +322,43 @@ private void pyinstallerToolStripMenuItem_Click(object sender, EventArgs e)
321322
{
322323
new PyinstallerSetting().ShowDialog(this);
323324
}
325+
326+
private void button4_Click(object sender, EventArgs e)
327+
{
328+
Routines.OpenFolder(textBox3.Text);
329+
}
330+
331+
private void generateCommandOnlyToolStripMenuItem_Click(object sender, EventArgs e)
332+
{
333+
334+
string data;
335+
try
336+
{
337+
data = BuildCompileCommand(Routines.GenerateNewTempdir());
338+
} catch
339+
{
340+
return;
341+
}
342+
TextBoxDisplay cmd = new TextBoxDisplay();
343+
cmd.data = data;
344+
cmd.SetTitle("Pyinstaller command");
345+
cmd.ShowDialog();
346+
347+
}
348+
349+
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
350+
{
351+
MessageBox.Show($"Pyinstaller Helper Version {FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetEntryAssembly().Location).FileVersion}. This software is (c) 2024 Enderbyte Programs, Some rights reserved.");
352+
}
353+
354+
private void whatsNewToolStripMenuItem_Click(object sender, EventArgs e)
355+
{
356+
MessageBox.Show($"What's New this version?\n- Fix bug where everything is unsaved\n- Add button to open output directory\n- Add option to generate command only");
357+
}
358+
359+
private void reportABugToolStripMenuItem_Click(object sender, EventArgs e)
360+
{
361+
Process.Start("https://github.com/Enderbyte-Programs/PyinstallerHelper/issues/new/choose");
362+
}
324363
}
325364
}

0 commit comments

Comments
 (0)