Skip to content

Instantly share code, notes, and snippets.

@Lua12138
Lua12138 / Install-Hyper-V.bat
Created October 4, 2020 05:05
Install Hyper-V with Windows Home Edition (run with Administrator) / Windows 家庭版安装hyper-v(使用管理员身份运行)
@echo off
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL
project art/
diff --git a/runtime/base/file_magic.cc b/runtime/base/file_magic.cc
index 97563382a..0af1569ad 100644
--- a/runtime/base/file_magic.cc
+++ b/runtime/base/file_magic.cc
@@ -19,7 +19,8 @@
#include <fcntl.h>
{
"log": {
"loglevel": "info"
},
"dns": {
"remark": "此节点配置上游DNS",
"servers": [
"1.2.4.8",
"119.29.29.29"
]