diff --git a/.github/workflows/close-old-issues.yaml b/.github/workflows/close-old-issues.yaml index b3dbf8f0..a91b3363 100644 --- a/.github/workflows/close-old-issues.yaml +++ b/.github/workflows/close-old-issues.yaml @@ -30,6 +30,10 @@ jobs: # Sends a message for both the Stale and Close events of an issue. stale-issue-message: "This issue was marked as stale because it has been inactive for 7 days" close-issue-message: "This issue was closed because it has been inactive for 7 days since it was marked as stale" + # Increase this value if the project receives a lot of + # PRs (yes.. apparently they're processed no matter what) & Issues. + # Default value for it (according to the docs) is 30 + operations-per-run: 100 # Make this field equal true if you want to test your configuration if it works correctly or not debug-only: false repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 603739f5..0cc68253 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -22,7 +22,7 @@ jobs: $version = '' Get-Content ./winutil.ps1 -TotalCount 30 | ForEach-Object { if ($_ -match 'Version\s*:\s*(\d{2}\.\d{2}\.\d{2})') { - $version = $matches[1] + $version = "pre"+$matches[1] echo "version=$version" >> $GITHUB_ENV echo "::set-output name=version::$version" break diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6728470a..6d59bb73 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,5 +38,6 @@ jobs: name: Release ${{ steps.extract_version.outputs.version }} files: ./winutil.ps1 prerelease: false + make_latest: "true" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/KnownIssues.md b/KnownIssues.md index fc457446..4acc89d1 100644 --- a/KnownIssues.md +++ b/KnownIssues.md @@ -46,11 +46,19 @@ If you are still having issues try using a **VPN**, or changing your **DNS provi ``` Get-Service -Name "XboxGipSvc" | Set-Service -StartupType Automatic ``` -- Windows Insider Builds not installing: Telemetry needs to be enabled -``` -Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" -Name "AllowTelemetry" -Type DWord -Value 0 -Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "AllowTelemetry" -Type DWord -Value 0 - ``` + - Winget requires interaction on first run: Manually type 'y' and 'enter' into the PowerShell console to continue - (Windows 11) Quick Settings no longer works: Launch the Script and click 'Enable Action Center' + - Explorer no longer launches: Go to Control Panel, File Explorer Options, Change the 'Open File Explorer to' option to 'This PC'. + +- Script doesn't run/PowerShell crashes: + 1. Press Windows Key+X and select 'PowerShell (Admin)' (Windows 10) or 'Windows Terminal (Admin)' (Windows 11) + 2. Run: + ``` + Set-ExecutionPolicy Unrestricted -Scope Process -Force + ``` + 3. Run: + ``` + irm christitus.com/win | iex + ``` diff --git a/windev.ps1 b/windev.ps1 index 986bf52c..2efc3e77 100644 --- a/windev.ps1 +++ b/windev.ps1 @@ -16,7 +16,7 @@ function Get-LatestRelease { try { $releases = Invoke-RestMethod -Uri 'https://api.github.com/repos/ChrisTitusTech/winutil/releases' - $latestRelease = $releases | Select-Object -First 1 + $latestRelease = $releases | Where-Object {$_.prerelease -eq $true} | Select-Object -First 1 return $latestRelease.tag_name } catch { Write-Host "Error fetching release data: $_" -ForegroundColor Red diff --git a/winutil.ps1 b/winutil.ps1 index 36ac548b..5aaf9183 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -8,7 +8,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.06.28 + Version : 24.06.29 #> param ( [switch]$Debug, @@ -45,7 +45,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.06.28" +$sync.version = "24.06.29" $sync.configs = @{} $sync.ProcessRunning = $false