Merge scripts into a single one, update neovim

This commit is contained in:
doylet 2024-10-23 21:44:31 +11:00
parent 954f91a4ef
commit 2aca88b278
7 changed files with 8 additions and 65 deletions

View File

@ -1,7 +0,0 @@
@echo off
setlocal
set path_to_add=%devenver_root%\CMake\3.24.3\bin
set path=%path_to_add%;%path%
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
call %*
endlocal

View File

@ -1,7 +0,0 @@
@echo off
setlocal
set path_to_add=%devenver_root%\CMake\3.26.4\bin
set path=%path_to_add%;%path%
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
call %*
endlocal

View File

@ -1,7 +0,0 @@
@echo off
setlocal
set path_to_add=%devenver_root%\CMake\3.29.1\bin
set path=%path_to_add%;%path%
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
call %*
endlocal

View File

@ -1,12 +0,0 @@
@echo off
setlocal
set desired_path=%devenver_root%\raddbg\trunk
set desired_exe=raddbg.exe
set path=%desired_path%;%path%
set exe_to_use=""
for /f "delims=" %%a in ('where "$desired_path:%desired_exe%"') do ( set "exe_to_use=%%a")
echo [DEVENVER] Executing script "%~dpnx0" with "%exe_to_use%"
start /B %desired_exe% --user:%desired_path%\..\doylet.raddbg_user %*
endlocal

View File

@ -1,11 +0,0 @@
@echo off
setlocal
set desired_path=%devenver_root%\RemedyBG\0_4_0_3
set desired_exe=remedybg.exe
set path=%desired_path%;%path%
set exe_to_use=""
for /f "delims=" %%a in ('where "$desired_path:%desired_exe%"') do ( set "exe_to_use=%%a")
echo [DEVENVER] Executing script "%~dpnx0" with "%exe_to_use%"
start /B %desired_exe% %*
endlocal

View File

@ -1,13 +0,0 @@
@echo off
:: Check if an argument is provided
if "%~1"=="" (
echo Usage: %0 FILE_PATH
exit /b
)
:: Calculate SHA256 hash using PowerShell and store it in a variable
for /f "delims=" %%a in ('powershell -Command "(Get-FileHash \"%~1\" -Algorithm SHA256).Hash"') do set HASH=%%a
:: Open browser with VirusTotal URL
start https://www.virustotal.com/gui/file/%HASH%

View File

@ -1206,7 +1206,7 @@ def get_manifest(is_windows):
# --------------------------------------------------------------------------
version = "0.9.5"
version = "0.10.1"
download_url = ""
download_checksum = ""
exe_path = ""
@ -1215,13 +1215,13 @@ def get_manifest(is_windows):
if is_windows:
download_url = f"https://github.com/neovim/neovim/releases/download/v{version}/nvim-win64.zip"
download_checksum = "de6dc1f0edb45f5f225ee24ce80a4fcbc3a337932037e98ae143975fca2556bf"
checksum = "d60036b942091c668dc2d7f2e3ecc7f76d534457c37adce102bd3c01c273c2ff"
download_checksum = "6b9be9acb4f5011f7ab6f7390286a579534e05f0dcf8f37d503c4d40b4adf548"
checksum = "ff6dbdf0a370ef990871417cc1ac794de4b2e2e2bb20ad61907ebfbeedfa04c9"
exe_path = "bin/nvim.exe"
else:
exe_path = "nvim.appimage"
download_url = f"https://github.com/neovim/neovim/releases/download/v{version}/nvim.appimage"
download_checksum = "0c82e5702af7a11fbb916a11b4a82e98928abf8266c74b2030ea740340437bf9"
download_checksum = "c4762d54cadfd9fa4497c7969197802c9cf9e0d926c39e561f0bd170e36c8aa0"
checksum = download_checksum
symlink = ["nvim", "vim"] # Usually use VM with no desktop-environment
@ -1248,7 +1248,7 @@ def get_manifest(is_windows):
# --------------------------------------------------------------------------
version = "0.12.1"
version = "0.13.3"
download_url = ""
download_checksum = ""
exe_path = ""
@ -1256,12 +1256,12 @@ def get_manifest(is_windows):
if is_windows:
download_url = f"https://github.com/neovide/neovide/releases/download/{version}/neovide.exe.zip"
download_checksum = "9d434a3094a25c27f38b8d846c4645cab8211b427db99a1268307d0a0c2a5154"
checksum = "a403efd394f60ce8c1250b0d741f75f47c04bc5d87bd1b6206af3a0ef709893d"
download_checksum = "896ba9abfcb4729776db3f3c76229e204202a8b340745a77b5f9b85a0f602a61"
checksum = "a65ae68773bd1fc875721527e693ebb57d697b37645e049c220a82f68fd006fd"
exe_path = "neovide.exe"
else:
download_url = f"https://github.com/neovide/neovide/releases/download/{version}/neovide.AppImage"
download_checksum = "49df6aafafb0ec5bd5fdfcaee2d1fc9036fe8237bf2bb68102aaf1a0b43d6096"
download_checksum = "6ea728f0df838f348c5300cf4c6a14c7b326dafdefad9ddf7adb5994f5ac759c"
checksum = download_checksum
exe_path = "neovide.AppImage"