File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
+ setlocal EnableDelayedExpansion
2
3
3
4
FLTMC > NUL 2 >& 1 || PowerShell Start-Process -FilePath '%0 ' -Verb RunAs > NUL 2 >& 1 && EXIT /b
4
5
FLTMC > NUL 2 >& 1 && GoTo OSC
@@ -63,12 +64,12 @@ if %choice%==2 (
63
64
echo 1. Mozilla Firefox ESR *Extended Support Release*
64
65
echo 2. Mozilla Firefox *Default*
65
66
echo =================================================
66
- set /p choice = " Enter your choice: "
67
- if %choice% == 1 (
67
+ set /p browser_choice = Enter your choice:
68
+ if !browser_choice! == 1 (
68
69
echo Installing, please wait...
69
70
winget install Mozilla.Firefox.ESR --silent --ignore-security-hash --accept-package-agreements --accept-source-agreements --force
70
71
goto finish
71
- ) else if %choice% == 2 (
72
+ ) else if !browser_choice! == 2 (
72
73
echo Installing, please wait...
73
74
winget install Mozilla.Firefox --silent --ignore-security-hash --accept-package-agreements --accept-source-agreements --force
74
75
goto finish
You can’t perform that action at this time.
0 commit comments