1
0
зеркало из https://github.com/dockur/windows.git synced 2026-06-10 11:59:33 +08:00

feat: Remove entry from hosts file (#1456)

Этот коммит содержится в:
Kroese
2025-10-06 13:45:14 +02:00
коммит произвёл GitHub
родитель 588242b175
Коммит c04851bbd4
41 изменённых файлов: 39 добавлений и 261 удалений
+1 -7
Просмотреть файл
@@ -327,16 +327,11 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>20</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>21</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>22</Order>
<Order>21</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>
@@ -344,4 +339,3 @@
</component>
</settings>
</unattend>