Add favicon

This commit is contained in:
WindowsAddict 2023-06-07 22:56:15 +05:30
parent 44844e11b2
commit 0f0eec0dbd
35 changed files with 90 additions and 0 deletions

View File

@ -9,3 +9,8 @@ rmarkdown::render_site()
rmarkdown::render_site() rmarkdown::render_site()
rmarkdown::render_site() rmarkdown::render_site()
rmarkdown::render_site() rmarkdown::render_site()
setwd("~/mas-docs")
rmarkdown::render_site()
rmarkdown::render_site()
rmarkdown::render_site()
rmarkdown::render_site()

View File

@ -1,4 +1,5 @@
name: "Microsoft Activation Scripts" name: "Microsoft Activation Scripts"
include: ["get.ps1"]
navbar: navbar:
title: "Microsoft Activation Scripts" title: "Microsoft Activation Scripts"
right: right:
@ -55,8 +56,11 @@ output:
html_document: html_document:
includes: includes:
after_body: footer.html after_body: footer.html
in_header: favicon.html
theme: readable theme: readable
highlight: tango highlight: tango
favicon: favicon.ico
css: styles.css
toc_depth: 3 toc_depth: 3
toc: true toc: true
toc_float: toc_float:

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

1
_site/favicon.html Normal file
View File

@ -0,0 +1 @@
<link rel="shortcut icon" href="favicon.ico">

BIN
_site/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

0
_site/styles.css Normal file
View File

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

View File

@ -33,6 +33,7 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" /> <link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script> <script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script> <script src="site_libs/navigation-1.1/tabsets.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css"> <style type="text/css">
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -49,6 +50,7 @@
<link rel="stylesheet" href="styles.css" type="text/css" />

1
favicon.html Normal file
View File

@ -0,0 +1 @@
<link rel="shortcut icon" href="favicon.ico">

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

27
get.ps1 Normal file
View File

@ -0,0 +1,27 @@
$ErrorActionPreference = "Stop"
# Enable TLSv1.2 for compatibility with older clients
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
$DownloadURL = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/master/MAS/All-In-One-Version/MAS_AIO.cmd'
$DownloadURL2 = 'https://gitlab.com/massgrave/microsoft-activation-scripts/-/raw/master/MAS/All-In-One-Version/MAS_AIO.cmd'
$rand = Get-Random -Maximum 1000
$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" }
try {
$response = Invoke-WebRequest -Uri $DownloadURL -UseBasicParsing
}
catch {
$response = Invoke-WebRequest -Uri $DownloadURL2 -UseBasicParsing
}
$ScriptArgs = "$args "
$prefix = "@REM $rand `r`n"
$content = $prefix + $response
Set-Content -Path $FilePath -Value $content
Start-Process $FilePath $ScriptArgs -Wait
$FilePaths = @("$env:TEMP\MAS*.cmd", "$env:SystemRoot\Temp\MAS*.cmd")
foreach ($FilePath in $FilePaths) { Get-Item $FilePath | Remove-Item }

0
styles.css Normal file
View File