Skip to content

Commit 7704f4f

Browse files
committed
Update dependencies, add install instructions
1 parent a604a69 commit 7704f4f

File tree

7 files changed

+71
-19
lines changed

7 files changed

+71
-19
lines changed

.editorconfig

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@
55
# All files
66
[*]
77
indent_style = space
8+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
9+
tab_width = 4
10+
indent_size = 4
11+
end_of_line = crlf
12+
dotnet_style_coalesce_expression = true:suggestion
13+
dotnet_style_null_propagation = true:suggestion
14+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
15+
dotnet_style_prefer_auto_properties = true:silent
16+
dotnet_style_object_initializer = true:suggestion
17+
dotnet_style_collection_initializer = true:suggestion
18+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
19+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
20+
dotnet_style_prefer_conditional_expression_over_return = true:silent
21+
dotnet_style_explicit_tuple_names = true:suggestion
22+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
23+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
24+
dotnet_style_prefer_compound_assignment = true:suggestion
25+
dotnet_style_prefer_simplified_interpolation = true:suggestion
26+
dotnet_style_namespace_match_folder = true:suggestion
827
# Code files
928
[*.{cs,csx}]
1029
indent_size = 4
@@ -52,7 +71,7 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
5271
# Use PascalCase for constant fields
5372
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
5473
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
55-
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
74+
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
5675
dotnet_naming_symbols.constant_fields.applicable_kinds = field
5776
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
5877
dotnet_naming_symbols.constant_fields.required_modifiers = const
@@ -115,3 +134,9 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
115134
# Wrapping preferences
116135
csharp_preserve_single_line_statements = true
117136
csharp_preserve_single_line_blocks = true
137+
csharp_using_directive_placement = outside_namespace:silent
138+
csharp_prefer_simple_using_statement = true:suggestion
139+
csharp_style_namespace_declarations = block_scoped:silent
140+
csharp_style_prefer_method_group_conversion = true:silent
141+
csharp_style_expression_bodied_lambdas = true:silent
142+
csharp_style_expression_bodied_local_functions = false:silent

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Execute an arbitrary Windows command line from the Elgato Stream Deck.
44

55
![screenshot](images/screenshot.png)
66

7+
## Installation
8+
9+
* Download the `.streamDeckPlugin` file for the latest release
10+
from the [Releases page](https://github.com/mikepowell/streamdeck-commandline/releases).
11+
* Open the downloaded file by double-clicking. This will open the Stream Deck app if it's not
12+
already open, and load the plugin.
13+
14+
715
## Dependencies
816

917
Thanks to [Barraider](https://barraider.com) for making these tools available!

src/streamdeck-commandline.sln

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30804.86
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.2.32602.215
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "streamdeck-commandline", "streamdeck-commandline\streamdeck-commandline.csproj", "{4635D874-69C0-4010-BE46-77EF92EB1553}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{49D3C548-C994-4AE5-BEBC-F25A60DE3AC9}"
99
ProjectSection(SolutionItems) = preProject
10-
.editorconfig = .editorconfig
11-
readme.md = readme.md
10+
..\.editorconfig = ..\.editorconfig
11+
..\readme.md = ..\readme.md
12+
EndProjectSection
13+
EndProject
14+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{AF15E358-DF8B-42A6-8495-024DED235F3C}"
15+
ProjectSection(SolutionItems) = preProject
16+
..\build\DistributionTool.exe = ..\build\DistributionTool.exe
17+
..\build\Package-Plugin.ps1 = ..\build\Package-Plugin.ps1
18+
..\build\readme.md = ..\build\readme.md
1219
EndProjectSection
1320
EndProject
1421
Global

src/streamdeck-commandline/App.config

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,19 @@
77
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
88
<dependentAssembly>
99
<assemblyIdentity name="CommandLine" publicKeyToken="5a870481e358d379" culture="neutral" />
10-
<bindingRedirect oldVersion="0.0.0.0-2.6.0.0" newVersion="2.6.0.0" />
10+
<bindingRedirect oldVersion="0.0.0.0-2.9.1.0" newVersion="2.9.1.0" />
11+
</dependentAssembly>
12+
<dependentAssembly>
13+
<assemblyIdentity name="System.Drawing.Common" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
14+
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
15+
</dependentAssembly>
16+
<dependentAssembly>
17+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
18+
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
19+
</dependentAssembly>
20+
<dependentAssembly>
21+
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
22+
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
1123
</dependentAssembly>
1224
</assemblyBinding>
1325
</runtime>

src/streamdeck-commandline/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Description": "Executes an arbitrary Windows command line",
55
"Icon": "Images/plugin",
66
"URL": "https://github.com/mikepowell/streamdeck-commandline",
7-
"Version": "1.0",
7+
"Version": "1.1",
88
"CodePathWin": "streamdeck-commandline.exe",
99
"OS": [
1010
{
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="CommandLineParser" version="2.8.0" targetFramework="net472" />
4-
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
5-
<package id="NLog" version="4.7.7" targetFramework="net472" />
3+
<package id="CommandLineParser" version="2.9.1" targetFramework="net472" />
4+
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
5+
<package id="NLog" version="5.0.1" targetFramework="net472" />
66
<package id="streamdeck-client-csharp" version="4.3.0" targetFramework="net472" />
77
<package id="StreamDeck-Tools" version="3.2.0" targetFramework="net472" />
8-
<package id="System.Drawing.Common" version="5.0.0" targetFramework="net472" />
8+
<package id="System.Drawing.Common" version="6.0.0" targetFramework="net472" />
99
</packages>

src/streamdeck-commandline/streamdeck-commandline.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
<WarningLevel>4</WarningLevel>
3434
</PropertyGroup>
3535
<ItemGroup>
36-
<Reference Include="CommandLine, Version=2.8.0.0, Culture=neutral, PublicKeyToken=5a870481e358d379, processorArchitecture=MSIL">
37-
<HintPath>..\packages\CommandLineParser.2.8.0\lib\net461\CommandLine.dll</HintPath>
36+
<Reference Include="CommandLine, Version=2.9.1.0, Culture=neutral, PublicKeyToken=5a870481e358d379, processorArchitecture=MSIL">
37+
<HintPath>..\packages\CommandLineParser.2.9.1\lib\net461\CommandLine.dll</HintPath>
3838
</Reference>
39-
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
40-
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
39+
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
40+
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
4141
</Reference>
42-
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
43-
<HintPath>..\packages\NLog.4.7.7\lib\net45\NLog.dll</HintPath>
42+
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
43+
<HintPath>..\packages\NLog.5.0.1\lib\net46\NLog.dll</HintPath>
4444
</Reference>
4545
<Reference Include="streamdeck-client-csharp, Version=4.3.0.0, Culture=neutral, processorArchitecture=MSIL">
4646
<HintPath>..\packages\streamdeck-client-csharp.4.3.0\lib\netstandard2.0\streamdeck-client-csharp.dll</HintPath>
@@ -52,8 +52,8 @@
5252
<Reference Include="System.Configuration" />
5353
<Reference Include="System.Core" />
5454
<Reference Include="System.Drawing" />
55-
<Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
56-
<HintPath>..\packages\System.Drawing.Common.5.0.0\lib\net461\System.Drawing.Common.dll</HintPath>
55+
<Reference Include="System.Drawing.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
56+
<HintPath>..\packages\System.Drawing.Common.6.0.0\lib\net461\System.Drawing.Common.dll</HintPath>
5757
</Reference>
5858
<Reference Include="System.IO.Compression" />
5959
<Reference Include="System.Runtime.Serialization" />

0 commit comments

Comments
 (0)