File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed
Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1+ @ powershell ./build.ps1
Original file line number Diff line number Diff line change 1+ # Build the src directory into the gadget (which is nothing more than a zip file with the .gadget extension)
2+ # Assumes PowerShell 3 and at least .Net 4.0
3+
4+ del hyper- v- gadget.gadget
5+ Add-Type - A System.IO.Compression.FileSystem
6+ [IO.Compression.ZipFile ]::CreateFromDirectory(' src' , ' hyper-v-gadget.gadget' )
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<gadget >
33 <name >Hyper-V Monitor</name >
4- <namespace >HV.Monitor</namespace >
5- <version >5.2.5</version >
6- <author name =" Tore Lervik" >
4+ <version >10.0.0</version >
5+ <author name =" Walden Leverich" >
6+ <info url =" https://github.com/WaldenL/hyper-v-gadget" />
7+ </author >
8+ <!-- Original Author and copyright info
9+ <author name="Tore Lervik">
710 <info url="mindre.net" />
811 </author>
912 <copyright>2010</copyright>
13+ -->
1014 <description >Hyper-V Monitor Gadget</description >
1115 <icons >
1216 <icon height =" 100" width =" 92" src =" Icon.png" />
1317 </icons >
1418 <hosts >
1519 <host name =" sidebar" >
16- <base type =" HTML" apiVersion =" 5.2.5 " src =" Gadget.html" />
20+ <base type =" HTML" apiVersion =" 1.0.0 " src =" Gadget.html" />
1721 <permissions >full</permissions >
18- <platform minPlatformVersion =" 0.3 " />
22+ <platform minPlatformVersion =" 1.0 " />
1923 </host >
2024 </hosts >
2125</gadget >
You can’t perform that action at this time.
0 commit comments