Compare commits

..
2 Commits
Author SHA1 Message Date
Flowseal a0b5bc63e9 next ver 2024-11-12 23:07:23 +03:00
Flowseal 9d3cdd4aa0 Исправно экранирование 2024-11-12 23:05:02 +03:00
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
setlocal EnableDelayedExpansion
chcp 437 > nul
set "CURRENT_VERSION=1.6.0"
set "CURRENT_VERSION=1.6.1"
set "GITHUB_URL=https://raw.githubusercontent.com/Flowseal/zapret-discord-youtube/refs/heads/main/.service/version.txt"
set "RELEASE_URL=https://github.com/Flowseal/zapret-discord-youtube/releases"
set "VERSION_FILE=version.txt"
+1 -1
View File
@@ -6,7 +6,7 @@ set "arg=%1"
if "%arg%" == "admin" (
echo Restarted with admin rights
) else (
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"%~f0 admin\"' -Verb RunAs"
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
exit /b
)
+1 -1
View File
@@ -7,7 +7,7 @@ set "arg=%1"
if "%arg%" == "admin" (
echo Restarted with admin rights
) else (
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"%~f0 admin\"' -Verb RunAs"
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
exit /b
)
+1 -1
View File
@@ -6,7 +6,7 @@ set "arg=%1"
if "%arg%" == "admin" (
echo Restarted with admin rights
) else (
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"%~f0 admin\"' -Verb RunAs"
powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/k \"\"%~f0\" admin\"' -Verb RunAs"
exit /b
)