Add README

This commit is contained in:
Calyx Hikari 2025-11-16 00:43:27 +08:00
parent 71f65c4e52
commit cf1cde84ea
3 changed files with 54 additions and 7 deletions

View file

@ -34,13 +34,19 @@ jobs:
id: date
run: echo "date=$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT
- name: Compute SHA256 checksum
id: checksum
- name: Compute SHA256 checksums
id: checksums
run: |
FILE=$(ls MSVC_Offline_Setup_*.exe)
SUM=$(sha256sum "$FILE" | awk '{print $1}')
echo "file=$FILE" >> $GITHUB_OUTPUT
echo "sha256=$SUM" >> $GITHUB_OUTPUT
echo "body<<EOF" >> $GITHUB_OUTPUT
echo "Installer build for ${{ steps.date.outputs.date }}" >> $GITHUB_OUTPUT
echo "" >> $GITHUB_OUTPUT
for f in MSVC_Offline_Setup_*.exe; do
sum=$(sha256sum "$f" | awk '{print $1}')
echo "File: $f" >> $GITHUB_OUTPUT
echo "SHA256: $sum" >> $GITHUB_OUTPUT
echo "" >> $GITHUB_OUTPUT
done
echo "EOF" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@v2

View file

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2025 Calyx Hikari
Copyright (c) 2025 Hikari Calyx Tech
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

41
README.md Normal file
View file

@ -0,0 +1,41 @@
# get.msvc.win Scripts
This repository served as host of MSVC.win Project.
## Mirroring
We encourage you to mirror this website, you'll need to follow this requirement:
- Replace `get.msvc.win` inside of all scripts into your own domain, and your own domain must use msvc as prefix, like `msvc.example.com`
- However, you should not replace the script inside of `$OEM$.zip`
## Build
This repository also provide automatically generated offline installers.
If you prefer build yourself, you can follow these procedures:
### Windows (TBD)
### Linux
We assume you're using Debian-based Linux distro (e.g. Ubuntu).
1. Install required dependencies.
```bash
sudo apt-get install aria2 nsis curl
```
2. Build installer.
```bash
# Build installer for Windows XP or newer
curl https://get.msvc.win/generate.sh | bash
# Build installer for Windows 7 or newer
curl https://get.msvc.win/generate.sh | bash -s - win7
# Build installer for Windows 10 or newer
curl https://get.msvc.win/generate.sh | bash -s - win10
# Build all 3 installers at once
curl https://get.msvc.win/generate_all.sh | bash
```
### Contribute
Do you think it needs any improvements? Feel free to create Pull Request.