Skip to content

Commit

Permalink
Merge branch 'removeupdatecode'
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Oct 28, 2016
2 parents 18b79ae + d697999 commit 6e05aa7
Show file tree
Hide file tree
Showing 33 changed files with 15 additions and 601 deletions.
2 changes: 1 addition & 1 deletion NAPS2.Console/NAPS2.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'InstallerEXE|x86'">
<OutputPath>bin\InstallerEXE\</OutputPath>
<DefineConstants>TRACE;INSTALLER INSTALLER_EXE</DefineConstants>
<Optimize>true</Optimize>
<Optimize>false</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand Down
2 changes: 1 addition & 1 deletion NAPS2.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static class Program
[STAThread]
static void Main(string[] args)
{
ConsoleEntryPoint.Run(args);
typeof(ConsoleEntryPoint).GetMethod("Run").Invoke(null, new object[] { args });
}
}
}
3 changes: 0 additions & 3 deletions NAPS2.Core/Config/AppConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
using System.Linq;
using System.Windows.Forms;
using NAPS2.Scan;
using NAPS2.Update;

namespace NAPS2.Config
{
Expand All @@ -43,8 +42,6 @@ public class AppConfig

public ScanProfile DefaultProfileSettings { get; set; }

public AutoUpdateStatus AutoUpdate { get; set; }

public SaveButtonDefaultAction SaveButtonDefaultAction { get; set; }

public bool HideEmailButton { get; set; }
Expand Down
3 changes: 0 additions & 3 deletions NAPS2.Core/Config/UserConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
using NAPS2.Scan;
using NAPS2.Scan.Batch;
using NAPS2.Scan.Images;
using NAPS2.Update;

namespace NAPS2.Config
{
Expand All @@ -49,8 +48,6 @@ public UserConfig()

public List<FormState> FormStates { get; set; }

public AutoUpdateStatus AutoUpdate { get; set; }

public DateTime? LastUpdateCheckDate { get; set; }

public bool EnableOcr { get; set; }
Expand Down
18 changes: 0 additions & 18 deletions NAPS2.Core/NAPS2.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -287,24 +287,6 @@
<Compile Include="Util\Unmanaged.cs" />
<Compile Include="Util\UnmanagedArray.cs" />
<Compile Include="Util\UnmanagedBase.cs" />
<Compile Include="Update\AutoUpdater.cs" />
<Compile Include="Update\AutoUpdaterUI.cs" />
<Compile Include="Update\AutoUpdateStatus.cs" />
<Compile Include="Update\CurrentVersionSource.cs" />
<Compile Include="Update\Edition.cs" />
<Compile Include="Update\IAutoUpdater.cs" />
<Compile Include="Update\IAutoUpdaterClient.cs" />
<Compile Include="Update\ICurrentVersionSource.cs" />
<Compile Include="Update\ILatestVersionSource.cs" />
<Compile Include="Update\IUrlFileDownloader.cs" />
<Compile Include="Update\IUrlStreamReader.cs" />
<Compile Include="Update\IUrlTextReader.cs" />
<Compile Include="Update\LatestVersionSource.cs" />
<Compile Include="Update\UpdateInfo.cs" />
<Compile Include="Update\UrlFileDownloader.cs" />
<Compile Include="Update\UrlStreamReader.cs" />
<Compile Include="Update\UrlTextReader.cs" />
<Compile Include="Update\VersionInfo.cs" />
<Compile Include="Host\X86HostManager.cs" />
<Compile Include="Util\Win32.cs" />
<Compile Include="WinForms\DialogHelper.cs">
Expand Down
13 changes: 0 additions & 13 deletions NAPS2.Core/Update/AutoUpdateStatus.cs

This file was deleted.

126 changes: 0 additions & 126 deletions NAPS2.Core/Update/AutoUpdater.cs

This file was deleted.

113 changes: 0 additions & 113 deletions NAPS2.Core/Update/AutoUpdaterUI.cs

This file was deleted.

15 changes: 0 additions & 15 deletions NAPS2.Core/Update/CurrentVersionSource.cs

This file was deleted.

14 changes: 0 additions & 14 deletions NAPS2.Core/Update/Edition.cs

This file was deleted.

15 changes: 0 additions & 15 deletions NAPS2.Core/Update/IAutoUpdater.cs

This file was deleted.

12 changes: 0 additions & 12 deletions NAPS2.Core/Update/IAutoUpdaterClient.cs

This file was deleted.

Loading

0 comments on commit 6e05aa7

Please sign in to comment.