Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
- Automatic Repairs is now fully configurable
- Added config files in the config folder
- Removed hardcoded values in favor of config
- Added GSON for JSON config files
- Refactored Automatic Repairs codebase
- Added new config loader and task runners
- Minor code changes and improvements
  • Loading branch information
Foulest committed Sep 20, 2024
1 parent 73609ee commit a6764d0
Show file tree
Hide file tree
Showing 35 changed files with 2,613 additions and 991 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ Automatically perform a comprehensive system cleanup and repair, including:
- Repairing various disk issues
- Scanning for malware with security software

Every function in the repair is fully customizable, allowing you to enable or disable specific repairs as needed using
the configuration files located in the **config** folder. **Only modify these files if you know what you are doing.**

> **Note:** The malware scan automatically runs a quick scan with Windows Defender. In the event that Windows Defender
> is disabled or unavailable, a quick scan is performed with Sophos Scan & Clean instead.
Expand Down
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = 'net.foulest'
version = '1.1.9'
version = '1.2.0'
description = 'RepairKit'

// Set the language level to Java 17
Expand All @@ -33,6 +33,10 @@ dependencies {
// https://mvnrepository.com/artifact/net.java.dev.jna/jna-platform
implementation group: 'net.java.dev.jna', name: 'jna-platform', version: '5.15.0'

// Google Gson - for JSON serialization and deserialization
// https://mvnrepository.com/artifact/com.google.code.gson/gson
implementation group: 'com.google.code.gson', name: 'gson', version: '2.11.0'

// JetBrains Annotations - for code inspection and documentation
// https://mvnrepository.com/artifact/org.jetbrains/annotations
compileOnly group: 'org.jetbrains', name: 'annotations', version: '24.1.0'
Expand Down Expand Up @@ -115,6 +119,12 @@ tasks {
into "${projectDir}/build/launch4j/jre"
}

// Copy the config folder to the launch4j directory
copy {
from "${projectDir}/src/main/resources/config"
into "${projectDir}/build/launch4j/config"
}

// Delete the lib folder in the launch4j directory
delete "${projectDir}/build/launch4j/lib"
}
Expand Down
308 changes: 308 additions & 0 deletions config/bloatware.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,308 @@
{
"bloatware": {
"enabled": true,
"values": [
"46928bounde.EclipseManager",
"9E2F88E3.Twitter",
"ActiproSoftwareLLC.562882FEEB491",
"ClearChannelRadioDigital.iHeartRadio",
"D5EA27B7.Duolingo-LearnLanguagesforFree",
"Flipboard.Flipboard",
"Microsoft.3DBuilder",
"Microsoft.549981C3F5F10",
"Microsoft.Advertising.Xaml",
"Microsoft.BingFinance",
"Microsoft.BingNews",
"Microsoft.BingSports",
"Microsoft.BingWeather",
"Microsoft.CommsPhone",
"Microsoft.GetHelp",
"Microsoft.Getstarted",
"Microsoft.GroupMe10",
"Microsoft.MSPaint",
"Microsoft.Messaging",
"Microsoft.Microsoft3DViewer",
"Microsoft.MicrosoftSolitaireCollection",
"Microsoft.MixedReality.Portal",
"Microsoft.NetworkSpeedTest",
"Microsoft.Office.OneNote",
"Microsoft.Office.Sway",
"Microsoft.OneConnect",
"Microsoft.People",
"Microsoft.Print3D",
"Microsoft.RemoteDesktop",
"Microsoft.SkypeApp",
"Microsoft.Todos",
"Microsoft.Wallet",
"Microsoft.Windows.Ai.Copilot.Provider",
"Microsoft.Windows.Phone",
"Microsoft.WindowsFeedbackHub",
"Microsoft.WindowsMaps",
"Microsoft.WindowsPhone",
"PandoraMediaInc.29680B314EFC2",
"ShazamEntertainmentLtd.Shazam",
"king.com.CandyCrushSaga",
"king.com.CandyCrushSodaSaga",
"05980FDA.*",
"0D9A1B2D.*",
"10301PerfectThumb.*",
"10801DigitalTz.*",
"11990MediaHub.*",
"1200P33kbooVPNServices.*",
"12166732A9970.*",
"12450WhiteMoonlight.*",
"12496JioUWP.*",
"13158BethanySophia.*",
"13395RBCORP.*",
"14184MeetmeXMTechnologyCo.*",
"14586regulars.*",
"14589Nov.*",
"14911ToshikiTomihira.*",
"14C78905.*",
"15068GalaxyApps.*",
"15191PeakPlayer.*",
"15647NeonBand.*",
"16579RBSoftInc.*",
"16939CMDevelopers.*",
"17580Baronan.*",
"17648Osceus.*",
"18182E8D6764.*",
"18663FirePDF.*",
"1901TwentyOneTeam.*",
"19701APPXOTICA.*",
"20654MicroYiAppStudio.*",
"20815shootingapp.*",
"21336V3TApps.*",
"21676OptimiliaStudios.*",
"2242VelocityAppsTeam.*",
"22450.*",
"22546Cidade.*",
"2277844670.*",
"22785wolfSYS.*",
"22858LISAppStudio.*",
"22921LinhNguyen.*",
"23436LAT.*",
"23469Whatever2048.*",
"23836FeefiGaming.*",
"24091FileFormatApps.*",
"2436VCApps.*",
"25930UnblockMate.*",
"26031PicsCanvas.*",
"2628LiveNewsNowInc.*",
"26571KonstantinSoftware.*",
"2664ShoolinShiv.*",
"2713WilsonByrne.*",
"2725Swisspix.*",
"27324InternetOfThingsDev.*",
"28131MobiDreamNet.*",
"2841abhijith94.*",
"28908CodeHive.*",
"29009AugiApps.*",
"29645FreeConnectedLimited.*",
"29982SibistLtd.*",
"30203DEE513B8.*",
"3042cilixft.*",
"3138AweZip.*",
"32174XingLiHui.*",
"325289AEDD75.*",
"32533HUXSoft.*",
"32703RoxyApps.*",
"33842Tronlabs.*",
"33865VideoStudio.*",
"3396Flysoft.*",
"34020IRBOETECH.*",
"34599PandaViolet.*",
"35450PhotoCoolApps.*",
"3559TVMedia.*",
"36059XiaoyaStudio.*",
"3718.*",
"37309CoolLeGetInc.*",
"38123SoftwareGoodiebag.*",
"38184CDCTech.*",
"38526MediaLife.*",
"38623ExtremeSleeper.*",
"38806TusharKoshti.*",
"39171BastianAunkofer.*",
"39252LionGroup.*",
"39492FruitCandy.*",
"39611MusiciTubeMedia.*",
"39691Videopix.*",
"40090TheMockingBird.*",
"40119PurpleMartin.*",
"40174MouriNaruto.*",
"40242YTDApp.*",
"40507LinfengLi.*",
"40720RMDEV.*",
"41219Prispiii.*",
"41749.*",
"41824Dozrekt.*",
"41879VbfnetApps.*",
"42331JPLiu.*",
"42458PDFIUMAPP.*",
"42606NeededSpecialTools.*",
"42742filesuite.*",
"43692CyanFood.*",
"43911Invotech.*",
"43975GKMServicesLtd.*",
"44500SecurityDevelopment.*",
"4515BlueCapo.*",
"45552VictoryTechnology.*",
"45907smallapp.*",
"47236EllyFieldStudios.*",
"47772AVGTechnologies.*",
"48092WHNC.*",
"4829OILYMOB.*",
"48433PhantancyBubble.*",
"48494ChristianRegli.*",
"48713HLXB.*",
"49612CrowdedRoad.*",
"49659SandpiperStudio.*",
"49715BoskoApps.*",
"49775MorningInSeattle.*",
"4978BestGameStudio.*",
"4K-SOFTLTD.*",
"50138MConverter.*",
"50236FileViewerProInc.*",
"50976yce.*",
"51371LastMedia.*",
"51966IsabellaVictoria.*",
"51CA791E.*",
"52446FusionChat.*",
"5259FreeSoftwareApps.*",
"52808CardDevelop.*",
"53058betterapp.*",
"53288ThiagoFortes.*",
"53354DuckheadSoftware.*",
"54034Myrcello.*",
"547363FEF1877.*",
"5514tejasbst.*",
"55164OliverLi.*",
"55218SkysparkSoftware.*",
"55562LudeStudio.*",
"55858HATAYANX.*",
"55993czmade.*",
"56360MoonlightTidalTechno.*",
"56438Zazzu.*",
"57443TechFireX.*",
"57808ToolFun.*",
"57868Codaapp.*",
"57935AX-Systems.com.*",
"58121SomeMediaApps.*",
"5874nestebe.*",
"5913DefineStudio.*",
"59169Willpowersystems.*",
"5970SecurityInternetDevel.*",
"59992Roob.*",
"5A894077.*",
"5E8FC25E.*",
"60191FreshJuice.*",
"60907HaThiDieuTrang.*",
"61083ApeApps.*",
"61338learntechnologyapp.*",
"61545TimGrabinat.*",
"61878MobilityinLifeapplic.*",
"62132PavloVS.*",
"6229MusicallyWorld.*",
"62307pauljohn.*",
"62327DamTechDesigns.*",
"63341FinalA..*",
"63780CryptiqWEB3.*",
"6382CoalaApps.*",
"64343GTDocStudio.*",
"64404Softuna.*",
"64932DatLeThanh.*",
"6655KAEROS.*",
"6655kaeros.*",
"6727MontyInc.*",
"6760NGPDFLab.*",
"6764XLGeekCoder.*",
"6846IndigoPDFLLC.*",
"6F71D7A7.*",
"723BlossXHawkDev.*",
"7549finetuneapps.*",
"76Chococode.*",
"8075Queenloft.*",
"8266FireFlyBrowser.*",
"89E2DF08.*",
"9432UNISAPPS.*",
"9601SemivioTechnologies.*",
"A8B8B8A8.*",
"AFF540DC.*",
"AmplifyVentures.*",
"AnywaySoftInc.*",
"ArtGroup.*",
"Avira.*",
"BNESIM.*",
"BOOSTUDIOLLC.*",
"BallardAppCraftery.*",
"Bandisoft.com.*",
"BitberrySoftware.*",
"BooStudioLLC.*",
"CyberheartPte.Ltd.*",
"D17A4821.*",
"DayglowsInc.*",
"Defenx.*",
"DeskShare.*",
"DeviceDoctor.*",
"DriveHeadquartersInc.*",
"EverydayToolsLLC.*",
"FASTPOTATOPTE.LTD.*",
"FIREWORKSTECHNOLOGYINC.*",
"FIYINGORONOCOLTD.*",
"Farlex.*",
"First-Query.*",
"FlyingbeeSoftwareCo.*",
"FreeVPNPlanet.*",
"Gamma.app.*",
"GenmokuCo.Ltd.*",
"GoodnotesLimited.*",
"IFreeNetInc.*",
"IOForth.*",
"IOStreamCo.*",
"InternetTVServices.*",
"JoydustryTOO.*",
"LLCSKYSPARKCORP.*",
"LifeAppTechnologyLimited.*",
"MAGIX.*",
"MobiSystems.*",
"NANOSecurity.*",
"NCHSoftware.*",
"NeroAG.*",
"NodeVPN.*",
"PDFTechnologiesInc.*",
"Poikosoft.*",
"PrimeFintechSolutionCYLtd.*",
"PrivadaTechLimited.*",
"ProtelionGmbH.*",
"QIHU360SOFTWARECO.LIMITED.*",
"ROCKETTECHNOLOGYINC.*",
"RapartyLTD.*",
"Roxy.*",
"SOFTPOSTLLC.*",
"SUNNETTECHNOLOGYINC.*",
"SecureDownloadLtd.*",
"SecurityGuarder.*",
"SharpenedProductions.*",
"Showell.*",
"Simpledio.*",
"SunrisePrivacyinc.*",
"SymantecCorporation.*",
"TIGERVPNSLTD.*",
"ToolStyle.*",
"ToolsAssistantLLC.*",
"TweakingTechnologiesPvt.*",
"UABMNTechnologijos.*",
"VPNZone.*",
"VirtualPulse.*",
"WILDFIRETECHNOLOGYINC.*",
"WellMadeVenturesGmbH.*",
"WinZipComputing.*",
"WuhanBamiTechnologyCo.*",
"WuhanNetPowerTechnologyCo.*",
"YellowElephantProductions.*",
"ZhuhaiKingsoftOfficeSoftw.*",
"excense.*",
"softXpansion.*"
]
}
}
12 changes: 12 additions & 0 deletions config/capabilities.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"capabilities": {
"enabled": true,
"values": [
"App.StepsRecorder~~~~*",
"Browser.InternetExplorer~~~~*",
"MathRecognizer~~~~*",
"Microsoft.Windows.WordPad~~~~*",
"Print.Fax.Scan~~~~*"
]
}
}
7 changes: 7 additions & 0 deletions config/diskissues.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"diskIssues": {
"repairWMI": true,
"repairWithSFC": true,
"repairWithDISM": true
}
}
15 changes: 15 additions & 0 deletions config/features.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"features": {
"enabled": true,
"values": [
"Internet-Explorer-Optional-amd64",
"MicrosoftWindowsPowerShellV2",
"MicrosoftWindowsPowerShellV2Root",
"SMB1Protocol",
"SMB1Protocol-Client",
"SMB1Protocol-Deprecation",
"SMB1Protocol-Server",
"TelnetClient"
]
}
}
Loading

0 comments on commit a6764d0

Please sign in to comment.