1
0
réplica de https://github.com/dockur/windows.git sincronizado 2026-06-10 11:59:33 +08:00

feat: Remove entry from hosts file (#1456)

Este cometimento está contido em:
Kroese
2025-10-06 13:45:14 +02:00
cometido por GitHub
ascendente 588242b175
cometimento c04851bbd4
41 ficheiros modificados com 39 adições e 261 eliminações
+1 -6
Ver ficheiro
@@ -298,16 +298,11 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>16</Order>
<CommandLine>cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts</CommandLine>
<Description>Add entry in hosts file</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>17</Order>
<CommandLine>cmd /C mklink /d %userprofile%\Desktop\Shared \\host.lan\Data</CommandLine>
<Description>Create desktop shortcut to shared folder</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>18</Order>
<Order>17</Order>
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
<Description>Execute custom script from the OEM folder if exists</Description>
</SynchronousCommand>