Skip to content

Commit

Permalink
Bump version to 10, add build process, update gadget.xml
Browse files Browse the repository at this point in the history
Why version "10"? Why not? New baseline version #ing.
  • Loading branch information
WaldenL committed Jul 18, 2017
1 parent 463bfa8 commit 94a0c88
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@powershell ./build.ps1
6 changes: 6 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Build the src directory into the gadget (which is nothing more than a zip file with the .gadget extension)
#Assumes PowerShell 3 and at least .Net 4.0

del hyper-v-gadget.gadget
Add-Type -A System.IO.Compression.FileSystem
[IO.Compression.ZipFile]::CreateFromDirectory('src', 'hyper-v-gadget.gadget')
Binary file added hyper-v-gadget.gadget
Binary file not shown.
14 changes: 9 additions & 5 deletions src/gadget.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<gadget>
<name>Hyper-V Monitor</name>
<namespace>HV.Monitor</namespace>
<version>5.2.5</version>
<author name="Tore Lervik">
<version>10.0.0</version>
<author name="Walden Leverich">
<info url="https://github.com/WaldenL/hyper-v-gadget" />
</author>
<!-- Original Author and copyright info
<author name="Tore Lervik">
<info url="mindre.net" />
</author>
<copyright>2010</copyright>
-->
<description>Hyper-V Monitor Gadget</description>
<icons>
<icon height="100" width="92" src="Icon.png" />
</icons>
<hosts>
<host name="sidebar">
<base type="HTML" apiVersion="5.2.5" src="Gadget.html" />
<base type="HTML" apiVersion="1.0.0" src="Gadget.html" />
<permissions>full</permissions>
<platform minPlatformVersion="0.3" />
<platform minPlatformVersion="1.0" />
</host>
</hosts>
</gadget>

0 comments on commit 94a0c88

Please sign in to comment.