Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit 1ab6223

Browse files
committed
Auto Updates
Console and GUI are joined
1 parent 289453a commit 1ab6223

18 files changed

+91
-45
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
55
</startup>
6-
</configuration>
6+
</configuration>

Source/Deployer.Raspberry.Console/ConsoleDisplayUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Linq;
33

4-
namespace Deployment.Console
4+
namespace Deployer.Raspberry.Console
55
{
66
public class ConsoleDisplayUpdater : IDisposable
77
{

Source/Deployer.Raspberry.Console/ConsoleMarkdownDialog.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
using System.Collections.Generic;
22
using System.Threading.Tasks;
3-
using Deployer;
43

5-
namespace Deployment.Console
4+
namespace Deployer.Raspberry.Console
65
{
76
internal class ConsoleMarkdownDialog : IMarkdownDialog
87
{

Source/Deployer.Raspberry.Console/ConsoleMarkdownDisplayer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Threading.Tasks;
22
using Deployer.Tasks;
33

4-
namespace Deployment.Console
4+
namespace Deployer.Raspberry.Console
55
{
66
internal class ConsoleMarkdownDisplayer : IMarkdownDisplayer
77
{

Source/Deployer.Raspberry.Console/Deployer.Raspberry.Console.csproj

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{16500914-E053-433E-9B6A-27D4A5717130}</ProjectGuid>
8-
<OutputType>Exe</OutputType>
9-
<RootNamespace>Deployment.Console</RootNamespace>
10-
<AssemblyName>WoaDeployer</AssemblyName>
11-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
8+
<OutputType>Library</OutputType>
9+
<RootNamespace>Deployer.Raspberry.Console</RootNamespace>
10+
<AssemblyName>Deployer.Raspberry.Console</AssemblyName>
11+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<Deterministic>true</Deterministic>
15+
<TargetFrameworkProfile />
1516
</PropertyGroup>
1617
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1718
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -34,8 +35,9 @@
3435
<WarningLevel>4</WarningLevel>
3536
<LangVersion>7.1</LangVersion>
3637
</PropertyGroup>
38+
<PropertyGroup />
3739
<PropertyGroup>
38-
<ApplicationManifest>app.manifest</ApplicationManifest>
40+
<StartupObject />
3941
</PropertyGroup>
4042
<ItemGroup>
4143
<Reference Include="System" />
@@ -117,7 +119,9 @@
117119
<Link>Core\Tools\Etcher-Cli\x86\node_modules\usb\src\binding\usb_bindings.node</Link>
118120
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
119121
</None>
120-
<None Include="App.config" />
122+
<None Include="App.config">
123+
<SubType>Designer</SubType>
124+
</None>
121125
</ItemGroup>
122126
<ItemGroup>
123127
<PackageReference Include="CommandLineParser">
@@ -133,7 +137,7 @@
133137
<Version>3.3.0</Version>
134138
</PackageReference>
135139
<PackageReference Include="System.Reactive">
136-
<Version>4.1.2</Version>
140+
<Version>4.1.3</Version>
137141
</PackageReference>
138142
</ItemGroup>
139143
<ItemGroup>

Source/Deployer.Raspberry.Console/Options/NonWindowsDeploymentCmdOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CommandLine;
22

3-
namespace Deployment.Console.Options
3+
namespace Deployer.Raspberry.Console.Options
44
{
55
[Verb("execute", HelpText = "Executes a script that doesn't deploy Windows")]
66
public class NonWindowsDeploymentCmdOptions

Source/Deployer.Raspberry.Console/Options/WindowsDeploymentCmdOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CommandLine;
22

3-
namespace Deployment.Console.Options
3+
namespace Deployer.Raspberry.Console.Options
44
{
55
[Verb("deploy", HelpText = "Executes a Windows deployment script")]
66
public class WindowsDeploymentCmdOptions

Source/Deployer.Raspberry.Console/Program.cs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,20 @@
33
using System.Linq;
44
using System.Reactive.Subjects;
55
using System.Threading.Tasks;
6-
using ByteSizeLib;
76
using CommandLine;
8-
using Deployer;
97
using Deployer.FileSystem;
108
using Deployer.Lumia.NetFx;
11-
using Deployer.Raspberry;
9+
using Deployer.Raspberry.Console.Options;
1210
using Deployer.Tasks;
13-
using Deployment.Console.Options;
1411
using Grace.DependencyInjection;
1512
using Serilog;
1613
using Serilog.Events;
1714

18-
namespace Deployment.Console
15+
namespace Deployer.Raspberry.Console
1916
{
20-
internal static class Program
17+
public static class Program
2118
{
22-
private static async Task Main(string[] args)
19+
public static async Task Main(string[] args)
2320
{
2421
ConfigureLogger();
2522

Source/Deployer.Raspberry.Console/Resources.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<configSections>
4-
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
5-
<section name="Deployer.Android.Gui.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
4+
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5+
<section name="Deployer.Android.Gui.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
66
</sectionGroup>
77
</configSections>
88
<startup>
9-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
9+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
1010
</startup>
1111
<userSettings>
1212
<Deployer.Android.Gui.Properties.Settings>
1313
<setting name="WimFolder" serializeAs="String">
14-
<value />
14+
<value/>
1515
</setting>
1616
<setting name="SizeReservedForWindows" serializeAs="String">
1717
<value>18</value>
@@ -21,4 +21,4 @@
2121
</setting>
2222
</Deployer.Android.Gui.Properties.Settings>
2323
</userSettings>
24-
</configuration>
24+
</configuration>

0 commit comments

Comments
 (0)