From 1691ac32c0becded15aa0041dbb4642b20ebcddd Mon Sep 17 00:00:00 2001 From: chase Date: Mon, 24 Apr 2023 05:18:21 -0500 Subject: [PATCH] upd for gitea --- .github/dependabot.yml | 8 ------- .github/workflows/lock.yml | 22 ------------------- .../{release.yml => release.yml.disabled} | 0 .github/workflows/unlock.yml | 21 ------------------ ...date-7zip.yml => update-7zip.yml.disabled} | 0 README.md | 9 -------- Redist-Installer.bat | 4 ++-- one-liner.ps1 | 2 +- 8 files changed, 3 insertions(+), 63 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/lock.yml rename .github/workflows/{release.yml => release.yml.disabled} (100%) delete mode 100644 .github/workflows/unlock.yml rename .github/workflows/{update-7zip.yml => update-7zip.yml.disabled} (100%) diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 93353ed..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - open-pull-requests-limit: 10 diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml deleted file mode 100644 index 76b3afa..0000000 --- a/.github/workflows/lock.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: "🔒 Lock Resolved Issues/PRs" - -on: - pull_request: - types: - - closed - issues: - types: - - closed - -jobs: - lock: - runs-on: ubuntu-latest - - steps: - - uses: chxseh/action-lock-unlock@v1.0.1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - number: ${{ github.event.pull_request.number || github.event.issue.number }} - lock: true - lock-reason: resolved diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml.disabled similarity index 100% rename from .github/workflows/release.yml rename to .github/workflows/release.yml.disabled diff --git a/.github/workflows/unlock.yml b/.github/workflows/unlock.yml deleted file mode 100644 index 2623518..0000000 --- a/.github/workflows/unlock.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: "🔓 Unlock Reopened Issues/PRs" - -on: - pull_request: - types: - - reopened - issues: - types: - - reopened - -jobs: - unlock: - runs-on: ubuntu-latest - - steps: - - uses: chxseh/action-lock-unlock@v1.0.1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - number: ${{ github.event.pull_request.number || github.event.issue.number }} - lock: false diff --git a/.github/workflows/update-7zip.yml b/.github/workflows/update-7zip.yml.disabled similarity index 100% rename from .github/workflows/update-7zip.yml rename to .github/workflows/update-7zip.yml.disabled diff --git a/README.md b/README.md index f427c66..07b2203 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,10 @@

Redist Installer
Donate -GitHub Downloads -GitHub Actions Status -Stars - -Pull Requests -Forks -License

Installs common Redist programs for Windows. -[Want an offline installer? Download here.](https://chse.dev/offlineredists) - ```powershell irm chse.dev/ri | iex ``` diff --git a/Redist-Installer.bat b/Redist-Installer.bat index 2989981..6ca3046 100644 --- a/Redist-Installer.bat +++ b/Redist-Installer.bat @@ -23,9 +23,9 @@ if exist "7za.exe" ( :onlineInstall cd %temp%\Redist-Installer echo Downloading 1/2... -powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/chxseh/Redist-Installer/releases/download/latest/7za.exe', '7za.exe')" +powershell -Command "(New-Object Net.WebClient).DownloadFile('https://dl.chse.dev/downloadFile?id=zlc4SQ9jnLNuz8c', '7za.exe')" echo Downloading 2/2... -powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/chxseh/Redist-Installer/releases/download/latest/redists.zip', 'redists.zip')" +powershell -Command "(New-Object Net.WebClient).DownloadFile('https://dl.chse.dev/downloadFile?id=2y935FyZSVIPUZF', 'redists.zip')" :offlineInstall cd %temp%\Redist-Installer diff --git a/one-liner.ps1 b/one-liner.ps1 index 7f4e829..efa5ffb 100644 --- a/one-liner.ps1 +++ b/one-liner.ps1 @@ -1,4 +1,4 @@ -$url = "https://github.com/chxseh/redist-installer/releases/download/latest/Redist-Installer.bat" +$url = "https://dl.chse.dev/downloadFile?id=irdm2Pjjf4FrkG3" # Redist-Installer.bat $temp = [Environment]::GetEnvironmentVariable("TEMP") $file = "$temp\Redist-Installer.bat"