snapshot before merge

This commit is contained in:
zqlit committed 2026-06-01 17:57:22 +08:00
1 parent 06a5f3da4d
commit 671871e0b2
145 files changed
+9786 -59

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
$startup = [Environment]::GetFolderPath("Startup")
$shortcutPath = Join-Path $startup "WriteBot.lnk"
$targetPath = "E:\GitHub\blog\bot\start-tray.vbs"
$wsh = New-Object -ComObject WScript.Shell
$shortcut = $wsh.CreateShortcut($shortcutPath)
$shortcut.TargetPath = "wscript.exe"
$shortcut.Arguments = "`"$targetPath`""
$shortcut.WorkingDirectory = "E:\GitHub\blog\bot"
$shortcut.WindowStyle = 7 # Minimized
$shortcut.Description = "WriteBot tray launcher"
$shortcut.IconLocation = "wscript.exe,0"
$shortcut.Save()
Write-Host "Startup folder: $startup"
Write-Host "Shortcut created: $shortcutPath"
Write-Host ""
Get-ChildItem -LiteralPath $shortcutPath | Format-List Name, FullName, LastWriteTime