mirror of
https://github.com/massgravel/massgrave.dev.git
synced 2024-11-23 15:00:54 +07:00
Add self-hosted Git repo
This commit is contained in:
parent
50d2da3431
commit
e28fbe01ee
@ -5,7 +5,7 @@ Please feel free to share feedback regarding bug reports, documentation errors,
|
||||
- [Discord](https://discord.gg/tVFN4N84PP) ❤️ (signup not required) - Discussion
|
||||
- [Reddit](https://www.reddit.com/r/MAS_Activator/)
|
||||
- [Twitter](https://twitter.com/massgravel)
|
||||
- [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts)
|
||||
- [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts) / [Self-hosted Git](https://git.activated.win/massgrave/Microsoft-Activation-Scripts)
|
||||
- Email: mas.help@outlook.com
|
||||
- [Nsaneforums](https://nsaneforums.com/topic/316668--)
|
||||
|
||||
|
@ -45,7 +45,7 @@ irm https://massgrave.dev/get | iex
|
||||
</TabItem>
|
||||
<TabItem value="Method 2" label="Method 2 - Traditional (Windows 7 and later)" default>
|
||||
|
||||
1. Download the file under the code button from [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) or [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts)
|
||||
1. Download the file under the code button from [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) or [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts) or [Self-hosted Git](https://git.activated.win/massgrave/Microsoft-Activation-Scripts)
|
||||
2. Right-click on the downloaded zip file and extract
|
||||
3. In the extracted folder, find the folder named `All-In-One-Version`
|
||||
4. Run the file named `MAS_AIO.cmd`
|
||||
@ -70,7 +70,7 @@ irm https://massgrave.dev/get | iex
|
||||
## MAS Latest Release
|
||||
|
||||
Last Release - v2.7 (6-Sep-2024)
|
||||
[GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts)
|
||||
[GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts) / [Azure DevOps](https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts) / [Self-hosted Git](https://git.activated.win/massgrave/Microsoft-Activation-Scripts)
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
|
@ -12,15 +12,21 @@ write-host
|
||||
|
||||
$DownloadURL1 = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
||||
$DownloadURL2 = 'https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&versionType=Commit&version=52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239'
|
||||
$DownloadURL3 = 'https://git.activated.win/massgrave/Microsoft-Activation-Scripts/raw/commit/52d4c52dba8e29a3c1fb295c8946dbe6cf2f0239/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
|
||||
|
||||
$URLs = @($DownloadURL1, $DownloadURL2)
|
||||
$URLs = @($DownloadURL1, $DownloadURL2, $DownloadURL3)
|
||||
$ShuffledURLs = $URLs | Sort-Object { Get-Random }
|
||||
|
||||
try {
|
||||
$response = Invoke-WebRequest -Uri $ShuffledURLs[0] -UseBasicParsing
|
||||
}
|
||||
catch {
|
||||
$response = Invoke-WebRequest -Uri $ShuffledURLs[1] -UseBasicParsing
|
||||
try {
|
||||
$response = Invoke-WebRequest -Uri $ShuffledURLs[1] -UseBasicParsing
|
||||
}
|
||||
catch {
|
||||
$response = Invoke-WebRequest -Uri $ShuffledURLs[2] -UseBasicParsing
|
||||
}
|
||||
}
|
||||
|
||||
# Verify script integrity
|
||||
|
Loading…
Reference in New Issue
Block a user