mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-06-04 14:17:27 +00:00
Compare commits
7 Commits
a3f57532b6
...
26.05.12
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d6defc206 | |||
| fa073f8475 | |||
| 63aecc0bee | |||
| a0887783f8 | |||
| f3880b66bb | |||
| aa636926fa | |||
| ec3166bdc6 |
@@ -8,7 +8,16 @@ body:
|
|||||||
value: |
|
value: |
|
||||||
- Remember, we only support Windows 11. If you encounter problems on Windows 10, please consider upgrading to Windows 11.
|
- Remember, we only support Windows 11. If you encounter problems on Windows 10, please consider upgrading to Windows 11.
|
||||||
- For general questions, join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
- For general questions, join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
id: read_issues
|
||||||
|
attributes:
|
||||||
|
label: "I have read the known issues"
|
||||||
|
description: "You [better do](https://winutil.christitus.com/knownissues/), cause your issue can be already there"
|
||||||
|
options:
|
||||||
|
- label: Yes, I did
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: affected_part
|
id: affected_part
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ jobs:
|
|||||||
id: check_user
|
id: check_user
|
||||||
if: env.command == 'true'
|
if: env.command == 'true'
|
||||||
run: |
|
run: |
|
||||||
ALLOWED_USERS=("ChrisTitusTech" "og-mrk" "Marterich" "MyDrift-user" "Real-MullaC" "CodingWonders" "GabiNun")
|
ALLOWED_USERS=("ChrisTitusTech" "og-mrk" "Marterich" "MyDrift-user" "Real-MullaC" "CodingWonders" "GabiNun2" "FluffyPunk")
|
||||||
if [[ " ${ALLOWED_USERS[@]} " =~ " ${{ github.event.comment.user.login }} " ]]; then
|
if [[ " ${ALLOWED_USERS[@]} " =~ " ${{ github.event.comment.user.login }} " ]]; then
|
||||||
echo "user=true" >> $GITHUB_ENV
|
echo "user=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Close issue
|
- name: Close issue
|
||||||
if: env.close_command == 'true'
|
if: env.user == 'true' && env.close_command == 'true'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Reopen issue
|
- name: Reopen issue
|
||||||
if: env.reopen_command == 'true'
|
if: env.user == 'true' && env.reopen_command == 'true'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
gh issue reopen $ISSUE_NUMBER --repo ${{ github.repository }}
|
gh issue reopen $ISSUE_NUMBER --repo ${{ github.repository }}
|
||||||
|
|
||||||
- name: Label issue
|
- name: Label issue
|
||||||
if: env.label_command == 'true'
|
if: env.user == 'true' && env.label_command == 'true'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||||
@@ -106,7 +106,7 @@ jobs:
|
|||||||
gh issue edit $ISSUE_NUMBER --repo ${{ github.repository }} --add-label "${{ env.label_name }}"
|
gh issue edit $ISSUE_NUMBER --repo ${{ github.repository }} --add-label "${{ env.label_name }}"
|
||||||
|
|
||||||
- name: Remove labels
|
- name: Remove labels
|
||||||
if: env.unlabel_command == 'true'
|
if: env.user == 'true' && env.unlabel_command == 'true'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||||
|
|||||||
+24
-2103
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,7 @@
|
|||||||
"WPFTweaksDisableExplorerAutoDiscovery",
|
"WPFTweaksDisableExplorerAutoDiscovery",
|
||||||
"WPFTweaksWPBT",
|
"WPFTweaksWPBT",
|
||||||
"WPFTweaksDVR",
|
"WPFTweaksDVR",
|
||||||
|
"WPFTweaksDeBloat",
|
||||||
"WPFTweaksLocation",
|
"WPFTweaksLocation",
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksTelemetry",
|
"WPFTweaksTelemetry",
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
],
|
],
|
||||||
"Minimal": [
|
"Minimal": [
|
||||||
"WPFTweaksConsumerFeatures",
|
"WPFTweaksConsumerFeatures",
|
||||||
|
"WPFTweaksDeBloat",
|
||||||
"WPFTweaksWPBT",
|
"WPFTweaksWPBT",
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksTelemetry"
|
"WPFTweaksTelemetry"
|
||||||
|
|||||||
+2
-2
@@ -851,7 +851,7 @@
|
|||||||
"WPFTweaksDeBloat": {
|
"WPFTweaksDeBloat": {
|
||||||
"Content": "Unwanted Pre-Installed Apps - Remove",
|
"Content": "Unwanted Pre-Installed Apps - Remove",
|
||||||
"Description": "This will remove a bunch of Windows pre-installed applications which most people dont want on there system.",
|
"Description": "This will remove a bunch of Windows pre-installed applications which most people dont want on there system.",
|
||||||
"category": "z__Advanced Tweaks - CAUTION",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"appx": [
|
"appx": [
|
||||||
"Microsoft.WindowsFeedbackHub",
|
"Microsoft.WindowsFeedbackHub",
|
||||||
@@ -887,7 +887,7 @@
|
|||||||
}
|
}
|
||||||
"
|
"
|
||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/debloat"
|
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/debloat"
|
||||||
},
|
},
|
||||||
"WPFTweaksRestorePoint": {
|
"WPFTweaksRestorePoint": {
|
||||||
"Content": "Restore Point - Create",
|
"Content": "Restore Point - Create",
|
||||||
|
|||||||
+11
-4
@@ -5,11 +5,18 @@ description: ""
|
|||||||
|
|
||||||
```powershell {filename="functions/private/Invoke-WinUtilInstallPSProfile.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/private/Invoke-WinUtilInstallPSProfile.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WinUtilInstallPSProfile {
|
function Invoke-WinUtilInstallPSProfile {
|
||||||
|
if (-not (Get-Command wt)) {
|
||||||
if (Test-Path $Profile) {
|
Write-Host "Windows Terminal not found installing..."
|
||||||
Rename-Item $Profile -NewName ($Profile + '.bak')
|
Install-WinUtilWinget
|
||||||
|
winget install Microsoft.WindowsTerminal --source winget --silent
|
||||||
}
|
}
|
||||||
|
|
||||||
Start-Process pwsh -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
|
if (-not (Get-Command pwsh)) {
|
||||||
|
Write-Host "Powershell 7 not found installing..."
|
||||||
|
Install-WinUtilWinget
|
||||||
|
winget install Microsoft.PowerShell --source winget --silent
|
||||||
|
}
|
||||||
|
|
||||||
|
wt new-tab pwsh -NoExit -Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
+5
-6
@@ -5,12 +5,11 @@ description: ""
|
|||||||
|
|
||||||
```powershell {filename="functions/private/Invoke-WinUtilUninstallPSProfile.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/private/Invoke-WinUtilUninstallPSProfile.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WinUtilUninstallPSProfile {
|
function Invoke-WinUtilUninstallPSProfile {
|
||||||
if (Test-Path ($Profile + '.bak')) {
|
|
||||||
Remove-Item $Profile
|
if (Test-Path ($Profile + ".bak")) {
|
||||||
Rename-Item ($Profile + '.bak') -NewName $Profile
|
Move-Item -Path ($Profile + ".bak") -Destination $Profile
|
||||||
}
|
} else {
|
||||||
else {
|
Remove-Item -Path $Profile
|
||||||
Remove-Item $Profile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Successfully uninstalled CTT PowerShell Profile." -ForegroundColor Green
|
Write-Host "Successfully uninstalled CTT PowerShell Profile." -ForegroundColor Green
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ description: ""
|
|||||||
"WPFTweaksDeBloat": {
|
"WPFTweaksDeBloat": {
|
||||||
"Content": "Unwanted Pre-Installed Apps - Remove",
|
"Content": "Unwanted Pre-Installed Apps - Remove",
|
||||||
"Description": "This will remove a bunch of Windows pre-installed applications which most people dont want on there system.",
|
"Description": "This will remove a bunch of Windows pre-installed applications which most people dont want on there system.",
|
||||||
"category": "z__Advanced Tweaks - CAUTION",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"appx": [
|
"appx": [
|
||||||
"Microsoft.WindowsFeedbackHub",
|
"Microsoft.WindowsFeedbackHub",
|
||||||
@@ -1,8 +1,15 @@
|
|||||||
function Invoke-WinUtilInstallPSProfile {
|
function Invoke-WinUtilInstallPSProfile {
|
||||||
|
if (-not (Get-Command wt)) {
|
||||||
if (Test-Path $Profile) {
|
Write-Host "Windows Terminal not found installing..."
|
||||||
Rename-Item $Profile -NewName ($Profile + '.bak')
|
Install-WinUtilWinget
|
||||||
|
winget install Microsoft.WindowsTerminal --source winget --silent
|
||||||
}
|
}
|
||||||
|
|
||||||
Start-Process pwsh -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
|
if (-not (Get-Command pwsh)) {
|
||||||
|
Write-Host "Powershell 7 not found installing..."
|
||||||
|
Install-WinUtilWinget
|
||||||
|
winget install Microsoft.PowerShell --source winget --silent
|
||||||
|
}
|
||||||
|
|
||||||
|
wt new-tab pwsh -NoExit -Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
function Invoke-WinUtilUninstallPSProfile {
|
function Invoke-WinUtilUninstallPSProfile {
|
||||||
if (Test-Path ($Profile + '.bak')) {
|
|
||||||
Remove-Item $Profile
|
if (Test-Path ($Profile + ".bak")) {
|
||||||
Rename-Item ($Profile + '.bak') -NewName $Profile
|
Move-Item -Path ($Profile + ".bak") -Destination $Profile
|
||||||
}
|
} else {
|
||||||
else {
|
Remove-Item -Path $Profile
|
||||||
Remove-Item $Profile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Successfully uninstalled CTT PowerShell Profile." -ForegroundColor Green
|
Write-Host "Successfully uninstalled CTT PowerShell Profile." -ForegroundColor Green
|
||||||
|
|||||||
Reference in New Issue
Block a user