chore: update the file

This commit is contained in:
x-tools-author 2025-04-26 09:54:17 +08:00
parent 91d42d50b6
commit 694481c506

View File

@ -11,9 +11,9 @@ ENV POWERSHELL_URL=https://github.com/PowerShell/PowerShell/releases/download/v$
ENV POWERSHELL_DIR=C:/PowerShell
# Download and install PowerShell
RUN curl.exe -L -o C:\\powershell.zip %POWERSHELL_URL% && \
tar.exe -xf C:\\powershell.zip -C C:\\ && \
del C:\\powershell.zip
RUN curl.exe -L -o powershell.zip %POWERSHELL_URL% && \
tar.exe -xf powershell.zip -C C:\\ && \
del powershell.zip
ENV PATH="%POWERSHELL_DIR%;%PATH%"
#---------------------------------------------------------------------------------------------------