Skip to content

Commit 054135d

Browse files
committed
Downgrade System.Drawing.Common version
1 parent afafd6d commit 054135d

File tree

4 files changed

+24
-26
lines changed

4 files changed

+24
-26
lines changed

Flow.Launcher.Core/packages.lock.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@
161161
},
162162
"Microsoft.Win32.SystemEvents": {
163163
"type": "Transitive",
164-
"resolved": "9.0.8",
165-
"contentHash": "64oQBN8I8EOcyHGNt6+rlcqm4tlcKfqOpswtBCJZnpzBQ15L6IFKqjnbjbOWBpG9wKq9A/aC2LFSmSqplbwTYA=="
164+
"resolved": "7.0.0",
165+
"contentHash": "2nXPrhdAyAzir0gLl8Yy8S5Mnm/uBSQQA7jEsILOS1MTyS7DbmV1NgViMtvV1sfCD1ebITpNwb1NIinKeJgUVQ=="
166166
},
167167
"Mono.Cecil": {
168168
"type": "Transitive",
@@ -222,10 +222,10 @@
222222
},
223223
"System.Drawing.Common": {
224224
"type": "Transitive",
225-
"resolved": "9.0.7",
226-
"contentHash": "1k/Pk7hcM3vP2tfIRRS2ECCCN7ya+hvocsM1JMc4ZDCU6qw7yOuUmqmCDfgXZ4Q4FS6jass2EAai5ByKodDi0g==",
225+
"resolved": "7.0.0",
226+
"contentHash": "KIX+oBU38pxkKPxvLcLfIkOV5Ien8ReN78wro7OF5/erwcmortzeFx+iBswlh2Vz6gVne0khocQudGwaO1Ey6A==",
227227
"dependencies": {
228-
"Microsoft.Win32.SystemEvents": "9.0.7"
228+
"Microsoft.Win32.SystemEvents": "7.0.0"
229229
}
230230
},
231231
"System.IO.Pipelines": {
@@ -258,12 +258,11 @@
258258
"InputSimulator": "[1.0.4, )",
259259
"MemoryPack": "[1.21.4, )",
260260
"Microsoft.VisualStudio.Threading": "[17.14.15, )",
261-
"Microsoft.Win32.SystemEvents": "[9.0.8, )",
262261
"NHotkey.Wpf": "[3.0.0, )",
263262
"NLog": "[6.0.1, )",
264263
"NLog.OutputDebugString": "[6.0.1, )",
265264
"SharpVectors.Wpf": "[1.8.4.2, )",
266-
"System.Drawing.Common": "[9.0.7, )",
265+
"System.Drawing.Common": "[7.0.0, )",
267266
"ToolGood.Words.Pinyin": "[3.1.0.3, )"
268267
}
269268
},

Flow.Launcher.Infrastructure/Flow.Launcher.Infrastructure.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
<PackageReference Include="InputSimulator" Version="1.0.4" />
6464
<PackageReference Include="MemoryPack" Version="1.21.4" />
6565
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.14.15" />
66-
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="9.0.8" />
6766
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.183">
6867
<PrivateAssets>all</PrivateAssets>
6968
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
@@ -75,7 +74,9 @@
7574
<PrivateAssets>all</PrivateAssets>
7675
</PackageReference>
7776
<PackageReference Include="SharpVectors.Wpf" Version="1.8.4.2" />
78-
<PackageReference Include="System.Drawing.Common" Version="9.0.7" />
77+
<!-- Do not upgrade this to higher version since it can cause this issue on WinForm platform: -->
78+
<!-- PlatformNotSupportedException: SystemEvents is not supported on this platform. -->
79+
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
7980
<PackageReference Include="ToolGood.Words.Pinyin" Version="3.1.0.3" />
8081
</ItemGroup>
8182

Flow.Launcher.Infrastructure/packages.lock.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@
5656
"Microsoft.VisualStudio.Validation": "17.8.8"
5757
}
5858
},
59-
"Microsoft.Win32.SystemEvents": {
60-
"type": "Direct",
61-
"requested": "[9.0.8, )",
62-
"resolved": "9.0.8",
63-
"contentHash": "64oQBN8I8EOcyHGNt6+rlcqm4tlcKfqOpswtBCJZnpzBQ15L6IFKqjnbjbOWBpG9wKq9A/aC2LFSmSqplbwTYA=="
64-
},
6559
"Microsoft.Windows.CsWin32": {
6660
"type": "Direct",
6761
"requested": "[0.3.183, )",
@@ -114,11 +108,11 @@
114108
},
115109
"System.Drawing.Common": {
116110
"type": "Direct",
117-
"requested": "[9.0.7, )",
118-
"resolved": "9.0.7",
119-
"contentHash": "1k/Pk7hcM3vP2tfIRRS2ECCCN7ya+hvocsM1JMc4ZDCU6qw7yOuUmqmCDfgXZ4Q4FS6jass2EAai5ByKodDi0g==",
111+
"requested": "[7.0.0, )",
112+
"resolved": "7.0.0",
113+
"contentHash": "KIX+oBU38pxkKPxvLcLfIkOV5Ien8ReN78wro7OF5/erwcmortzeFx+iBswlh2Vz6gVne0khocQudGwaO1Ey6A==",
120114
"dependencies": {
121-
"Microsoft.Win32.SystemEvents": "9.0.7"
115+
"Microsoft.Win32.SystemEvents": "7.0.0"
122116
}
123117
},
124118
"ToolGood.Words.Pinyin": {
@@ -160,6 +154,11 @@
160154
"resolved": "17.8.8",
161155
"contentHash": "rWXThIpyQd4YIXghNkiv2+VLvzS+MCMKVRDR0GAMlflsdo+YcAN2g2r5U1Ah98OFjQMRexTFtXQQ2LkajxZi3g=="
162156
},
157+
"Microsoft.Win32.SystemEvents": {
158+
"type": "Transitive",
159+
"resolved": "7.0.0",
160+
"contentHash": "2nXPrhdAyAzir0gLl8Yy8S5Mnm/uBSQQA7jEsILOS1MTyS7DbmV1NgViMtvV1sfCD1ebITpNwb1NIinKeJgUVQ=="
161+
},
163162
"Microsoft.Windows.SDK.Win32Docs": {
164163
"type": "Transitive",
165164
"resolved": "0.1.42-alpha",

Flow.Launcher/packages.lock.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,8 @@
552552
},
553553
"Microsoft.Win32.SystemEvents": {
554554
"type": "Transitive",
555-
"resolved": "9.0.8",
556-
"contentHash": "64oQBN8I8EOcyHGNt6+rlcqm4tlcKfqOpswtBCJZnpzBQ15L6IFKqjnbjbOWBpG9wKq9A/aC2LFSmSqplbwTYA=="
555+
"resolved": "7.0.0",
556+
"contentHash": "2nXPrhdAyAzir0gLl8Yy8S5Mnm/uBSQQA7jEsILOS1MTyS7DbmV1NgViMtvV1sfCD1ebITpNwb1NIinKeJgUVQ=="
557557
},
558558
"Mono.Cecil": {
559559
"type": "Transitive",
@@ -677,10 +677,10 @@
677677
},
678678
"System.Drawing.Common": {
679679
"type": "Transitive",
680-
"resolved": "9.0.7",
681-
"contentHash": "1k/Pk7hcM3vP2tfIRRS2ECCCN7ya+hvocsM1JMc4ZDCU6qw7yOuUmqmCDfgXZ4Q4FS6jass2EAai5ByKodDi0g==",
680+
"resolved": "7.0.0",
681+
"contentHash": "KIX+oBU38pxkKPxvLcLfIkOV5Ien8ReN78wro7OF5/erwcmortzeFx+iBswlh2Vz6gVne0khocQudGwaO1Ey6A==",
682682
"dependencies": {
683-
"Microsoft.Win32.SystemEvents": "9.0.7"
683+
"Microsoft.Win32.SystemEvents": "7.0.0"
684684
}
685685
},
686686
"System.Globalization": {
@@ -858,12 +858,11 @@
858858
"InputSimulator": "[1.0.4, )",
859859
"MemoryPack": "[1.21.4, )",
860860
"Microsoft.VisualStudio.Threading": "[17.14.15, )",
861-
"Microsoft.Win32.SystemEvents": "[9.0.8, )",
862861
"NHotkey.Wpf": "[3.0.0, )",
863862
"NLog": "[6.0.1, )",
864863
"NLog.OutputDebugString": "[6.0.1, )",
865864
"SharpVectors.Wpf": "[1.8.4.2, )",
866-
"System.Drawing.Common": "[9.0.7, )",
865+
"System.Drawing.Common": "[7.0.0, )",
867866
"ToolGood.Words.Pinyin": "[3.1.0.3, )"
868867
}
869868
},

0 commit comments

Comments
 (0)