mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-14 00:14:31 +08:00
14 lines
437 B
PowerShell
14 lines
437 B
PowerShell
$WshShell = New-Object -ComObject WScript.Shell
|
|
$DesktopPath = [Environment]::GetFolderPath('Desktop')
|
|
$ShortcutPath = Join-Path $DesktopPath "ComfyUI.lnk"
|
|
$Shortcut = $WshShell.CreateShortcut($ShortcutPath)
|
|
$Shortcut.TargetPath = "C:\Repos\ComfyUI\run_comfyui.bat"
|
|
$Shortcut.WorkingDirectory = "C:\Repos\ComfyUI"
|
|
$Shortcut.Description = "Run ComfyUI from repository"
|
|
$Shortcut.Save()
|
|
Write-Host "Shortcut created at: $ShortcutPath"
|
|
|
|
|
|
|
|
|