Add script
This commit is contained in:
parent
5bc6d86424
commit
df3d78bcb2
|
@ -6,8 +6,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>600</height>
|
||||
<width>640</width>
|
||||
<height>360</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
@ -18,14 +18,14 @@
|
|||
<property name="geometry">
|
||||
<rect>
|
||||
<x>9</x>
|
||||
<y>-1</y>
|
||||
<width>791</width>
|
||||
<height>431</height>
|
||||
<y>9</y>
|
||||
<width>621</width>
|
||||
<height>291</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QListWidget" name="listWidget"/>
|
||||
<widget class="QListView" name="listView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
@ -35,8 +35,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>30</height>
|
||||
<width>640</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
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
|
||||
pause
|
Loading…
Reference in New Issue