diff --git a/Mint/App.config b/Mint/App.config
index 88fa402..d8ef5cf 100644
--- a/Mint/App.config
+++ b/Mint/App.config
@@ -1,6 +1,6 @@
-
+
-
-
+
+
\ No newline at end of file
diff --git a/Mint/AppsStructure.cs b/Mint/AppsStructure.cs
index 1ac2c16..9661823 100644
--- a/Mint/AppsStructure.cs
+++ b/Mint/AppsStructure.cs
@@ -6,10 +6,19 @@ namespace Mint
[Serializable]
public class AppsStructure
{
- public List Apps { get; set; }
- public List Groups { get; set; }
+ public List Apps
+ {
+ get; set;
+ }
- public AppsStructure() { }
+ public List Groups
+ {
+ get; set;
+ }
+
+ public AppsStructure()
+ {
+ }
public AppsStructure(List apps)
{
@@ -20,9 +29,24 @@ public AppsStructure(List apps)
[Serializable]
public class App
{
- public string AppTitle { get; set; }
- public string AppLink { get; set; }
- public string AppGroup { get; set; }
- public string AppParams { get; set; }
+ public string AppTitle
+ {
+ get; set;
+ }
+
+ public string AppLink
+ {
+ get; set;
+ }
+
+ public string AppGroup
+ {
+ get; set;
+ }
+
+ public string AppParams
+ {
+ get; set;
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Mint/Automint.cs b/Mint/Automint.cs
new file mode 100644
index 0000000..434559d
--- /dev/null
+++ b/Mint/Automint.cs
@@ -0,0 +1,135 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.IO;
+using System.Linq;
+using System.Windows.Forms;
+using IWshRuntimeLibrary;
+using Newtonsoft.Json;
+
+namespace Mint
+{
+ internal static class Automint
+ {
+ public static List LoadFolder(string path)
+ {
+ List ff = FindExeFiles(path);
+
+ ff.AddRange(FindLinks(path));
+
+ /* var xtop = ff.GroupBy(x => x.AppGroup)
+ .OrderByDescending(group => group.Count())
+ .Take(20).Select(group => group.Key);
+ */
+ foreach (var item in ff)
+ {
+ if(!Program._AppsStructure.Groups.Contains(item.AppGroup))
+ {
+ Program._AppsStructure.Groups.Add(item.AppGroup);
+ }
+ }
+
+
+
+
+ Program._AppsStructure.Apps.AddRange(ff);
+
+
+
+
+ return ff;
+ }
+
+ private static List FindLinks(string directoryPath)
+ {
+ List appList = new List();
+
+
+ foreach (string filePath in Directory.GetFiles(directoryPath, "*.lnk", SearchOption.AllDirectories))
+ {
+ string targetPath = GetShortcutTarget(filePath);
+ if (!string.IsNullOrEmpty(targetPath) && System.IO.File.Exists(targetPath) && targetPath.ToLower().EndsWith(".exe"))
+ {
+ App app = new App
+ {
+ AppTitle = Path.GetFileNameWithoutExtension(targetPath),
+ AppLink = targetPath,
+ AppGroup = Path.GetDirectoryName(targetPath),
+ AppParams = ""
+ };
+
+ appList.Add(app);
+ }
+ }
+ return appList;
+ }
+
+ private static List FindExeFiles(string directoryPath)
+ {
+ List appList = new List();
+
+ foreach (string filePath in Directory.GetFiles(directoryPath, "*.exe", SearchOption.AllDirectories))
+ {
+ App app = new App
+ {
+ AppTitle = Path.GetFileNameWithoutExtension(filePath),
+ AppLink = filePath,
+ //AppGroup = "Auto", // Değiştirebilirsiniz.
+ AppGroup = Path.GetFileName(Path.GetDirectoryName(filePath)) ,
+ AppParams = ""
+ };
+
+ appList.Add(app);
+ }
+ return appList;
+ }
+
+ private static string GetShortcutTarget(string shortcutPath)
+ {
+ string targetPath = "";
+ try
+ {
+ WshShell shell = new WshShell();
+ IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutPath);
+ targetPath = shortcut.TargetPath;
+ }
+ catch (Exception ee)
+ {
+ if (Debugger.IsAttached)
+ Console.WriteLine(ee.Message); // Kısayolun hedefi alınamazsa işleme devam edin.
+ }
+ return targetPath;
+ }
+
+ private static bool SaveJson(List appList, string outputPath = "Apps.json")
+ {
+ try
+ {
+ string jsonOutput = JsonConvert.SerializeObject(appList, Formatting.Indented);
+
+ System.IO.File.WriteAllText(outputPath, jsonOutput);
+ return true;
+ }
+ catch (System.Exception)
+ {
+ return false;
+ }
+ }
+ }
+
+ internal class FolderFindings
+ {
+ public string Path;
+ public string Errors;
+
+ public List ExeFiles
+ {
+ get; set;
+ }
+
+ public List Links
+ {
+ get; set;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Mint/Controls/MoonBox.cs b/Mint/Controls/MoonBox.cs
index b03b54f..d2c6d2c 100644
--- a/Mint/Controls/MoonBox.cs
+++ b/Mint/Controls/MoonBox.cs
@@ -7,12 +7,18 @@ public class MoonBox : ComboBox
{
private const int WM_PAINT = 0xF;
private int buttonWidth = SystemInformation.HorizontalScrollBarArrowWidth;
- Color borderColor = Color.Blue;
+ private Color borderColor = Color.Blue;
public Color BorderColor
{
- get { return borderColor; }
- set { borderColor = value; Invalidate(); }
+ get
+ {
+ return borderColor;
+ }
+ set
+ {
+ borderColor = value; Invalidate();
+ }
}
protected override void WndProc(ref Message m)
@@ -54,4 +60,4 @@ protected override void WndProc(ref Message m)
}
}
}
-}
+}
\ No newline at end of file
diff --git a/Mint/Forms/MainForm.Designer.cs b/Mint/Forms/MainForm.Designer.cs
index 9848e04..7812845 100644
--- a/Mint/Forms/MainForm.Designer.cs
+++ b/Mint/Forms/MainForm.Designer.cs
@@ -72,6 +72,7 @@ private void InitializeComponent()
this.label4 = new System.Windows.Forms.Label();
this.launcherIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.launcherMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.btnAddFolder = new System.Windows.Forms.Button();
this.checkAutoStart = new Mint.MoonCheck();
this.listApps = new Mint.MoonList();
this.groupBox = new Mint.MoonBox();
@@ -458,6 +459,7 @@ private void InitializeComponent()
this.panelAddApp.AllowDrop = true;
this.panelAddApp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.panelAddApp.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panelAddApp.Controls.Add(this.btnAddFolder);
this.panelAddApp.Controls.Add(this.btnGroups);
this.panelAddApp.Controls.Add(this.label8);
this.panelAddApp.Controls.Add(this.groupBox);
@@ -562,13 +564,13 @@ private void InitializeComponent()
this.btnAdd.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAdd.ForeColor = System.Drawing.Color.White;
- this.btnAdd.Location = new System.Drawing.Point(95, 264);
+ this.btnAdd.Location = new System.Drawing.Point(174, 268);
this.btnAdd.Margin = new System.Windows.Forms.Padding(2);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(104, 31);
this.btnAdd.TabIndex = 80;
this.btnAdd.Tag = "themeable";
- this.btnAdd.Text = "Add";
+ this.btnAdd.Text = "Add App";
this.btnAdd.UseVisualStyleBackColor = false;
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
@@ -653,6 +655,25 @@ private void InitializeComponent()
this.launcherMenu.Size = new System.Drawing.Size(61, 4);
this.launcherMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.launcherMenu_ItemClicked);
//
+ // btnAddFolder
+ //
+ this.btnAddFolder.BackColor = System.Drawing.Color.DodgerBlue;
+ this.btnAddFolder.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue;
+ this.btnAddFolder.FlatAppearance.BorderSize = 0;
+ this.btnAddFolder.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue;
+ this.btnAddFolder.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
+ this.btnAddFolder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnAddFolder.ForeColor = System.Drawing.Color.White;
+ this.btnAddFolder.Location = new System.Drawing.Point(14, 268);
+ this.btnAddFolder.Margin = new System.Windows.Forms.Padding(2);
+ this.btnAddFolder.Name = "btnAddFolder";
+ this.btnAddFolder.Size = new System.Drawing.Size(104, 31);
+ this.btnAddFolder.TabIndex = 95;
+ this.btnAddFolder.Tag = "themeable";
+ this.btnAddFolder.Text = "Add Folder";
+ this.btnAddFolder.UseVisualStyleBackColor = false;
+ this.btnAddFolder.Click += new System.EventHandler(this.btnAddFolder_Click);
+ //
// checkAutoStart
//
this.checkAutoStart.AutoSize = true;
@@ -785,6 +806,7 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem deleteAllToolStripMenuItem;
+ private System.Windows.Forms.Button btnAddFolder;
}
}
diff --git a/Mint/Forms/MainForm.cs b/Mint/Forms/MainForm.cs
index 7c76922..bca8781 100644
--- a/Mint/Forms/MainForm.cs
+++ b/Mint/Forms/MainForm.cs
@@ -17,8 +17,7 @@ namespace Mint
{
public partial class MainForm : Form
{
- internal AppsStructure _AppsStructure;
-
+
readonly string _latestVersionLink = "https://raw.githubusercontent.com/hellzerg/mint/master/version.txt";
readonly string _noNewVersionMessage = "You already have the latest version!";
@@ -68,13 +67,13 @@ private void LoadAppsStructure()
{
if (System.IO.File.Exists(Options.AppsStructureFile))
{
- _AppsStructure = JsonConvert.DeserializeObject(System.IO.File.ReadAllText(Options.AppsStructureFile));
+ Program._AppsStructure = JsonConvert.DeserializeObject(System.IO.File.ReadAllText(Options.AppsStructureFile));
}
else
{
- _AppsStructure = new AppsStructure();
- _AppsStructure.Apps = new List();
- _AppsStructure.Groups = new List();
+ Program._AppsStructure = new AppsStructure();
+ Program._AppsStructure.Apps = new List();
+ Program._AppsStructure.Groups = new List();
using (FileStream fs = System.IO.File.Open(Options.AppsStructureFile, FileMode.CreateNew))
using (StreamWriter sw = new StreamWriter(fs))
@@ -83,7 +82,7 @@ private void LoadAppsStructure()
jw.Formatting = Formatting.Indented;
JsonSerializer serializer = new JsonSerializer();
- serializer.Serialize(jw, _AppsStructure);
+ serializer.Serialize(jw, Program._AppsStructure);
}
}
}
@@ -99,7 +98,7 @@ private void SaveAppsStructure()
jw.Formatting = Formatting.Indented;
JsonSerializer serializer = new JsonSerializer();
- serializer.Serialize(jw, _AppsStructure);
+ serializer.Serialize(jw, Program._AppsStructure);
}
}
@@ -108,20 +107,20 @@ private void LoadAppsList()
listApps.Items.Clear();
groupBox.Items.Clear();
- if (_AppsStructure != null)
+ if (Program._AppsStructure != null)
{
- if (_AppsStructure.Groups != null) groupBox.Items.AddRange(_AppsStructure.Groups.ToArray());
+ if (Program._AppsStructure.Groups != null) groupBox.Items.AddRange(Program._AppsStructure.Groups.ToArray());
- if (_AppsStructure.Apps != null)
+ if (Program._AppsStructure.Apps != null)
{
- foreach (App x in _AppsStructure.Apps)
+ foreach (App x in Program._AppsStructure.Apps)
{
listApps.Items.Add(x.AppTitle);
}
}
}
- label3.Text = string.Format("Apps ({0})", _AppsStructure.Apps.Count);
+ label3.Text = string.Format("Apps ({0})", Program._AppsStructure.Apps.Count);
}
private void LoadOptions()
@@ -155,16 +154,16 @@ private void BuildLauncherMenu()
{
launcherMenu.Items.Clear();
- if (_AppsStructure.Apps != null)
+ if (Program._AppsStructure.Apps != null)
{
ToolStripMenuItem i;
ToolStripMenuItem subItem;
- if (_AppsStructure.Groups != null)
+ if (Program._AppsStructure.Groups != null)
{
- foreach (string group in _AppsStructure.Groups)
+ foreach (string group in Program._AppsStructure.Groups)
{
- if (_AppsStructure.Apps.Find(a => a.AppGroup == group) == null) continue;
+ if (Program._AppsStructure.Apps.Find(a => a.AppGroup == group) == null) continue;
i = new ToolStripMenuItem(group, null);
i.Name = $"gi_{group}";
@@ -173,13 +172,13 @@ private void BuildLauncherMenu()
launcherMenu.Items.Add(i);
}
- if (_AppsStructure.Groups.Count > 0) launcherMenu.Items.Add("-");
+ if (Program._AppsStructure.Groups.Count > 0) launcherMenu.Items.Add("-");
}
bool isDeadItem = false;
// .OrderBy(o => o.AppGroup)
- foreach (App x in _AppsStructure.Apps)
+ foreach (App x in Program._AppsStructure.Apps)
{
isDeadItem = !File.Exists(x.AppLink);
@@ -233,13 +232,13 @@ private void AddApp()
{
if (System.IO.File.Exists(txtAppLink.Text))
{
- if (_AppsStructure.Apps.Find(x => x.AppLink == txtAppLink.Text) != null)
+ if (Program._AppsStructure.Apps.Find(x => x.AppLink == txtAppLink.Text) != null)
{
MessageBox.Show("This app already exists!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
- if (_AppsStructure.Apps.Find(x => x.AppTitle == txtAppTitle.Text) != null)
+ if (Program._AppsStructure.Apps.Find(x => x.AppTitle == txtAppTitle.Text) != null)
{
MessageBox.Show("This app already exists!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
@@ -251,7 +250,7 @@ private void AddApp()
app.AppParams = txtParams.Text;
app.AppGroup = groupBox.Text;
- _AppsStructure.Apps.Add(app);
+ Program._AppsStructure.Apps.Add(app);
SaveAppsStructure();
LoadAppsStructure();
@@ -372,7 +371,7 @@ private void DeleteAppItem(string app, int appIndex)
if (MessageBox.Show(_deleteAppMessage + app, "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
listApps.Items.RemoveAt(appIndex);
- _AppsStructure.Apps.RemoveAt(appIndex);
+ Program._AppsStructure.Apps.RemoveAt(appIndex);
SaveAppsStructure();
LoadAppsStructure();
@@ -387,7 +386,7 @@ private void DeleteAllAppItems()
if (MessageBox.Show(_deleteAllAppsMessage, "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
listApps.Items.Clear();
- _AppsStructure.Apps.Clear();
+ Program._AppsStructure.Apps.Clear();
SaveAppsStructure();
LoadAppsStructure();
@@ -401,7 +400,7 @@ private void LaunchApp(string app)
{
try
{
- App appX = _AppsStructure.Apps.Find(x => x.AppTitle == app);
+ App appX = Program._AppsStructure.Apps.Find(x => x.AppTitle == app);
if (appX == null) return;
if (!File.Exists(appX.AppLink)) return;
@@ -566,7 +565,7 @@ private void btnEdit_Click(object sender, EventArgs e)
if (listApps.SelectedIndex > -1)
{
int i = listApps.SelectedIndex;
- ModifyForm f = new ModifyForm(listApps.SelectedIndex, this);
+ ModifyForm f = new ModifyForm(listApps.SelectedIndex);//, this);
f.ShowDialog(this);
SaveAppsStructure();
@@ -585,8 +584,8 @@ private void btnSort_Click(object sender, EventArgs e)
private void SortByAZ()
{
- _AppsStructure.Apps = _AppsStructure.Apps.OrderBy(x => x.AppTitle).ToList();
- //if (inversed) _AppsStructure.Apps.Reverse();
+ Program._AppsStructure.Apps = Program._AppsStructure.Apps.OrderBy(x => x.AppTitle).ToList();
+ //if (inversed) Program._AppsStructure.Apps.Reverse();
SaveAppsStructure();
LoadAppsStructure();
@@ -598,7 +597,7 @@ private void listApps_MouseDoubleClick(object sender, MouseEventArgs e)
{
if (listApps.SelectedIndex > -1)
{
- ModifyForm f = new ModifyForm(listApps.SelectedIndex, this);
+ ModifyForm f = new ModifyForm(listApps.SelectedIndex);//, this);
f.ShowDialog();
SaveAppsStructure();
@@ -610,11 +609,11 @@ private void listApps_MouseDoubleClick(object sender, MouseEventArgs e)
private void btnGroups_Click(object sender, EventArgs e)
{
- GroupsForm gf = new GroupsForm(_AppsStructure);
+ GroupsForm gf = new GroupsForm(Program._AppsStructure);
gf.ShowDialog(this);
groupBox.Items.Clear();
- if (_AppsStructure.Groups != null) groupBox.Items.AddRange(_AppsStructure.Groups.ToArray());
+ if (Program._AppsStructure.Groups != null) groupBox.Items.AddRange(Program._AppsStructure.Groups.ToArray());
}
private void MainForm_DragDrop(object sender, DragEventArgs e)
@@ -665,12 +664,29 @@ private void locateFileToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listApps.SelectedIndex > -1)
{
- App file = _AppsStructure.Apps.Find(x => x.AppTitle == listApps.SelectedItem.ToString());
+ App file = Program._AppsStructure.Apps.Find(x => x.AppTitle == listApps.SelectedItem.ToString());
if (file != null)
{
if (File.Exists(file.AppLink)) Process.Start("explorer.exe", "/select, " + file.AppLink);
}
}
}
+
+ private void btnAddFolder_Click(object sender, EventArgs e)
+ {
+ FolderBrowserDialog dialog = new FolderBrowserDialog();
+
+ dialog.ShowNewFolderButton= true;
+
+ if (dialog.ShowDialog() == DialogResult.OK)
+ {
+
+ var x =Automint.LoadFolder(dialog.SelectedPath);
+ if (x != null && x.Count> 0)
+ { MessageBox.Show($"{x.Count} new Apps Added to list");
+ LoadAppsList(); }
+ return;
+ }
+ }
}
}
diff --git a/Mint/Forms/MainForm.resx b/Mint/Forms/MainForm.resx
index c95b298..a0e0a11 100644
--- a/Mint/Forms/MainForm.resx
+++ b/Mint/Forms/MainForm.resx
@@ -220,6 +220,9 @@
AAAw1j98m8PKRwzSwQAAAABJRU5ErkJggg==
+
+ 43
+
AAABAAEAAAAAAAEAIAC/BwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAB4ZJ
diff --git a/Mint/Forms/ModifyForm.cs b/Mint/Forms/ModifyForm.cs
index 8215108..850ce14 100644
--- a/Mint/Forms/ModifyForm.cs
+++ b/Mint/Forms/ModifyForm.cs
@@ -8,9 +8,9 @@ namespace Mint
public partial class ModifyForm : Form
{
int _appIndex;
- MainForm _main;
+ // MainForm _main;
- public ModifyForm(int appIndex, MainForm main)
+ public ModifyForm(int appIndex)//, //MainForm main)
{
InitializeComponent();
CheckForIllegalCrossThreadCalls = false;
@@ -18,18 +18,18 @@ public ModifyForm(int appIndex, MainForm main)
Options.ApplyTheme(this);
_appIndex = appIndex;
- _main = main;
+ //_main = main;
if (_appIndex > -1)
{
- txtAppTitle.Text = _main._AppsStructure.Apps[_appIndex].AppTitle;
- txtParams.Text = _main._AppsStructure.Apps[_appIndex].AppParams;
- txtLink.Text = _main._AppsStructure.Apps[_appIndex].AppLink;
+ txtAppTitle.Text = Program._AppsStructure.Apps[_appIndex].AppTitle;
+ txtParams.Text = Program._AppsStructure.Apps[_appIndex].AppParams;
+ txtLink.Text = Program._AppsStructure.Apps[_appIndex].AppLink;
- if (_main._AppsStructure.Groups != null)
+ if (Program._AppsStructure.Groups != null)
{
- groupBox.Items.AddRange(_main._AppsStructure.Groups.ToArray());
- groupBox.Text = _main._AppsStructure.Apps[_appIndex].AppGroup;
+ groupBox.Items.AddRange(Program._AppsStructure.Groups.ToArray());
+ groupBox.Text = Program._AppsStructure.Apps[_appIndex].AppGroup;
}
}
}
@@ -54,10 +54,10 @@ private void ModifyAppEntry()
// if (i == _appIndex) continue;
//}
- _main._AppsStructure.Apps[_appIndex].AppTitle = txtAppTitle.Text;
- _main._AppsStructure.Apps[_appIndex].AppParams = txtParams.Text;
- _main._AppsStructure.Apps[_appIndex].AppLink = txtLink.Text;
- _main._AppsStructure.Apps[_appIndex].AppGroup = groupBox.Text;
+ Program._AppsStructure.Apps[_appIndex].AppTitle = txtAppTitle.Text;
+ Program._AppsStructure.Apps[_appIndex].AppParams = txtParams.Text;
+ Program._AppsStructure.Apps[_appIndex].AppLink = txtLink.Text;
+ Program._AppsStructure.Apps[_appIndex].AppGroup = groupBox.Text;
this.Close();
}
diff --git a/Mint/Mint.csproj b/Mint/Mint.csproj
index edc3b19..252a183 100644
--- a/Mint/Mint.csproj
+++ b/Mint/Mint.csproj
@@ -8,9 +8,10 @@
WinExe
Mint
Mint
- v4.5.2
+ v4.8
512
true
+
AnyCPU
@@ -37,7 +38,7 @@
- ..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll
+ ..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll
@@ -52,6 +53,7 @@
+
Component
diff --git a/Mint/Options.cs b/Mint/Options.cs
index 628e27f..7bdf29c 100644
--- a/Mint/Options.cs
+++ b/Mint/Options.cs
@@ -1,4 +1,5 @@
using Newtonsoft.Json;
+using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
@@ -10,6 +11,11 @@ public class SettingsJson
{
public Theme Theme { get; set; }
public bool AutoStart { get; set; }
+
+ public List AutoWatchPaths
+ {
+ get; set;
+ }
}
internal class Options
@@ -53,6 +59,17 @@ internal static void ApplyTheme(Form f)
}
}
+
+ internal static void AddPathToWatcher(string path)
+ {
+ if (!Directory.Exists(path))
+ { MessageBox.Show("You cant add non exists directory ");
+ return;
+ }
+
+ CurrentOptions.AutoWatchPaths.Add(path);
+
+ }
private static void SetTheme(Form f, Color c1, Color c2)
{
dynamic c;
diff --git a/Mint/Program.cs b/Mint/Program.cs
index 53014dd..fc8bba5 100644
--- a/Mint/Program.cs
+++ b/Mint/Program.cs
@@ -4,8 +4,11 @@
namespace Mint
{
+
static class Program
{
+
+ public static AppsStructure _AppsStructure;
/* VERSION PROPERTIES */
/* DO NOT LEAVE THEM EMPTY */
diff --git a/Mint/Properties/Resources.Designer.cs b/Mint/Properties/Resources.Designer.cs
index 6a5d84a..760e638 100644
--- a/Mint/Properties/Resources.Designer.cs
+++ b/Mint/Properties/Resources.Designer.cs
@@ -19,7 +19,7 @@ namespace Mint.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
diff --git a/Mint/Properties/Settings.Designer.cs b/Mint/Properties/Settings.Designer.cs
index 1631704..e6ebe8c 100644
--- a/Mint/Properties/Settings.Designer.cs
+++ b/Mint/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace Mint.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.5.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.7.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
diff --git a/Mint/packages.config b/Mint/packages.config
index 1cad659..0b14af3 100644
--- a/Mint/packages.config
+++ b/Mint/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file