Files
WingetRepoServer/html/ana.html

27 lines
2.4 KiB
HTML

<html>
<head>
<link rel="stylesheet" href="mod.css" type="text/css">
<title>HUJI Sap Analysis</title>
<script src="script.js"></script>
</head>
<body dir="rtl">
<div class="header">
<h3>מנהל החבילות של האוניברסיטה העברית</h3>
<strong>הדרכה:</strong>
<h4>אפשרות א'</h4>
<p>יש לפתוח את חלון ההתחל או את שורת החיפוש ולהקליד <abbr title="יוצג גם כcommand prompt">CMD</abbr>. יש ללחוץ עליו בלחצן הימני, ולבחור "הפעל כמנהל". כשיפתח, יש להדביק את הטקסט הבא (לחיצה על הטקסט כדי להעתיק), </p>
<div id="source" class="copyme" onclick="copyValue('source')">winget source add -n huji -t "Microsoft.Rest"
https://winget.cc.huji.ac.il/api/ & rmdir /s /q "%appdata%\SAP AG" & winget install sap.analysis -s huji </div>
</div>
<h4 style="width: 100%;">אפשרות ב'</h4>
<a href="/installers/UpgradeAna.bat" class="acopyme" style="width: 100%;" download>להורדה קובץ ההרצה. יש ללחוץ על הלחצן הימני ולפתוח כמנהל. במידה וייפתח חלון כחול, יש ללחוץ על פרטים נוספים -> אפשר </a>
<p style="width: 100%;"><strong>הערה:</strong> בדפדפן מיקרוסופט אדג' יש ללחוץ על Keep על הקובץ.</p>
<br><br><br>
<p>במידה ובשגיאה נכתב כי הפקודה 'winget' אינה מוכרת למערכת, יש להדביק את הפקודה הבאה:</p>
<div class="copyme" onclick="copyValue('help')" id="help">powershell -executionPolicy bypass -command "$progressPreference = 'silentlyContinue'; Write-Information 'Downloading WinGet and its dependencies...'; Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle; Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx; Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx; Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx; Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx; Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle;"</div>
</div>
</body>
</html>