Skip to content

Commit 2bc7260

Browse files
committed
Plugins: Programs: Remove WinForms dependency
1 parent 7ca6661 commit 2bc7260

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Plugins/Flow.Launcher.Plugin.Program/Flow.Launcher.Plugin.Program.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<RootNamespace>Flow.Launcher.Plugin.Program</RootNamespace>
99
<AssemblyName>Flow.Launcher.Plugin.Program</AssemblyName>
1010
<UseWpf>true</UseWpf>
11-
<UseWindowsForms>true</UseWindowsForms>
1211
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1312
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1413
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

Plugins/Flow.Launcher.Plugin.Program/ViewModels/AddProgramSourceViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.IO;
33
using System.Linq;
4-
using System.Windows.Forms;
54
using Flow.Launcher.Plugin.Program.Views;
65
using Flow.Launcher.Plugin.Program.Views.Models;
76

@@ -60,12 +59,13 @@ public AddProgramSourceViewModel(PluginInitContext context, Settings settings, P
6059

6160
public void Browse()
6261
{
63-
var dialog = new FolderBrowserDialog();
62+
throw new NotImplementedException();
63+
/*var dialog = new FolderBrowserDialog();
6464
DialogResult result = dialog.ShowDialog();
6565
if (result == DialogResult.OK)
6666
{
6767
Location = dialog.SelectedPath;
68-
}
68+
}*/
6969
}
7070

7171
public (bool modified, string message) AddProgramSource()

0 commit comments

Comments
 (0)