Skip to content

Commit

Permalink
New updates.
Browse files Browse the repository at this point in the history
including code cleanup, testing and more
  • Loading branch information
JJakaJonas committed Apr 15, 2018
1 parent e96464c commit 3511a26
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 33 deletions.
1 change: 0 additions & 1 deletion Debloat
Submodule Debloat deleted from 6c1a69
17 changes: 11 additions & 6 deletions Debloat files/Debloat files.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,21 @@
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<PublishUrl>\\JJESTATE\Software develupment\Debloat Files\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<InstallFrom>Unc</InstallFrom>
<UpdateEnabled>true</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<UpdateRequired>true</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<InstallUrl>\\JJESTATE\Software develupment\Debloat Files\</InstallUrl>
<ProductName>Debloat Files</ProductName>
<PublisherName>JJ Productions</PublisherName>
<SuiteName>Debloat Files</SuiteName>
<MinimumRequiredVersion>1.0.0.0</MinimumRequiredVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
Expand Down Expand Up @@ -78,9 +83,9 @@
<ItemGroup>
<None Include="App.config" />
<None Include="Debloat files_TemporaryKey.pfx" />
<None Include="Debloat.bat">
<Content Include="Debloat.bat">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</Content>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
Expand Down
16 changes: 9 additions & 7 deletions Debloat files/Debloat.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@ echo *******************************************************
echo Auther: JJakaJonas
echo Script Name: Debloat.bat
echo Script Type: Windows Batch Script.
echo Script revision: 12 April 2018 - Virsion 1.0.3.0
Echo *******************************************************
echo Script revision: 12 April 2018 - Virsion 1.0.1.2
echo *******************************************************
echo Script is starting...
Echo *******************************************************
echo *******************************************************
echo Jumping to C:\ Drive.
cd C:\
echo Show volume name, folders and files on drive C:\
dir
echo Jumping to F:\ Drive.
cd F:\
echo Show folders and files on drive F:\
cd /d F:\
echo Show volume name, folders and files on drive F:\
dir
echo Deleting .DS_STORE Files.
pause
del /s /q /f /a .DS_STORE
echo Done!
echo Exit Script.
echo *******************************************************
pause
Exit
37 changes: 18 additions & 19 deletions Debloat files/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ class Program
static void Main(string[] args)
{
Console.Clear();
Console.SetCursorPosition(35, 9);
Console.WriteLine("*********************************************************");
Console.SetCursorPosition(35, 10);
Console.WriteLine("* Name: Debloat Files *");
Console.SetCursorPosition(35, 11);
Console.WriteLine("*********************************************************");
Console.SetCursorPosition(35, 12);
Console.WriteLine("* Purpose: Delete files that Mac OS X leavs behinde *");
Console.SetCursorPosition(35, 13);
Console.WriteLine("*********************************************************");
Console.SetCursorPosition(35, 14);
Console.WriteLine("* Auther: JJakaJonas *");
Console.SetCursorPosition(35, 15);
Console.WriteLine("*********************************************************");
Console.SetCursorPosition(35, 16);
Console.WriteLine("* Revision: 0.0.0.1 Beta tester *");
Console.SetCursorPosition(35, 17);
Console.WriteLine("*********************************************************");
Console.SetCursorPosition(15, 7);
Console.WriteLine("╔═══════════════════════════════════════════════════════╗");
Console.SetCursorPosition(15, 8);
Console.WriteLine(" Name: Debloat Files ");
Console.SetCursorPosition(15, 9);
Console.WriteLine("╠═══════════════════════════════════════════════════════╣");
Console.SetCursorPosition(15, 10);
Console.WriteLine(" Purpose: Delete files that Mac OS X leavs behinde ");
Console.SetCursorPosition(15, 11);
Console.WriteLine("╠═══════════════════════════════════════════════════════╣");
Console.SetCursorPosition(15, 12);
Console.WriteLine(" Auther: JJakaJonas ");
Console.SetCursorPosition(15, 13);
Console.WriteLine("╠═══════════════════════════════════════════════════════╣");
Console.SetCursorPosition(15, 14);
Console.WriteLine(" Revision: 1.0.0.0 ");
Console.SetCursorPosition(15, 15);
Console.WriteLine("╚═══════════════════════════════════════════════════════╝");

//System.Diagnostics.Process process = new System.Diagnostics.Process();
//System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
Expand All @@ -50,7 +50,6 @@ static void Main(string[] args)
proc.Close();

Console.ReadKey();

}
}
}

0 comments on commit 3511a26

Please sign in to comment.