Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewShellRC = `
# vm_envs start
if [ -z $VM_DISABLE ]; then
. ~/.vmr/vmr.sh
fi
# vm_envs end`
View Source
var NewShellRCFish = `# vm_envs start
if not test $VM_DISABLE
. ~/.vmr/vmr.fish
end
# vm_envs end`
View Source
var OldShellRC string = `# vm_envs start
if [ -z $VM_DISABLE ]; then
. ~/.vm/vmr.sh
fi
# vm_envs end`
View Source
var UnixRemoveScript string = `#!/bin/sh
vmr Uins
rm -rf %s`
View Source
var UnixScript string = `` /* 169-byte string literal not displayed */
View Source
var WinRemoveScript string = `vmr Uins
rmdir /s /q %s`
View Source
var WinScript string = `` /* 144-byte string literal not displayed */
var WinScript string = `powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('https://gvc.1710717.xyz/proxy/https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.ps1')"`
Functions ¶
func RemoveCurrentVersion ¶
func RemoveCurrentVersion()
Preparation for removing the current version of VMR.
func SetUninstallScript ¶
func SetUninstallScript()
func SetUpdateScript ¶
func SetUpdateScript()
Types ¶
Click to show internal directories.
Click to hide internal directories.