diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-20 22:31:41 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-20 22:32:14 +0800 |
| commit | ce77780ebcf548b0d823af7ae240364a56fa321a (patch) | |
| tree | 4f71b68f944b143c0e0af1010bf189719d6e834c /scripts/make_lnk.ps1 | |
| parent | ab6be7968b25afb57fc428695693484ad8576718 (diff) | |
Remove legacy jv and jvv binaries and related filesjvn_0.1.1
Diffstat (limited to 'scripts/make_lnk.ps1')
| -rw-r--r-- | scripts/make_lnk.ps1 | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/scripts/make_lnk.ps1 b/scripts/make_lnk.ps1 deleted file mode 100644 index 2939cf3..0000000 --- a/scripts/make_lnk.ps1 +++ /dev/null @@ -1,27 +0,0 @@ -$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path -$originalLocation = Get-Location -Set-Location $scriptDir - -$deployPs1 = Join-Path $scriptDir "dev\deploy.ps1" -$devDeployPs1 = Join-Path $scriptDir "dev\dev_deploy.ps1" -$parentDir = Split-Path $scriptDir -Parent - -if (Test-Path $deployPs1) { - $linkPath = Join-Path $parentDir "deploy.lnk" - if (Test-Path $linkPath) { Remove-Item $linkPath -Force } - $WshShell = New-Object -ComObject WScript.Shell - $shortcut = $WshShell.CreateShortcut($linkPath) - $shortcut.TargetPath = $deployPs1 - $shortcut.Save() -} - -if (Test-Path $devDeployPs1) { - $linkPath = Join-Path $parentDir "dev.lnk" - if (Test-Path $linkPath) { Remove-Item $linkPath -Force } - $WshShell = New-Object -ComObject WScript.Shell - $shortcut = $WshShell.CreateShortcut($linkPath) - $shortcut.TargetPath = $devDeployPs1 - $shortcut.Save() -} - -Set-Location $originalLocation |
