File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 18
18
<PackageReference Include =" TaskScheduler" Verson =" 2.8.21" Version =" 2.9.2" />
19
19
<PackageReference Include =" Costura.Fody" Version =" 5.7.0" PrivateAssets =" All" />
20
20
<PackageReference Include =" Fody" Version =" 6.6.0" PrivateAssets =" all" IncludeAssets =" runtime; build; native; contentfiles; analyzers; buildtransitive" />
21
+ <PackageReference Include =" TextCopy" Version =" 6.2.1" />
21
22
</ItemGroup >
22
23
23
24
<ItemGroup >
Original file line number Diff line number Diff line change 3
3
using MouseTrap . Models ;
4
4
using MouseTrap . Service ;
5
5
using Newtonsoft . Json ;
6
+ using TextCopy ;
6
7
7
8
8
9
// ReSharper disable LocalizableElement
@@ -48,7 +49,7 @@ public DiagnosticForm(ServiceThread service)
48
49
sb . AppendLine ( ) ;
49
50
sb . AppendLine ( LogfileBox . Text ) ;
50
51
51
- Clipboard . SetText ( sb . ToString ( ) ) ;
52
+ ClipboardService . SetText ( sb . ToString ( ) ) ;
52
53
53
54
MessageBox . Show ( "Diagnostic data copied to clipboard." ) ;
54
55
} ;
You can’t perform that action at this time.
0 commit comments