Browse Source

自动检测更新

liufei 4 years ago
parent
commit
67eae85a0b
3 changed files with 7 additions and 1 deletions
  1. 1 1
      App.config
  2. 1 0
      GeekDesk.csproj
  3. 5 0
      Update.json

+ 1 - 1
App.config

@@ -12,7 +12,7 @@
     </assemblyBinding>
   </runtime>
 	<appSettings>
-		<add key="version" value="1.0 beta"/>
+		<add key="version" value="1.0-beta"/>
 		<add key="GitHubUrl" value="1.0 beta"/>
 		<add key="MYUrl" value="1.0 beta"/>
 		<add key="GitHubUpdateUrl" value="1.0 beta"/>

+ 1 - 0
GeekDesk.csproj

@@ -290,6 +290,7 @@
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>
     </EmbeddedResource>
     <Resource Include="Resource\Iconfont\iconfont.json" />
+    <Resource Include="Update.json" />
     <None Include="packages.config" />
     <None Include="Properties\Settings.settings">
       <Generator>SettingsSingleFileGenerator</Generator>

+ 5 - 0
Update.json

@@ -0,0 +1,5 @@
+{
+	"version" : "1.0-beta",
+	"msg" : "",
+	"log" : ""
+}