snapshot before merge
This commit is contained in:
1 parent
06a5f3da4d
commit
671871e0b2
145 files changed
+9786
-59
No files matched your search
@@ -0,0 +1,16 @@
|
||||
$startup = [Environment]::GetFolderPath("Startup")
|
||||
$shortcutPath = Join-Path $startup "WriteBot.lnk"
|
||||
$icoPath = "E:\GitHub\blog\bot\writebot.ico"
|
||||
|
||||
$wsh = New-Object -ComObject WScript.Shell
|
||||
$shortcut = $wsh.CreateShortcut($shortcutPath)
|
||||
$shortcut.TargetPath = "C:\nvm4w\nodejs\node.exe"
|
||||
$shortcut.Arguments = "index.js"
|
||||
$shortcut.WorkingDirectory = "E:\GitHub\blog\bot"
|
||||
$shortcut.WindowStyle = 7
|
||||
$shortcut.Description = "WriteBot"
|
||||
$shortcut.IconLocation = "$icoPath,0"
|
||||
$shortcut.Save()
|
||||
|
||||
Write-Host "Startup shortcut updated: $shortcutPath"
|
||||
Write-Host "Target: node.exe index.js (cwd: E:\GitHub\blog\bot)"
|
||||
Reference in new issue
Block a user