diff --git a/README.md b/README.md index 610af11044..260c7f2b5f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Chris Titus Tech's Windows Utility -This Utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient. +This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient. ![screen-install](screen-install.png) @@ -14,28 +14,30 @@ Launch Command: ``` iwr -useb https://christitus.com/win | iex ``` -Or shorter Thanks to [#144](/../../issues/144) +or by executing: ``` irm https://christitus.com/win | iex ``` +Courtesy of the issue raised at: [#144](/../../issues/144) + ### Issues: -- If you can't resolve christitus.com/win and getting errors launching India Region is BLOCKING raw github files and you need to VPN outside India. +- If you are unable to resolve christitus.com/win and are getting errors launching the tool, it might be due to India blocking GitHub's content domain and preventing downloads. You'll be required to use a VPN to tunnel out of India. Source: -- AntiVirus is also blocking the script. You can disable it temporarily to run the script. The script is flagged for malware because it runs under the administrator and makes system changes. +- Windows Security (formerly Defender) and other anti-virus software are known to block the script. The script gets flagged due to the fact that it requires administrator privileges & makes drastic system changes. -- If you are having TLS 1.2 Issues or You cannot find or resolve `christitus.com/win` then run with the following command: +- If you are having TLS 1.2 issues, or are having trouble resolving `christitus.com/win` then run with the following command: ``` [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12;iex(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/winutil.ps1') ``` -If you are still having issues try changing your DNS provider to 1.1.1.1 or 8.8.8.8 +If you are still having issues try changing your DNS provider to 1.1.1.1 || 1.0.0.1 or 8.8.8.8 || 8.8.4.4 ## Support -- This project needs a ⭐️ from you. Don't forget to leave a star ⭐️. +- To morally and mentally support the project, make sure to leave a ⭐️! - EXE Wrapper for $10 @ https://www.cttstore.com/windows-toolbox ## Tutorial @@ -88,7 +90,7 @@ If you encounter any challenges or problems with the script, I kindly request th ## Contribute Code -To contribute a new code, please ensure that it is submitted to the **TEST BRANCH**. Please note that merges will not be performed directly on the MAIN branch. +To contribute new code, please ensure that it is submitted to the **TEST BRANCH**. Please note that merges will not be performed directly on the MAIN branch. When creating pull requests, it is essential to thoroughly document all changes made. This includes documenting any additions made to the tweaks section and ensuring that corresponding undo measures are in place to remove the newly added tweaks if necessary. Failure to adhere to this format may result in denial of the pull request. Additionally, comprehensive documentation is required for all code changes. Any code lacking sufficient documentation may also be denied. @@ -101,4 +103,4 @@ Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep roc ## GitHub Stats -![Alt](https://repobeats.axiom.co/api/embed/aad37eec9114c507f109d34ff8d38a59adc9503f.svg "Repobeats analytics image") \ No newline at end of file +![Alt](https://repobeats.axiom.co/api/embed/aad37eec9114c507f109d34ff8d38a59adc9503f.svg "Repobeats analytics image") diff --git a/config/applications.json b/config/applications.json index 194fc1bfbe..3b7b8664c4 100755 --- a/config/applications.json +++ b/config/applications.json @@ -432,7 +432,7 @@ "choco": "putty" }, "WPFInstallpython3": { - "winget": "Python.Python.3.11", + "winget": "Python.Python.3.12", "choco": "python" }, "WPFInstallqbittorrent": { diff --git a/functions/public/Invoke-WPFShortcut.ps1 b/functions/public/Invoke-WPFShortcut.ps1 index 75c3155a6c..251ba7dd52 100644 --- a/functions/public/Invoke-WPFShortcut.ps1 +++ b/functions/public/Invoke-WPFShortcut.ps1 @@ -12,7 +12,7 @@ function Invoke-WPFShortcut { Switch ($ShortcutToAdd) { "WinUtil" { - $SourceExe = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" + $SourceExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe" $IRM = 'irm https://christitus.com/win | iex' $Powershell = '-ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList' $ArgumentsToSourceExe = "$powershell '$IRM'" diff --git a/gpedit-home.ps1 b/gpedit-home.ps1 index da841d335d..a49319630c 100644 --- a/gpedit-home.ps1 +++ b/gpedit-home.ps1 @@ -1,4 +1,4 @@ Get-ChildItem @( - "C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package*.mum", - "C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package*.mum" + "$env:SystemRoot\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package*.mum", + "$env:SystemRoot\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package*.mum" ) | ForEach-Object { dism.exe /online /norestart /add-package:"$_" } \ No newline at end of file diff --git a/winutil.ps1 b/winutil.ps1 index e1646ec03b..0c2bb3cfc8 100755 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -1721,7 +1721,7 @@ function Invoke-WPFShortcut { Switch ($ShortcutToAdd) { "WinUtil" { - $SourceExe = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" + $SourceExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe" $IRM = 'irm https://christitus.com/win | iex' $Powershell = '-ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList' $ArgumentsToSourceExe = "$powershell '$IRM'" @@ -3351,7 +3351,7 @@ $sync.configs.applications = '{ "choco": "putty" }, "WPFInstallpython3": { - "winget": "Python.Python.3.11", + "winget": "Python.Python.3.12", "choco": "python" }, "WPFInstallqbittorrent": {