Skip to content

Commit

Permalink
added catch for uninstalling all requierments
Browse files Browse the repository at this point in the history
  • Loading branch information
Incognito-100 committed May 28, 2022
1 parent 11475fe commit c22122f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Internals/Menues/MainMen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MainMen
public static void showmen()
{
start:
Console.Title = "pip GUI now in C# v2.0";
Console.Title = "pip GUI now in C# v2.1.1";

Console.Clear();
ASCI.Drawasci();
Expand Down
7 changes: 7 additions & 0 deletions Internals/Modules/Option7.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ public static void Start()
string filee = "/C pip uninstall -r requirements.txt -y";
Process.Start("CMD.exe", filee);
}
catch (Exception ex)
{
Console.WriteLine("somting went wrong try again");
Console.WriteLine("details");
Console.WriteLine(ex.ToString());
Console.ReadKey();
}
finally
{
string scom = "/C pip cache purge";
Expand Down

0 comments on commit c22122f

Please sign in to comment.