diff options
| author | WindowsAddict | 2023-09-25 13:45:25 +0000 |
|---|---|---|
| committer | WindowsAddict | 2023-09-25 13:45:25 +0000 |
| commit | 14b71bc223d79adba8262727867f34d45efeffb3 (patch) | |
| tree | 0e6f0fcd5df410e08d2c0aea7512251c39c73008 /_site/get.ps1 | |
| parent | d9dde9ba37ed99dba7e44afe428e53b23973831c (diff) | |
| download | massgrave.dev-14b71bc223d79adba8262727867f34d45efeffb3.zip | |
1.9
Diffstat (limited to '_site/get.ps1')
| -rw-r--r-- | _site/get.ps1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_site/get.ps1 b/_site/get.ps1 index ea3527c..727be49 100644 --- a/_site/get.ps1 +++ b/_site/get.ps1 @@ -2,10 +2,10 @@ $ErrorActionPreference = "Stop" # Enable TLSv1.2 for compatibility with older clients
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
-$DownloadURL = 'https://gitlab.com/massgrave/microsoft-activation-scripts/-/raw/master/MAS/All-In-One-Version/MAS_AIO.cmd'
-$DownloadURL2 = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/master/MAS/All-In-One-Version/MAS_AIO.cmd'
+$DownloadURL = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/master/MAS/All-In-One-Version/MAS_AIO.cmd'
+$DownloadURL2 = 'https://bitbucket.org/WindowsAddict/microsoft-activation-scripts/raw/dc9bf31743ebed91705cddc543e73e4632f2d843/MAS/All-In-One-Version/MAS_AIO.cmd'
-$rand = Get-Random -Maximum 1000
+$rand = Get-Random -Maximum 99999999
$isAdmin = [bool]([Security.Principal.WindowsIdentity]::GetCurrent().Groups -match 'S-1-5-32-544')
$FilePath = if ($isAdmin) { "$env:SystemRoot\Temp\MAS_$rand.cmd" } else { "$env:TEMP\MAS_$rand.cmd" }
|
