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

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.