From 7704f4f2a7a7738b18d1496f2c346b5b89ef01d3 Mon Sep 17 00:00:00 2001 From: Mike Powell Date: Tue, 5 Jul 2022 08:46:36 -0400 Subject: [PATCH] Update dependencies, add install instructions --- .editorconfig | 27 ++++++++++++++++++- readme.md | 8 ++++++ src/streamdeck-commandline.sln | 15 ++++++++--- src/streamdeck-commandline/App.config | 14 +++++++++- src/streamdeck-commandline/manifest.json | 2 +- src/streamdeck-commandline/packages.config | 8 +++--- .../streamdeck-commandline.csproj | 16 +++++------ 7 files changed, 71 insertions(+), 19 deletions(-) diff --git a/.editorconfig b/.editorconfig index dad996b..ca898cc 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,6 +5,25 @@ # All files [*] indent_style = space +dotnet_style_operator_placement_when_wrapping = beginning_of_line +tab_width = 4 +indent_size = 4 +end_of_line = crlf +dotnet_style_coalesce_expression = true:suggestion +dotnet_style_null_propagation = true:suggestion +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent +dotnet_style_prefer_auto_properties = true:silent +dotnet_style_object_initializer = true:suggestion +dotnet_style_collection_initializer = true:suggestion +dotnet_style_prefer_simplified_boolean_expressions = true:suggestion +dotnet_style_prefer_conditional_expression_over_assignment = true:silent +dotnet_style_prefer_conditional_expression_over_return = true:silent +dotnet_style_explicit_tuple_names = true:suggestion +dotnet_style_prefer_inferred_tuple_names = true:suggestion +dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion +dotnet_style_prefer_compound_assignment = true:suggestion +dotnet_style_prefer_simplified_interpolation = true:suggestion +dotnet_style_namespace_match_folder = true:suggestion # Code files [*.{cs,csx}] indent_size = 4 @@ -52,7 +71,7 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case # Use PascalCase for constant fields dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields -dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style +dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style dotnet_naming_symbols.constant_fields.applicable_kinds = field dotnet_naming_symbols.constant_fields.applicable_accessibilities = * dotnet_naming_symbols.constant_fields.required_modifiers = const @@ -115,3 +134,9 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false # Wrapping preferences csharp_preserve_single_line_statements = true csharp_preserve_single_line_blocks = true +csharp_using_directive_placement = outside_namespace:silent +csharp_prefer_simple_using_statement = true:suggestion +csharp_style_namespace_declarations = block_scoped:silent +csharp_style_prefer_method_group_conversion = true:silent +csharp_style_expression_bodied_lambdas = true:silent +csharp_style_expression_bodied_local_functions = false:silent diff --git a/readme.md b/readme.md index 1d8ed06..76658e2 100644 --- a/readme.md +++ b/readme.md @@ -4,6 +4,14 @@ Execute an arbitrary Windows command line from the Elgato Stream Deck. ![screenshot](images/screenshot.png) +## Installation + +* Download the `.streamDeckPlugin` file for the latest release + from the [Releases page](https://github.com/mikepowell/streamdeck-commandline/releases). +* Open the downloaded file by double-clicking. This will open the Stream Deck app if it's not + already open, and load the plugin. + + ## Dependencies Thanks to [Barraider](https://barraider.com) for making these tools available! diff --git a/src/streamdeck-commandline.sln b/src/streamdeck-commandline.sln index 6e12ba8..df0358b 100644 --- a/src/streamdeck-commandline.sln +++ b/src/streamdeck-commandline.sln @@ -1,14 +1,21 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30804.86 +# Visual Studio Version 17 +VisualStudioVersion = 17.2.32602.215 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "streamdeck-commandline", "streamdeck-commandline\streamdeck-commandline.csproj", "{4635D874-69C0-4010-BE46-77EF92EB1553}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{49D3C548-C994-4AE5-BEBC-F25A60DE3AC9}" ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig - readme.md = readme.md + ..\.editorconfig = ..\.editorconfig + ..\readme.md = ..\readme.md + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{AF15E358-DF8B-42A6-8495-024DED235F3C}" + ProjectSection(SolutionItems) = preProject + ..\build\DistributionTool.exe = ..\build\DistributionTool.exe + ..\build\Package-Plugin.ps1 = ..\build\Package-Plugin.ps1 + ..\build\readme.md = ..\build\readme.md EndProjectSection EndProject Global diff --git a/src/streamdeck-commandline/App.config b/src/streamdeck-commandline/App.config index 9395f24..a877073 100644 --- a/src/streamdeck-commandline/App.config +++ b/src/streamdeck-commandline/App.config @@ -7,7 +7,19 @@ - + + + + + + + + + + + + + diff --git a/src/streamdeck-commandline/manifest.json b/src/streamdeck-commandline/manifest.json index 24990a0..386a0cc 100644 --- a/src/streamdeck-commandline/manifest.json +++ b/src/streamdeck-commandline/manifest.json @@ -4,7 +4,7 @@ "Description": "Executes an arbitrary Windows command line", "Icon": "Images/plugin", "URL": "https://github.com/mikepowell/streamdeck-commandline", - "Version": "1.0", + "Version": "1.1", "CodePathWin": "streamdeck-commandline.exe", "OS": [ { diff --git a/src/streamdeck-commandline/packages.config b/src/streamdeck-commandline/packages.config index 347957d..409dede 100644 --- a/src/streamdeck-commandline/packages.config +++ b/src/streamdeck-commandline/packages.config @@ -1,9 +1,9 @@  - - - + + + - + \ No newline at end of file diff --git a/src/streamdeck-commandline/streamdeck-commandline.csproj b/src/streamdeck-commandline/streamdeck-commandline.csproj index f34acb5..55296b5 100644 --- a/src/streamdeck-commandline/streamdeck-commandline.csproj +++ b/src/streamdeck-commandline/streamdeck-commandline.csproj @@ -33,14 +33,14 @@ 4 - - ..\packages\CommandLineParser.2.8.0\lib\net461\CommandLine.dll + + ..\packages\CommandLineParser.2.9.1\lib\net461\CommandLine.dll - - ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll + + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll - - ..\packages\NLog.4.7.7\lib\net45\NLog.dll + + ..\packages\NLog.5.0.1\lib\net46\NLog.dll ..\packages\streamdeck-client-csharp.4.3.0\lib\netstandard2.0\streamdeck-client-csharp.dll @@ -52,8 +52,8 @@ - - ..\packages\System.Drawing.Common.5.0.0\lib\net461\System.Drawing.Common.dll + + ..\packages\System.Drawing.Common.6.0.0\lib\net461\System.Drawing.Common.dll