mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
First pass of the updater working. #29
This commit is contained in:
parent
eafa0486f8
commit
030c013862
8 changed files with 270 additions and 121 deletions
|
@ -420,6 +420,10 @@
|
|||
<Project>{92433867-2B7B-477B-A566-96C382427525}</Project>
|
||||
<Name>PlexRequests.Store</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\PlexRequests.Updater\PlexRequests.Updater.csproj">
|
||||
<Project>{ebe6fc1c-7b4b-47e9-af54-0ee0604a2be5}</Project>
|
||||
<Name>PlexRequests.Updater</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Content\search.js">
|
||||
|
|
|
@ -61,6 +61,9 @@ namespace PlexRequests.UI
|
|||
x => x.Port,
|
||||
e => -1);
|
||||
|
||||
var updated = result.MapResult(x => x.Updated, e => false);
|
||||
//TODO
|
||||
|
||||
PrintToConsole("Starting Up! Please wait, this can usually take a few seconds.", ConsoleColor.Yellow);
|
||||
|
||||
Log.Trace("Getting product version");
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
// ************************************************************************/
|
||||
#endregion
|
||||
using System.Text;
|
||||
|
||||
using CommandLine;
|
||||
|
||||
|
@ -51,6 +50,14 @@ namespace PlexRequests.UI.Start
|
|||
public int Port { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="StartupOptions"/> is updated.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if updated; otherwise, <c>false</c>.
|
||||
/// </value>
|
||||
[Option('u', "updated", Required = false, HelpText = "This should only be used by the internal application")]
|
||||
public bool Updated { get; set; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue