Browse Source

bump version in all place... build AnyCPU target

pull/2895/head
Student Main 4 years ago
parent
commit
1bc2ba0eb3
2 changed files with 11 additions and 2 deletions
  1. +2
    -1
      shadowsocks-csharp/Controller/Service/UpdateChecker.cs
  2. +9
    -1
      shadowsocks-csharp/shadowsocks-csharp.csproj

+ 2
- 1
shadowsocks-csharp/Controller/Service/UpdateChecker.cs View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Net;
using System.Reflection;
using System.Text.RegularExpressions;
using Newtonsoft.Json.Linq;
@@ -26,7 +27,7 @@ namespace Shadowsocks.Controller
public string LatestVersionLocalName;
public event EventHandler CheckUpdateCompleted;
public const string Version = "4.1.10.0";
public static readonly string Version = Assembly.GetEntryAssembly().GetName().Version.ToString();
private class CheckUpdateTimer : System.Timers.Timer
{


+ 9
- 1
shadowsocks-csharp/shadowsocks-csharp.csproj View File

@@ -8,7 +8,7 @@
<Authors>clowwindy &amp; community 2020</Authors>
<PackageId>Shadowsocks</PackageId>
<Product>Shadowsocks</Product>
<Version>4.1.9.2</Version>
<Version>4.1.10.0</Version>
<AssemblyName>Shadowsocks</AssemblyName>
<ApplicationIcon>shadowsocks.ico</ApplicationIcon>
<StartupObject>Shadowsocks.Program</StartupObject>
@@ -20,6 +20,14 @@
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.1|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.1|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<None Remove="app.config" />
<None Remove="app.manifest" />


Loading…
Cancel
Save