Testing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<h4>APPX</h4>
|
||||
<h4 style="background: #34495e; color: #ecf0f1; padding: 25px; margin: 0; font-size: 2em; text-align: center; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; border-radius: 5px;">APPX</h4>
|
||||
<br>
|
||||
<section id="appx" class="my-5">
|
||||
<h5>appx or appx.path</h5>
|
||||
|
||||
@@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>APPX Documentation</title>
|
||||
</head>
|
||||
<body style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; max-width: 900px; margin: 0 auto; padding: 20px; background-color: #f8f9fa;">
|
||||
|
||||
<header style="text-align: center; margin-bottom: 40px; padding: 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1);">
|
||||
<h1 style="margin: 0; font-size: 2.5em; font-weight: 300; letter-spacing: 2px;">APPX</h1>
|
||||
<p style="margin: 10px 0 0 0; opacity: 0.9; font-size: 1.1em;">Windows Package Management Functions</p>
|
||||
</header>
|
||||
|
||||
<div style="display: grid; gap: 30px;">
|
||||
|
||||
<!-- First Function: appx or appx.path -->
|
||||
<div style="background: white; border-radius: 12px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-left: 5px solid #4CAF50;">
|
||||
<div style="display: flex; align-items: center; margin-bottom: 20px;">
|
||||
<div style="background: #4CAF50; color: white; padding: 8px 16px; border-radius: 20px; font-weight: 600; margin-right: 15px;">FUNCTION</div>
|
||||
<h2 style="margin: 0; color: #2c3e50; font-size: 1.8em;">appx or appx.path</h2>
|
||||
</div>
|
||||
|
||||
<p style="color: #666; font-size: 1.1em; margin-bottom: 25px; background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 3px solid #4CAF50;">
|
||||
<strong>Purpose:</strong> Returns the path of Package.
|
||||
</p>
|
||||
|
||||
<div style="margin-bottom: 25px;">
|
||||
<h3 style="color: #34495e; margin-bottom: 10px; font-size: 1.2em; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px;">Syntax</h3>
|
||||
<div style="background: #2c3e50; color: #ecf0f1; padding: 15px; border-radius: 8px; font-family: 'Courier New', monospace; overflow-x: auto;">
|
||||
appx(packageName)<br>
|
||||
appx.path(packageName)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 25px;">
|
||||
<h3 style="color: #34495e; margin-bottom: 10px; font-size: 1.2em; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px;">Parameters</h3>
|
||||
<div style="background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 8px; padding: 15px;">
|
||||
<dl style="margin: 0;">
|
||||
<dt style="font-weight: 600; color: #d63031; margin-bottom: 5px;">packageName</dt>
|
||||
<dd style="margin: 0; color: #636e72;">can be passed in full name or part of name.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3 style="color: #34495e; margin-bottom: 10px; font-size: 1.2em; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px;">Example</h3>
|
||||
<div style="background: #f1f2f6; border: 1px solid #ddd; border-radius: 8px; overflow: hidden;">
|
||||
<div style="background: #34495e; color: white; padding: 10px; font-weight: 600; border-bottom: 1px solid #ddd;">Code</div>
|
||||
<pre style="margin: 0; padding: 20px; font-family: 'Courier New', monospace; overflow-x: auto;"><code>appx.path("WindowsTerminal")
|
||||
<span style="color: #27ae60;">// result:</span>
|
||||
<span style="color: #27ae60;">// C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.11.3471.0_x64__8wekyb3d8bbwe</span></code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Second Function: appx.name -->
|
||||
<div style="background: white; border-radius: 12px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-left: 5px solid #2196F3;">
|
||||
<div style="display: flex; align-items: center; margin-bottom: 20px;">
|
||||
<div style="background: #2196F3; color: white; padding: 8px 16px; border-radius: 20px; font-weight: 600; margin-right: 15px;">FUNCTION</div>
|
||||
<h2 style="margin: 0; color: #2c3e50; font-size: 1.8em;">appx.name</h2>
|
||||
</div>
|
||||
|
||||
<p style="color: #666; font-size: 1.1em; margin-bottom: 25px; background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 3px solid #2196F3;">
|
||||
<strong>Purpose:</strong> Returns the display name of the Package.
|
||||
</p>
|
||||
|
||||
<div style="margin-bottom: 25px;">
|
||||
<h3 style="color: #34495e; margin-bottom: 10px; font-size: 1.2em; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px;">Syntax</h3>
|
||||
<div style="background: #2c3e50; color: #ecf0f1; padding: 15px; border-radius: 8px; font-family: 'Courier New', monospace; overflow-x: auto;">
|
||||
appx.name(packageName)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 25px;">
|
||||
<h3 style="color: #34495e; margin-bottom: 10px; font-size: 1.2em; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px;">Parameters</h3>
|
||||
<div style="background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 8px; padding: 15px;">
|
||||
<dl style="margin: 0;">
|
||||
<dt style="font-weight: 600; color: #d63031; margin-bottom: 5px;">packageName</dt>
|
||||
<dd style="margin: 0; color: #636e72;">can be passed in full name or part of name.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3 style="color: #34495e; margin-bottom: 10px; font-size: 1.2em; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px;">Example</h3>
|
||||
<div style="background: #f1f2f6; border: 1px solid #ddd; border-radius: 8px; overflow: hidden;">
|
||||
<div style="background: #34495e; color: white; padding: 10px; font-weight: 600; border-bottom: 1px solid #ddd;">Code</div>
|
||||
<pre style="margin: 0; padding: 20px; font-family: 'Courier New', monospace; overflow-x: auto;"><code>appx.name("WindowsTerminal")
|
||||
<span style="color: #27ae60;">// result:</span>
|
||||
<span style="color: #27ae60;">// Windows Terminal</span></code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<footer style="text-align: center; margin-top: 40px; padding: 20px; color: #7f8c8d; border-top: 1px solid #ecf0f1;">
|
||||
<p style="margin: 0;">APPX Package Management Documentation</p>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user