Skip to content

Commit

Permalink
Updated to 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hellzerg committed Feb 27, 2018
1 parent 1c3140f commit f91467c
Show file tree
Hide file tree
Showing 8 changed files with 161 additions and 147 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@

All notable changes to this project will be documented in this file.

## [1.1] - 2018-02-27
- Launch apps with proper working directory

## [1.0] - 2018-02-20
- Initial release
107 changes: 50 additions & 57 deletions Mint/AboutForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -121,63 +121,56 @@
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAA0QSURBVHhe7dRbkty4EQVQb9Kb9Ta8oLFaoe6g6FNVfOBF
4E7E+blTSCTYmfrXr//+iYhlMYyINTCMiDUwjIg1MIyINTCMiDUwjIg1MIyINTCMiDUwjIg1MIyINTCM
iDUwjDjlP//+72/6fzE0hhGHfC9+/gF4LIYRH+2XP/8APBLDiJe0+N/0+xgawwjS0m/pTAyNYcRftOyi
szE0hhE/tOiv6HwMjWHEb1ryd1QjhsYwFqflPkr1YlgMY2Fa6jNUM4bFMBalhT5LdWNYDGNBWuYrVDuG
xTAWo0W+SvVjWAxjIVriu3RPDIlhLELLW4LuiiExjAVocUvRfTEkhjE5LW1JujOGxDAmpoWtQXfHcBjG
pLSotej+GA7DmJQWtRbdH8NhGBPSktakHmI4DGNCWtLa1EcMhWFMRsvZgnqJoTCMyWg5W1AvMRSGMREt
ZivqJ4bCMCaixWxF/cRQGMZEtJitqJ8YCsOYiBazFfUTQ2EYk9BStqSeYigMYxJaypbUUwyFYUxCS9mS
eoqhMIxJaClbUk8xFIYxCS1lS+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Ew3jiKQdSb3RQPZM2pA0Cg1mj+R4SaPRgLZMjpU0CxrU
FslxkmZDA1szOUbSzGh4ayTlJc2OBvhOUlbSamigzyRlJK2MhvtdslXSymi43yVbJa2MhvtdslXSymi4
3yVbJa2MhvtdslXSymi43yVbJa2KBrsk2S5pVTTYJcl2SauiwS5JtktaEQ11aVJC0opoqEuTEpJWRENd
mpSQtBoa6DNJGUkroWE+k5SRtBoa6DNJGUmroYE+k5SRtBIa5jNJGUkroWE+m5SStBIa5jNJGUkroWE+
m5SStBIa5rNJKUmroEE+m5SStAoa5CtJOUmroEE+m5SStAoa5CtJOUkroCG+kpSTtAoa5LNJKUmroEG+
kpSTtAoa5LNJKUmroYEuTUpIWhUNdkmyXdLKaLhfJdsk7YCGnJLlknZCw/47WSppRzT0X8mfJUmSJEmS
JEmSJEmSJEmSJEmSJEmSJEmSJFXx11//ATIISjWLnzsUAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="t1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down
28 changes: 19 additions & 9 deletions Mint/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,24 @@ private void DeleteAllAppItems()
}
}

private void LaunchApp(string app)
{
try
{
string fileName = _appsStructure.Apps.Find(x => x.AppTitle == app).AppLink;
string filePath = Path.GetDirectoryName(fileName);

Process p = new Process();
p.StartInfo.WorkingDirectory = filePath;
p.StartInfo.FileName = fileName;
p.Start();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}

private void checkAutoStart_CheckedChanged(object sender, EventArgs e)
{
Options.CurrentOptions.AutoStart = checkAutoStart.Checked;
Expand Down Expand Up @@ -339,15 +357,7 @@ private void launcherMenu_ItemClicked(object sender, ToolStripItemClickedEventAr
else
{
_allowExit = false;

try
{
Process.Start(_appsStructure.Apps.Find(x => x.AppTitle == e.ClickedItem.Text).AppLink);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
LaunchApp(e.ClickedItem.Text);
}
}

Expand Down
Loading

0 comments on commit f91467c

Please sign in to comment.