Skip to content

Commit 962ca7e

Browse files
committed
Simplified the powershell command
1 parent 08b688c commit 962ca7e

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

  • frontend/components/pages/installerpedia

frontend/components/pages/installerpedia/page.templ

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,17 @@ templ Page(data PageData) {
170170
aria-label="Windows PowerShell automated installation command"
171171
aria-labelledby="btn-win"
172172
>
173-
<div data-command-type="install" data-copy-safe="true">4 </div>
173+
<div data-command-type="install" data-copy-safe="true">
174+
<h3 class="text-xl font-semibold mb-4">Installation steps – PowerShell</h3>
175+
@components.CodeBlock(
176+
fmt.Sprintf("iwr https://hexmos.com/ipm-install-ps -UseBasicParsing | iex; \nipm i %s", data.Repo.Repo),
177+
-1,
178+
fmt.Sprintf("ipm i %s", data.Repo.Repo),
179+
)
180+
</div>
181+
</div>
182+
</div>
183+
</div>
174184

175185
<div class="bg-white dark:bg-gray-800 rounded-2xl p-6 shadow" data-command-type="install" data-copy-safe="true">
176186
<h3 class="text-xl font-semibold mb-4">Installation steps – npx</h3>
@@ -441,4 +451,4 @@ func joinCommands(instrs []ip_db.InstallInstruction) string {
441451
combined += instr.Command
442452
}
443453
return combined
444-
}
454+
}

0 commit comments

Comments
 (0)