diff --git a/Flow.Launcher.sln b/Flow.Launcher.sln index b244c97de..2be28daf1 100644 --- a/Flow.Launcher.sln +++ b/Flow.Launcher.sln @@ -62,16 +62,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution SolutionAssemblyInfo.cs = SolutionAssemblyInfo.cs EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloWorldCSharp", "Plugins\HelloWorldCSharp\HelloWorldCSharp.csproj", "{03FFA443-5F50-48D5-8869-F3DF316803AA}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Flow.Launcher.Plugin.Shell", "Plugins\Flow.Launcher.Plugin.Shell\Flow.Launcher.Plugin.Shell.csproj", "{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Flow.Launcher.Plugin.BrowserBookmark", "Plugins\Flow.Launcher.Plugin.BrowserBookmark\Flow.Launcher.Plugin.BrowserBookmark.csproj", "{9B130CC5-14FB-41FF-B310-0A95B6894C37}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Flow.Launcher.Plugin.Calculator", "Plugins\Flow.Launcher.Plugin.Calculator\Flow.Launcher.Plugin.Calculator.csproj", "{59BD9891-3837-438A-958D-ADC7F91F6F7E}" EndProject -Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "HelloWorldFSharp", "Plugins\HelloWorldFSharp\HelloWorldFSharp.fsproj", "{30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Flow.Launcher.Plugin.Explorer", "Plugins\Flow.Launcher.Plugin.Explorer\Flow.Launcher.Plugin.Explorer.csproj", "{F9C4C081-4CC3-4146-95F1-E102B4E10A5F}" EndProject Global @@ -253,18 +249,6 @@ Global {230AE83F-E92E-4E69-8355-426B305DA9C0}.Release|x64.Build.0 = Release|Any CPU {230AE83F-E92E-4E69-8355-426B305DA9C0}.Release|x86.ActiveCfg = Release|Any CPU {230AE83F-E92E-4E69-8355-426B305DA9C0}.Release|x86.Build.0 = Release|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Debug|x64.ActiveCfg = Debug|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Debug|x64.Build.0 = Debug|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Debug|x86.ActiveCfg = Debug|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Debug|x86.Build.0 = Debug|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Release|Any CPU.Build.0 = Release|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Release|x64.ActiveCfg = Release|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Release|x64.Build.0 = Release|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Release|x86.ActiveCfg = Release|Any CPU - {03FFA443-5F50-48D5-8869-F3DF316803AA}.Release|x86.Build.0 = Release|Any CPU {C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Debug|Any CPU.Build.0 = Debug|Any CPU {C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -301,18 +285,6 @@ Global {59BD9891-3837-438A-958D-ADC7F91F6F7E}.Release|x64.Build.0 = Release|Any CPU {59BD9891-3837-438A-958D-ADC7F91F6F7E}.Release|x86.ActiveCfg = Release|Any CPU {59BD9891-3837-438A-958D-ADC7F91F6F7E}.Release|x86.Build.0 = Release|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Debug|x64.ActiveCfg = Debug|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Debug|x64.Build.0 = Debug|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Debug|x86.ActiveCfg = Debug|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Debug|x86.Build.0 = Debug|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Release|Any CPU.Build.0 = Release|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Release|x64.ActiveCfg = Release|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Release|x64.Build.0 = Release|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Release|x86.ActiveCfg = Release|Any CPU - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E}.Release|x86.Build.0 = Release|Any CPU {F9C4C081-4CC3-4146-95F1-E102B4E10A5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F9C4C081-4CC3-4146-95F1-E102B4E10A5F}.Debug|Any CPU.Build.0 = Debug|Any CPU {F9C4C081-4CC3-4146-95F1-E102B4E10A5F}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -339,11 +311,9 @@ Global {A3DCCBCA-ACC1-421D-B16E-210896234C26} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} {F35190AA-4758-4D9E-A193-E3BDF6AD3567} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} {230AE83F-E92E-4E69-8355-426B305DA9C0} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} - {03FFA443-5F50-48D5-8869-F3DF316803AA} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} {C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} {9B130CC5-14FB-41FF-B310-0A95B6894C37} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} {59BD9891-3837-438A-958D-ADC7F91F6F7E} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} - {30DDA7D9-3712-44F4-BD18-DC1C05B2DD9E} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} {F9C4C081-4CC3-4146-95F1-E102B4E10A5F} = {3A73F5A7-0335-40D8-BF7C-F20BE5D0BA87} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution diff --git a/Plugins/HelloWorldCSharp/HelloWorldCSharp.csproj b/Plugins/HelloWorldCSharp/HelloWorldCSharp.csproj deleted file mode 100644 index 2e2ab78b5..000000000 --- a/Plugins/HelloWorldCSharp/HelloWorldCSharp.csproj +++ /dev/null @@ -1,55 +0,0 @@ - - - - netcoreapp3.1 - {03FFA443-5F50-48D5-8869-F3DF316803AA} - Properties - HelloWorldCSharp - HelloWorldCSharp - false - false - - Library - - - - - AnyCPU - true - full - false - ..\..\Output\Debug\Plugins\HelloWorldCSharp\ - DEBUG;TRACE - prompt - 4 - false - - - - AnyCPU - pdbonly - true - ..\..\Output\Release\Plugins\HelloWorldCSharp\ - TRACE - prompt - 4 - false - - - - - PreserveNewest - - - - - - - - - - PreserveNewest - - - - \ No newline at end of file diff --git a/Plugins/HelloWorldCSharp/Images/app.png b/Plugins/HelloWorldCSharp/Images/app.png deleted file mode 100644 index bc5701ac8..000000000 Binary files a/Plugins/HelloWorldCSharp/Images/app.png and /dev/null differ diff --git a/Plugins/HelloWorldCSharp/Main.cs b/Plugins/HelloWorldCSharp/Main.cs deleted file mode 100644 index e12eb2d14..000000000 --- a/Plugins/HelloWorldCSharp/Main.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Flow.Launcher.Plugin; - -namespace HelloWorldCSharp -{ - class Main : IPlugin - { - public List Query(Query query) - { - var result = new Result - { - Title = "Hello World from CSharp", - SubTitle = $"Query: {query.Search}", - IcoPath = "app.png" - }; - return new List {result}; - } - - public void Init(PluginInitContext context) - { - - } - } -} diff --git a/Plugins/HelloWorldCSharp/plugin.json b/Plugins/HelloWorldCSharp/plugin.json deleted file mode 100644 index 61d10b291..000000000 --- a/Plugins/HelloWorldCSharp/plugin.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ID": "CEA0FDFC6D3B4085823D60DC76F28844", - "ActionKeyword": "hc", - "Name": "Hello World CSharp", - "Description": "Hello World CSharp", - "Author": "happlebao", - "Version": "1.0.0", - "Language": "csharp", - "Website": "https://github.com/Flow-Launcher/Flow.Launcher", - "ExecuteFileName": "HelloWorldCSharp.dll", - "IcoPath": "app.png", - "Disabled": true -} \ No newline at end of file diff --git a/Plugins/HelloWorldFSharp/HelloWorldFSharp.fsproj b/Plugins/HelloWorldFSharp/HelloWorldFSharp.fsproj deleted file mode 100644 index d688ab6a9..000000000 --- a/Plugins/HelloWorldFSharp/HelloWorldFSharp.fsproj +++ /dev/null @@ -1,36 +0,0 @@ - - - - netcoreapp3.1 - false - false - - - - ..\..\Output\Debug\Plugins\HelloWorldFSharp\ - DEBUG;TRACE - - - - ..\..\Output\Release\Plugins\HelloWorldFSharp\ - - - - - PreserveNewest - - - Always - - - - - - - - - - - - - \ No newline at end of file diff --git a/Plugins/HelloWorldFSharp/Images/app.png b/Plugins/HelloWorldFSharp/Images/app.png deleted file mode 100644 index bc5701ac8..000000000 Binary files a/Plugins/HelloWorldFSharp/Images/app.png and /dev/null differ diff --git a/Plugins/HelloWorldFSharp/Main.fs b/Plugins/HelloWorldFSharp/Main.fs deleted file mode 100644 index 15fd3afbd..000000000 --- a/Plugins/HelloWorldFSharp/Main.fs +++ /dev/null @@ -1,31 +0,0 @@ -namespace HelloWorldFSharp - -open Flow.Launcher.Plugin -open System.Collections.Generic - -type HelloWorldFSharpPlugin() = - - let mutable initContext = PluginInitContext() - - interface IPlugin with - member this.Init (context: PluginInitContext) = - initContext <- context - - member this.Query (query: Query) = - List [ - Result (Title = "Hello World from F#", - SubTitle = sprintf "Query: %s" query.Search) - - Result (Title = "Browse source code of this plugin", - SubTitle = "click to open in browser", - Action = (fun ctx -> - initContext.CurrentPluginMetadata.Website - |> System.Diagnostics.Process.Start - |> ignore - true)) - - Result (Title = "Trigger a tray message", - Action = (fun _ -> - initContext.API.ShowMsg ("Sample tray message", "from the F# plugin") - false)) - ] diff --git a/Plugins/HelloWorldFSharp/plugin.json b/Plugins/HelloWorldFSharp/plugin.json deleted file mode 100644 index 845b93e4b..000000000 --- a/Plugins/HelloWorldFSharp/plugin.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ID": "8FF5D5C1F8194958A12E8668FB7ECC04", - "ActionKeyword": "hf", - "Name": "Hello World FSharp", - "Description": "Hello World FSharp", - "Author": "Ioannis G.", - "Version": "1.0.0", - "Language": "fsharp", - "Website": "https://github.com/Flow-Launcher/Flow.Launcher", - "ExecuteFileName": "HelloWorldFSharp.dll", - "IcoPath": "Images\\app.png" -} \ No newline at end of file diff --git a/Plugins/HelloWorldPython/Images/app.png b/Plugins/HelloWorldPython/Images/app.png deleted file mode 100644 index bc5701ac8..000000000 Binary files a/Plugins/HelloWorldPython/Images/app.png and /dev/null differ diff --git a/Plugins/HelloWorldPython/main.py b/Plugins/HelloWorldPython/main.py deleted file mode 100644 index 6fa1b86ee..000000000 --- a/Plugins/HelloWorldPython/main.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- - -from flow.launcher import Flow.Launcher - -class HelloWorld(FlowLauncher): - - def query(self, query): - results = [] - results.append({ - "Title": "Hello World", - "SubTitle": "Query: {}".format(query), - "IcoPath":"Images/app.ico", - "ContextData": "ctxData" - }) - return results - - def context_menu(self, data): - results = [] - results.append({ - "Title": "Context menu entry", - "SubTitle": "Data: {}".format(data), - "IcoPath":"Images/app.ico" - }) - return results - -if __name__ == "__main__": - HelloWorld() \ No newline at end of file diff --git a/Plugins/HelloWorldPython/plugin.json b/Plugins/HelloWorldPython/plugin.json deleted file mode 100644 index 6aa2fee56..000000000 --- a/Plugins/HelloWorldPython/plugin.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ID":"2f4e384e-76ce-45c3-aea2-b16f5e5c328f", - "ActionKeyword":"h", - "Name":"Hello World Python", - "Description":"Hello World", - "Author":"happlebao", - "Version":"1.0", - "Language":"python", - "Website":"https://github.com/Flow-Launcher/Flow.Launcher", - "IcoPath":"Images\\app.png", - "ExecuteFileName":"main.py" -} diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 648b50b15..18ce33c4f 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -36,7 +36,6 @@ function Copy-Resources ($path, $config) { $output = "$path\Output" $target = "$output\$config" Copy-Item -Recurse -Force $project\Images\* $target\Images\ - Copy-Item -Recurse -Force $path\Plugins\HelloWorldPython $target\Plugins\HelloWorldPython Copy-Item -Recurse -Force $path\JsonRPC $target\JsonRPC # making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced. Copy-Item -Force $env:USERPROFILE\.nuget\packages\squirrel.windows\1.5.2\tools\Squirrel.exe $output\Update.exe