Compare commits

...

2 Commits
main ... latest

Author SHA1 Message Date
Rim
7424e41761 Remove download since redists are local 2023-12-14 22:19:14 -05:00
Chase
e6bcc2efcc Update 'Redist-Installer.bat' 2023-11-10 05:36:34 +00:00
8 changed files with 4 additions and 125 deletions

10
.github/release.sh vendored
View File

@ -1,10 +0,0 @@
#!/bin/bash
sudo apt update >> /dev/null && sudo apt install zip -y >> /dev/null # Ensure zip is up to date.
cd redists/
zip -r redists.zip *
mv redists.zip ../
cd ..
rm -rf redists/
zip -r offlineInstall.zip 7za.exe redists.zip Redist-Installer.bat

View File

@ -1,24 +0,0 @@
name: Release
on:
push:
branches: [master, main]
jobs:
create_release:
name: Create GitHub Release
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- run: "bash ${GITHUB_WORKSPACE}/.github/release.sh"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Release"
files: |
Redist-Installer.bat
7za.exe
redists.zip
offlineInstall.zip

View File

@ -1,26 +0,0 @@
---
name: "📝 Update 7-Zip"
on:
schedule:
- cron: "0 2 16 * *"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
jobs:
update7zip:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- run: echo "::set-env name=LATEST_7ZIP::$(curl -s https://raw.githubusercontent.com/chxseh/update-7zip-inside-repos/main/latest/latest.txt | head -n 1)"
- run: curl https://raw.githubusercontent.com/chxseh/update-7zip-inside-repos/main/update-repos/update.sh | bash
- uses: peter-evans/create-pull-request@v5
with:
commit-message: 📝 Update 7-Zip
title: Update 7-Zip to ${{ env.LATEST_7ZIP }}
body: Update 7-Zip to ${{ env.LATEST_7ZIP }}
branch: update-7zip-${{ env.LATEST_7ZIP }}
author: "github-actions <41898282+github-actions[bot]@users.noreply.github.com>"
delete-branch: true

BIN
7za.exe

Binary file not shown.

View File

@ -1,24 +0,0 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>

View File

@ -1,6 +1,6 @@
@echo off
:: Permalink: https://chse.dev/redists
:: Source Code: https://git.chse.dev/chase/redist-installer
:: Run as Admin
set "params=%*"
@ -8,31 +8,9 @@ cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) &&
title Redist Installer
md %temp%\Redist-Installer >nul 2>&1
:: Install Redists directly from the redists folder
cd redists
:: If we have all the offline installer files, copy and skip the downloading.
if exist "7za.exe" (
if exist "redists.zip" (
copy /Y 7za.exe %temp%\Redist-Installer >nul
copy /Y redists.zip %temp%\Redist-Installer >nul
goto offlineInstall
)
)
:: If we do not have the offline installer files, download them.
:onlineInstall
cd %temp%\Redist-Installer
echo Downloading 1/2...
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://dl.chse.dev/downloadFile?id=2y935FyZSVIPUZF', 'redists.zip')"
:offlineInstall
cd %temp%\Redist-Installer
:: Extract Redists
start /wait /min 7za.exe e redists.zip -y
:: Install Redists
echo Installing 1/16...
vcredist2015_2017_2019_x86.exe /install /quiet /norestart
echo Installing 2/16...
@ -64,10 +42,6 @@ start /wait DirectXA.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
echo Installing 15/16...
start /wait dotNET.exe /Q
echo Installing 16/16...
:: Killfeed for Halo Custom Edition
start /wait msxmlenu.msi /qn /L* "%temp%\XML Parser 4.0.log" /norestart ALLUSERS=2 >nul 2>&1
:: Cleanup
cd %temp%
rmdir %temp%\Redist-Installer /s /q
exit
exit

View File

@ -1,8 +0,0 @@
# View Source Code: https://git.chse.dev/chase/redist-installer
$url = "https://dl.chse.dev/downloadFile?id=irdm2Pjjf4FrkG3" # Redist-Installer.bat
$temp = [Environment]::GetEnvironmentVariable("TEMP")
$file = "$temp\Redist-Installer.bat"
(New-Object System.Net.WebClient).DownloadFile($url, $file)
Start-Process -Wait $file
Remove-Item $file

View File

@ -1,3 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}