summaryrefslogtreecommitdiff
path: root/setup/windows/inst.ps1
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-24 04:41:19 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-24 04:41:19 +0800
commit2b41209f2b76d4067867be466bdcfed478ff3f39 (patch)
tree7f232e5f468ceb4b40f0c1506a167c4de6236657 /setup/windows/inst.ps1
parent4c77a05993d40c42ebe78c1d3a72f8049f360982 (diff)
Move setup scripts to scripts/setup directory
Diffstat (limited to 'setup/windows/inst.ps1')
-rw-r--r--setup/windows/inst.ps119
1 files changed, 0 insertions, 19 deletions
diff --git a/setup/windows/inst.ps1 b/setup/windows/inst.ps1
deleted file mode 100644
index 4cb4772..0000000
--- a/setup/windows/inst.ps1
+++ /dev/null
@@ -1,19 +0,0 @@
-# Execute uninstall script, attempt to remove leftover PROFILE entries
-. ".\uninst.ps1"
-
-# Calculate directories
-$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
-$parentDir = Split-Path -Parent $scriptDir
-
-# Write configuration to PROFILE
-Add-Content -Path $PROFILE -Value "# JustEnoughVCS - Begin #"
-Add-Content -Path $PROFILE -Value ". `"$parentDir\jv_cli.ps1`""
-Add-Content -Path $PROFILE -Value "# JustEnoughVCS - End #"
-
-# Check dependencies, if OpenSSL is not found, show a prompt
-try {
- $null = Get-Command openssl -ErrorAction Stop
-} catch {
- $wshell = New-Object -ComObject Wscript.Shell
- $wshell.Popup("OpenSSL was not found on your computer. JustEnoughVCS key generation depends on OpenSSL.", 0, "JustEnoughVCS Installation", 0x0 + 0x30)
-}