Skip to content

Commit

Permalink
Updated Readme.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravibpatel committed Dec 29, 2017
1 parent b6ba01c commit 59a92e8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AutoUpdater.NET [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/rbsoft)
# AutoUpdater.NET [![Build status](https://ci.appveyor.com/api/projects/status/yng987o7dauk9gqc?svg=true)](https://ci.appveyor.com/project/ravibpatel/autoupdater-net) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/rbsoft)
AutoUpdater.NET is a class library that allows .NET developers to easily add auto update functionality to their classic desktop application projects.

## The nuget package [![NuGet](https://img.shields.io/nuget/v/Autoupdater.NET.Official.svg)](https://www.nuget.org/packages/Autoupdater.NET.Official/) [![NuGet](https://img.shields.io/nuget/dt/Autoupdater.NET.Official.svg)](https://www.nuget.org/packages/Autoupdater.NET.Official/)
Expand Down Expand Up @@ -83,6 +83,14 @@ You can turn on error reporting by adding below code. If you do this AutoUpdater
AutoUpdater.ReportErrors = true;
````

### Run update process without Administrator privileges

If your application doesn't need administrator privileges to replace old version then you can set RunUpdateAsAdmin to false.

````csharp
AutoUpdater.RunUpdateAsAdmin = false;
````

### Open Download Page

If you don't want to download the latest version of the application and just want to open the URL between url tags of your XML file then you need to add following line with above code.
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
version: 1.4.7.{build}
skip_branch_with_pr: true
image: Visual Studio 2017
before_build:
- cmd: nuget restore
build:
verbosity: minimal
after_build:
- cmd: 7z a AutoUpdater.NET-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\AutoUpdater.NET\bin\Debug\v4.0\
- cmd: 7z a AutoUpdater.NET-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\AutoUpdater.NET\bin\Release\v4.0\
artifacts:
- path: AutoUpdater.NET-$(APPVEYOR_BUILD_VERSION).zip
name: AutoUpdater.NET

0 comments on commit 59a92e8

Please sign in to comment.