1
0
鏡像自 https://github.com/dockur/windows.git 已同步 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 -6
查看文件
@@ -456,16 +456,11 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>24</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>25</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>26</Order>
<Order>25</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>