Skip to content

Commit

Permalink
Added v1.5.1
Browse files Browse the repository at this point in the history
-Fixed Button Drag and Drop
  • Loading branch information
TheTerminatorOfProgramming committed Oct 16, 2023
1 parent 01e7c6e commit a1678a7
Show file tree
Hide file tree
Showing 43 changed files with 386 additions and 454 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified .vs/ADB Debloater/v17/.suo
Binary file not shown.
600 changes: 300 additions & 300 deletions ADB Debloater Setup/ADB Debloater Setup.vdproj

Large diffs are not rendered by default.

Binary file modified ADB Debloater Setup/Debug/ADB Debloater Setup.msi
Binary file not shown.
Binary file modified ADB Debloater Setup/Release/ADB Debloater Setup.msi
Binary file not shown.
4 changes: 2 additions & 2 deletions ADB Debloater/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.0.0")]
[assembly: AssemblyFileVersion("1.5.0.0")]
[assembly: AssemblyVersion("1.5.1.0")]
[assembly: AssemblyFileVersion("1.5.1.0")]
Binary file modified ADB Debloater/bin/Debug/ADB Debloater.exe
Binary file not shown.
Binary file modified ADB Debloater/bin/Debug/ADB Debloater.pdb
Binary file not shown.
Binary file removed ADB Debloater/bin/Release/ADB Debloater.exe
Binary file not shown.
47 changes: 0 additions & 47 deletions ADB Debloater/bin/Release/ADB Debloater.exe.config

This file was deleted.

Binary file removed ADB Debloater/bin/Release/ADB Debloater.pdb
Binary file not shown.
Binary file removed ADB Debloater/bin/Release/MetroFramework.Fonts.dll
Binary file not shown.
Binary file removed ADB Debloater/bin/Release/MetroFramework.dll
Binary file not shown.
Binary file removed ADB Debloater/bin/Release/OSVersionExt.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
40 changes: 22 additions & 18 deletions ADB Debloater/frmMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

123 changes: 62 additions & 61 deletions ADB Debloater/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -951,67 +951,6 @@ private void btnQuickConnectWlDebug_Click(object sender, EventArgs e)
FlexibleMessageBox.Show("IP Address Not Valid");
txtIP.Clear();
}
}

private void btnInstallAPK_DragEnter(object sender, DragEventArgs e)
{
if (!e.Data.GetDataPresent(DataFormats.FileDrop)) return;
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
if (ext.Equals(".apk", StringComparison.CurrentCultureIgnoreCase))
{
e.Effect = DragDropEffects.Copy;
return;
}
}
}

private void btnInstallAPK_DragDrop(object sender, DragEventArgs e)
{
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
var path = Path.GetFullPath(file);
if (ext.Equals(".apk", StringComparison.CurrentCultureIgnoreCase)) {
functions.InstallAPK(path);
functions.GetApps(apps);
dgvApps.ClearSelection();
}
}
}

private void btnCreateScript_DragEnter(object sender, DragEventArgs e)
{
if (!e.Data.GetDataPresent(DataFormats.FileDrop)) return;
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
if (ext.Equals(".acfg", StringComparison.CurrentCultureIgnoreCase))
{
e.Effect = DragDropEffects.Copy;
return;
}
}
}

private void btnCreateScript_DragDrop(object sender, DragEventArgs e)
{
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
var path = Path.GetFullPath(file);
var directory = Path.GetDirectoryName(file);
if (ext.Equals(".acfg", StringComparison.CurrentCultureIgnoreCase))
{
frmCreateScript createScript = new frmCreateScript(path, directory);
createScript.ShowDialog();
}
}
}

private void btnQuickGetIP_Click(object sender, EventArgs e)
Expand Down Expand Up @@ -1094,5 +1033,67 @@ public void AddTextPair(object sender, EventArgs e)
if (String.IsNullOrWhiteSpace(txtPair.Text))
txtPair.Text = "Enter Pairing Code";
}

private void btnInstallAPK_DragDrop(object sender, DragEventArgs e)
{
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
var path = Path.GetFullPath(file);
if (ext.Equals(".apk", StringComparison.CurrentCultureIgnoreCase))
{
functions.InstallAPK(path);
functions.GetApps(apps);
dgvApps.ClearSelection();
}
}
}

private void btnCreateScript_DragDrop(object sender, DragEventArgs e)
{
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
var path = Path.GetFullPath(file);
var directory = Path.GetDirectoryName(file);
if (ext.Equals(".acfg", StringComparison.CurrentCultureIgnoreCase))
{
frmCreateScript createScript = new frmCreateScript(path, directory);
createScript.ShowDialog();
}
}
}

private void btnInstallAPK_DragEnter(object sender, DragEventArgs e)
{
if (!e.Data.GetDataPresent(DataFormats.FileDrop)) return;
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
if (ext.Equals(".apk", StringComparison.CurrentCultureIgnoreCase))
{
e.Effect = DragDropEffects.Copy;
return;
}
}
}

private void btnCreateScript_DragEnter(object sender, DragEventArgs e)
{
if (!e.Data.GetDataPresent(DataFormats.FileDrop)) return;
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = Path.GetExtension(file);
if (ext.Equals(".acfg", StringComparison.CurrentCultureIgnoreCase))
{
e.Effect = DragDropEffects.Copy;
return;
}
}
}
}
}
Binary file not shown.
Binary file modified ADB Debloater/obj/Debug/ADB Debloater.exe
Binary file not shown.
Binary file modified ADB Debloater/obj/Debug/ADB Debloater.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,3 @@ C:\Users\Jesse\Desktop\ADB Debloater\ADB Debloater\obj\Release\ADB Debloater.csp
C:\Users\Jesse\Desktop\ADB Debloater\ADB Debloater\obj\Release\ADB Debloater.csproj.CopyComplete
C:\Users\Jesse\Desktop\ADB Debloater\ADB Debloater\obj\Release\ADB Debloater.exe
C:\Users\Jesse\Desktop\ADB Debloater\ADB Debloater\obj\Release\ADB Debloater.pdb
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\ADB Debloater.exe.config
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\ADB Debloater.exe
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\ADB Debloater.pdb
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\MetroFramework.dll
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\MetroFramework.Fonts.dll
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\OSVersionExt.dll
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB Debloater.csproj.AssemblyReference.cache
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmAbout.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmCreateInstallScript.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmCreateScript.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmListConfirm.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmMain.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmOptions.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmDeviceInfo.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmRestartManager.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmSelectPackages.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.frmStorage.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB_Debloater.Properties.Resources.resources
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB Debloater.csproj.GenerateResource.cache
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB Debloater.csproj.CoreCompileInputs.cache
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB Debloater.csproj.CopyComplete
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB Debloater.exe
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\obj\Release\ADB Debloater.pdb
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\Windows.Forms.HintTextBox.dll
C:\Users\Jesse\Documents\GitHub\ADB_Debloater\ADB Debloater\bin\Release\Windows.Forms.HintTextBox.pdb
Binary file not shown.
Binary file removed ADB Debloater/obj/Release/ADB Debloater.exe
Binary file not shown.
Binary file removed ADB Debloater/obj/Release/ADB Debloater.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit a1678a7

Please sign in to comment.