1
0
mirror of https://github.com/xCryptic/MegaKeep.git synced 2024-11-22 01:52:30 +01:00
This commit is contained in:
Cryptic 2019-05-31 23:21:49 -04:00
parent d89798ebd1
commit 2a696c57df
5 changed files with 234 additions and 15 deletions

View File

@ -84,7 +84,7 @@
this.btnRun.TabIndex = 4; this.btnRun.TabIndex = 4;
this.btnRun.Text = "Run"; this.btnRun.Text = "Run";
this.btnRun.UseVisualStyleBackColor = true; this.btnRun.UseVisualStyleBackColor = true;
this.btnRun.Click += new System.EventHandler(this.btnRun_Click); this.btnRun.Click += new System.EventHandler(this.btnRun_ClickAsync);
// //
// label2 // label2
// //
@ -118,8 +118,10 @@
this.Controls.Add(this.txtPath); this.Controls.Add(this.txtPath);
this.Controls.Add(this.pictureBox1); this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
this.Name = "MegaKeep"; this.Name = "MegaKeep";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "MegaKeep"; this.Text = "MegaKeep";
this.Load += new System.EventHandler(this.MegaKeep_Load); this.Load += new System.EventHandler(this.MegaKeep_Load);

View File

@ -2,6 +2,7 @@
using System.Diagnostics; using System.Diagnostics;
using System.IO; using System.IO;
using System.Threading; using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
namespace MegaKeep namespace MegaKeep
@ -15,7 +16,7 @@ namespace MegaKeep
InitializeComponent(); InitializeComponent();
} }
private void btnRun_Click(object sender, EventArgs e) private async void btnRun_ClickAsync(object sender, EventArgs e)
{ {
txtLog.Clear(); txtLog.Clear();
@ -26,10 +27,10 @@ namespace MegaKeep
return; return;
} }
// then check to make sure the file exists // then check to make sure the file exists and it's actually a txt file
if (!File.Exists(txtPath.Text)) if (!File.Exists(txtPath.Text) || txtPath.Text.Substring(txtPath.Text.LastIndexOf(".")) != ".txt")
{ {
MessageBox.Show("The file could not be found"); Log("The file could not be found or is not a .txt file");
return; return;
} }
@ -47,6 +48,12 @@ namespace MegaKeep
return; return;
} }
// run the processes in a task so it doesn't freeze the ui
await Task.Run(() => Work(lines));
}
private void Work(string[] lines)
{
// loop through every line // loop through every line
foreach (var line in lines) foreach (var line in lines)
{ {
@ -111,13 +118,17 @@ namespace MegaKeep
Log(logout.StandardOutput.ReadToEnd()); Log(logout.StandardOutput.ReadToEnd());
if (restart) if (restart)
{
this.Invoke((MethodInvoker) delegate
{ {
btnRun.PerformClick(); btnRun.PerformClick();
});
return; return;
} }
} }
Log("Finished"); Log("Finished");
File.WriteAllLines(Environment.CurrentDirectory + "\\" + DateTime.Now.ToString("yyyyMMdd-HHmmss") + "-log.txt", txtLog.Lines);
} }
private void btnLocate_Click(object sender, EventArgs e) private void btnLocate_Click(object sender, EventArgs e)
@ -136,7 +147,12 @@ namespace MegaKeep
private void Log(string txt) private void Log(string txt)
{ {
txtLog.Text += txt + Environment.NewLine; this.Invoke((MethodInvoker) delegate
{
var time = "[" + DateTime.Now.ToString("hh:mm:ss tt") + "] ";
txtLog.Text += time + txt + Environment.NewLine;
});
} }
private void MegaKeep_Load(object sender, EventArgs e) private void MegaKeep_Load(object sender, EventArgs e)

View File

@ -2376,6 +2376,197 @@
IvpGbtTNS6Pq/72j/m8M1///Pv+f4/x/pkX/GfM/+2Du8f/8+b/L4v9uuf6/68Gujn/Z/x7kf8/PPfH7 IvpGbtTNS6Pq/72j/m8M1///Pv+f4/x/pkX/GfM/+2Du8f/8+b/L4v9uuf6/68Gujn/Z/x7kf8/PPfH7
kjv/+3T+9yz/3uVfv7H/vcz/+jX97+353+P8e31Xiuf3v/fljwEAAACAqRTx/wPDUq8hv+hKQAAAAABJ kjv/+3T+9yz/3uVfv7H/vcz/+jX97+353+P8e31Xiuf3v/fljwEAAACAqRTx/wPDUq8hv+hKQAAAAABJ
RU5ErkJggg== RU5ErkJggg==
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAAAAAAAEAIAC9KwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAK4RJ
REFUeNrtnXecVOX1/9/3zmyZ7Y1dYEFFTdTIggW7UcAeNZav/ohGsUuxAYK9ARJTRFEsSDTW2GJixG4S
RI0FO+xiBBWlLAvb++zszsz9/fHMLrOwdWbu3Dsz5/167Yu23OeZu/d87nnOc55zNISY4eticABo6Bi4
gGwgDygChgLDAr8WAgVALpAFZAAuIAVICnzpgS8Af+CrI/DlAdxAM9AI1AHVQCWwDagIfFUCNUAD4NbA
394BB1RafaeEgaJZPQGhZ0qLAfXzSUcZ8whgFLB74NeRKMPPRRl4Ksqwzf6ZGmwXiWaUOGwDNgE/Aj8E
ft2MEo0WwCgpt/qOCj0hAmADykaoH4RfvdWHAnsC+wKjgb1Qxl6AeovroY4TJfwo76EGJQprgTJgDfAd
sFUDtwGIKFiPCIAFlBaj7rxBOrALUAIcBOyPMv4i1Bs9nmhDLRm+B74CPgNWAxsNaNEQQbACEYAoUFas
/GbAiVqnjwWOAA4F9ka93Z1WzzPKeFFLhLXAJ8CHwCpgC+AlBUrWWz3F+EcEwCSCjD4V2AM4HJgIjEO5
9ClWz9FmtKOWDJ8Dy1GC8AMGbehQstnq6cUnIgARpGwkGD5AIwX4OTABOB44EBWZt/v63S74gSrgC+Ad
4F1gHdCmGTB6i9XTix9EACJAIGLvAHZDveVPQbn3Q5B7HC4GSgxWAq+hvIMfAZ/EDMJHHs4QKS2GTD80
6eSi3PszgWNQ23UOq+cXp/hRy4TlwD+AjzSDWkOTAGKoiAAMkqC3/Z7Ar1GGPxa1RSdEjzZU0PAfwDLU
FqN4BYNEBGAABIwelJEfBJwL/Ar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yIANiBIEFyoikV7oBqgjgb2QolEPpCG/eMIftQWXQ2wEbV2Lwt8
fQ9sxcBNjNfTjxdEAGxKYNmgoYy+AJV0NAolDqNQolCIOreQgfIYkjD/Z2qgcuzbgGagDtiGSsb5EbVu
/zHw52rU0VtDjN2eiADEEF8XdyUY6CiDz0Z5BkUoz2FY4NdClGjkBL4nHSUkKSiRcKIu1elN+FGFML0o
4/YArSjjbQDqUcZciaqZtxW1Vq8M/H0j6q3v7+iAAyqtvlPCQPn/D5OvSds1WeUAAAAASUVORK5CYII=
</value> </value>
</data> </data>
</root> </root>

View File

@ -5,12 +5,12 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("Mega Keep")] [assembly: AssemblyTitle("MegaKeep")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Mega Keep")] [assembly: AssemblyProduct("MegaKeep")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2019")] [assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.1.0.0")]

View File

@ -1,7 +1,7 @@
MegaKeep MegaKeep
======== ========
![MegaKeep](https://s.put.re/SnpwJiiA.png) ![MegaKeep](https://i.imgur.com/jnLYBvm.png)
This program will allow you to login to all of your mega accounts to avoid deletion due to inactivity. This program will allow you to login to all of your mega accounts to avoid deletion due to inactivity.
@ -18,3 +18,13 @@ Create a text file (.txt) of all your mega accounts and passwords in a `user:pas
## Contributing ## Contributing
When making a pull request, please provide a thorough explanation of what you added/fixed. Suggestions are welcome in the form of issues. When making a pull request, please provide a thorough explanation of what you added/fixed. Suggestions are welcome in the form of issues.
## Version History
v1.0
- Initial Release
v1.1
- Fixed the UI freezing (via Task)
- Added timestamps to logging
- Added log saving