├── .gitignore ├── Flow.Launcher.Plugin.Template.csproj ├── Flow.Launcher.Plugin.Template ├── .gitignore ├── .template.config │ └── template.json ├── Flow.Launcher.Plugin.MyFlowPlugin │ ├── Flow.Launcher.Plugin.MyFlowPlugin.csproj │ ├── Main.cs │ └── plugin.json ├── Readme.md ├── appveyor.yml ├── debug.ps1 └── release.ps1 ├── License ├── Readme.md └── appveyor.yml /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Aa][Rr][Mm]/ 27 | [Aa][Rr][Mm]64/ 28 | bld/ 29 | [Bb]in/ 30 | [Oo]bj/ 31 | [Ll]og/ 32 | 33 | # Visual Studio 2015/2017 cache/options directory 34 | .vs/ 35 | # Uncomment if you have tasks that create the project's static files in wwwroot 36 | #wwwroot/ 37 | 38 | # Visual Studio 2017 auto generated files 39 | Generated\ Files/ 40 | 41 | # MSTest test Results 42 | [Tt]est[Rr]esult*/ 43 | [Bb]uild[Ll]og.* 44 | 45 | # NUnit 46 | *.VisualState.xml 47 | TestResult.xml 48 | nunit-*.xml 49 | 50 | # Build Results of an ATL Project 51 | [Dd]ebugPS/ 52 | [Rr]eleasePS/ 53 | dlldata.c 54 | 55 | # Benchmark Results 56 | BenchmarkDotNet.Artifacts/ 57 | 58 | # .NET Core 59 | project.lock.json 60 | project.fragment.lock.json 61 | artifacts/ 62 | 63 | # StyleCop 64 | StyleCopReport.xml 65 | 66 | # Files built by Visual Studio 67 | *_i.c 68 | *_p.c 69 | *_h.h 70 | *.ilk 71 | *.meta 72 | *.obj 73 | *.iobj 74 | *.pch 75 | *.pdb 76 | *.ipdb 77 | *.pgc 78 | *.pgd 79 | *.rsp 80 | *.sbr 81 | *.tlb 82 | *.tli 83 | *.tlh 84 | *.tmp 85 | *.tmp_proj 86 | *_wpftmp.csproj 87 | *.log 88 | *.vspscc 89 | *.vssscc 90 | .builds 91 | *.pidb 92 | *.svclog 93 | *.scc 94 | 95 | # Chutzpah Test files 96 | _Chutzpah* 97 | 98 | # Visual C++ cache files 99 | ipch/ 100 | *.aps 101 | *.ncb 102 | *.opendb 103 | *.opensdf 104 | *.sdf 105 | *.cachefile 106 | *.VC.db 107 | *.VC.VC.opendb 108 | 109 | # Visual Studio profiler 110 | *.psess 111 | *.vsp 112 | *.vspx 113 | *.sap 114 | 115 | # Visual Studio Trace Files 116 | *.e2e 117 | 118 | # TFS 2012 Local Workspace 119 | $tf/ 120 | 121 | # Guidance Automation Toolkit 122 | *.gpState 123 | 124 | # ReSharper is a .NET coding add-in 125 | _ReSharper*/ 126 | *.[Rr]e[Ss]harper 127 | *.DotSettings.user 128 | 129 | # JustCode is a .NET coding add-in 130 | .JustCode 131 | 132 | # TeamCity is a build add-in 133 | _TeamCity* 134 | 135 | # DotCover is a Code Coverage Tool 136 | *.dotCover 137 | 138 | # AxoCover is a Code Coverage Tool 139 | .axoCover/* 140 | !.axoCover/settings.json 141 | 142 | # Visual Studio code coverage results 143 | *.coverage 144 | *.coveragexml 145 | 146 | # NCrunch 147 | _NCrunch_* 148 | .*crunch*.local.xml 149 | nCrunchTemp_* 150 | 151 | # MightyMoose 152 | *.mm.* 153 | AutoTest.Net/ 154 | 155 | # Web workbench (sass) 156 | .sass-cache/ 157 | 158 | # Installshield output folder 159 | [Ee]xpress/ 160 | 161 | # DocProject is a documentation generator add-in 162 | DocProject/buildhelp/ 163 | DocProject/Help/*.HxT 164 | DocProject/Help/*.HxC 165 | DocProject/Help/*.hhc 166 | DocProject/Help/*.hhk 167 | DocProject/Help/*.hhp 168 | DocProject/Help/Html2 169 | DocProject/Help/html 170 | 171 | # Click-Once directory 172 | publish/ 173 | 174 | # Publish Web Output 175 | *.[Pp]ublish.xml 176 | *.azurePubxml 177 | # Note: Comment the next line if you want to checkin your web deploy settings, 178 | # but database connection strings (with potential passwords) will be unencrypted 179 | *.pubxml 180 | *.publishproj 181 | 182 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 183 | # checkin your Azure Web App publish settings, but sensitive information contained 184 | # in these scripts will be unencrypted 185 | PublishScripts/ 186 | 187 | # NuGet Packages 188 | *.nupkg 189 | # NuGet Symbol Packages 190 | *.snupkg 191 | # The packages folder can be ignored because of Package Restore 192 | **/[Pp]ackages/* 193 | # except build/, which is used as an MSBuild target. 194 | !**/[Pp]ackages/build/ 195 | # Uncomment if necessary however generally it will be regenerated when needed 196 | #!**/[Pp]ackages/repositories.config 197 | # NuGet v3's project.json files produces more ignorable files 198 | *.nuget.props 199 | *.nuget.targets 200 | 201 | # Microsoft Azure Build Output 202 | csx/ 203 | *.build.csdef 204 | 205 | # Microsoft Azure Emulator 206 | ecf/ 207 | rcf/ 208 | 209 | # Windows Store app package directories and files 210 | AppPackages/ 211 | BundleArtifacts/ 212 | Package.StoreAssociation.xml 213 | _pkginfo.txt 214 | *.appx 215 | *.appxbundle 216 | *.appxupload 217 | 218 | # Visual Studio cache files 219 | # files ending in .cache can be ignored 220 | *.[Cc]ache 221 | # but keep track of directories ending in .cache 222 | !?*.[Cc]ache/ 223 | 224 | # Others 225 | ClientBin/ 226 | ~$* 227 | *~ 228 | *.dbmdl 229 | *.dbproj.schemaview 230 | *.jfm 231 | *.pfx 232 | *.publishsettings 233 | orleans.codegen.cs 234 | 235 | # Including strong name files can present a security risk 236 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 237 | #*.snk 238 | 239 | # Since there are multiple workflows, uncomment next line to ignore bower_components 240 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 241 | #bower_components/ 242 | 243 | # RIA/Silverlight projects 244 | Generated_Code/ 245 | 246 | # Backup & report files from converting an old project file 247 | # to a newer Visual Studio version. Backup files are not needed, 248 | # because we have git ;-) 249 | _UpgradeReport_Files/ 250 | Backup*/ 251 | UpgradeLog*.XML 252 | UpgradeLog*.htm 253 | ServiceFabricBackup/ 254 | *.rptproj.bak 255 | 256 | # SQL Server files 257 | *.mdf 258 | *.ldf 259 | *.ndf 260 | 261 | # Business Intelligence projects 262 | *.rdl.data 263 | *.bim.layout 264 | *.bim_*.settings 265 | *.rptproj.rsuser 266 | *- [Bb]ackup.rdl 267 | *- [Bb]ackup ([0-9]).rdl 268 | *- [Bb]ackup ([0-9][0-9]).rdl 269 | 270 | # Microsoft Fakes 271 | FakesAssemblies/ 272 | 273 | # GhostDoc plugin setting file 274 | *.GhostDoc.xml 275 | 276 | # Node.js Tools for Visual Studio 277 | .ntvs_analysis.dat 278 | node_modules/ 279 | 280 | # Visual Studio 6 build log 281 | *.plg 282 | 283 | # Visual Studio 6 workspace options file 284 | *.opt 285 | 286 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 287 | *.vbw 288 | 289 | # Visual Studio LightSwitch build output 290 | **/*.HTMLClient/GeneratedArtifacts 291 | **/*.DesktopClient/GeneratedArtifacts 292 | **/*.DesktopClient/ModelManifest.xml 293 | **/*.Server/GeneratedArtifacts 294 | **/*.Server/ModelManifest.xml 295 | _Pvt_Extensions 296 | 297 | # Paket dependency manager 298 | .paket/paket.exe 299 | paket-files/ 300 | 301 | # FAKE - F# Make 302 | .fake/ 303 | 304 | # CodeRush personal settings 305 | .cr/personal 306 | 307 | # Python Tools for Visual Studio (PTVS) 308 | __pycache__/ 309 | *.pyc 310 | 311 | # Cake - Uncomment if you are using it 312 | # tools/** 313 | # !tools/packages.config 314 | 315 | # Tabs Studio 316 | *.tss 317 | 318 | # Telerik's JustMock configuration file 319 | *.jmconfig 320 | 321 | # BizTalk build output 322 | *.btp.cs 323 | *.btm.cs 324 | *.odx.cs 325 | *.xsd.cs 326 | 327 | # OpenCover UI analysis results 328 | OpenCover/ 329 | 330 | # Azure Stream Analytics local run output 331 | ASALocalRun/ 332 | 333 | # MSBuild Binary and Structured Log 334 | *.binlog 335 | 336 | # NVidia Nsight GPU debugger configuration file 337 | *.nvuser 338 | 339 | # MFractors (Xamarin productivity tool) working folder 340 | .mfractor/ 341 | 342 | # Local History for Visual Studio 343 | .localhistory/ 344 | 345 | # BeatPulse healthcheck temp database 346 | healthchecksdb 347 | 348 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 349 | MigrationBackup/ 350 | 351 | # Ionide (cross platform F# VS Code tools) working folder 352 | .ionide/ 353 | -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Flow.Launcher.Plugin.Template 4 | Flow-Launcher Plugin template for dotnet-new. 5 | A dotnet-new template to start off plugins for the Flow Launcher. 6 | Flow-Launcher 7 | https://github.com/Flow-Launcher/dotnet-template 8 | MIT 9 | Readme.md 10 | https://github.com/Flow-Launcher/dotnet-template.git 11 | flow-launcher;flow-plugin;template;dotnet-new 12 | en-US 13 | Template 14 | 4.2.0 15 | - update Flow.Launcher.Plugin to 4.4.0 16 | true 17 | true 18 | false 19 | true 20 | content 21 | netstandard0.0 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Aa][Rr][Mm]/ 27 | [Aa][Rr][Mm]64/ 28 | bld/ 29 | [Bb]in/ 30 | [Oo]bj/ 31 | [Ll]og/ 32 | 33 | # Visual Studio 2015/2017 cache/options directory 34 | .vs/ 35 | # Uncomment if you have tasks that create the project's static files in wwwroot 36 | #wwwroot/ 37 | 38 | # Visual Studio 2017 auto generated files 39 | Generated\ Files/ 40 | 41 | # MSTest test Results 42 | [Tt]est[Rr]esult*/ 43 | [Bb]uild[Ll]og.* 44 | 45 | # NUnit 46 | *.VisualState.xml 47 | TestResult.xml 48 | nunit-*.xml 49 | 50 | # Build Results of an ATL Project 51 | [Dd]ebugPS/ 52 | [Rr]eleasePS/ 53 | dlldata.c 54 | 55 | # Benchmark Results 56 | BenchmarkDotNet.Artifacts/ 57 | 58 | # .NET Core 59 | project.lock.json 60 | project.fragment.lock.json 61 | artifacts/ 62 | 63 | # StyleCop 64 | StyleCopReport.xml 65 | 66 | # Files built by Visual Studio 67 | *_i.c 68 | *_p.c 69 | *_h.h 70 | *.ilk 71 | *.meta 72 | *.obj 73 | *.iobj 74 | *.pch 75 | *.pdb 76 | *.ipdb 77 | *.pgc 78 | *.pgd 79 | *.rsp 80 | *.sbr 81 | *.tlb 82 | *.tli 83 | *.tlh 84 | *.tmp 85 | *.tmp_proj 86 | *_wpftmp.csproj 87 | *.log 88 | *.vspscc 89 | *.vssscc 90 | .builds 91 | *.pidb 92 | *.svclog 93 | *.scc 94 | 95 | # Chutzpah Test files 96 | _Chutzpah* 97 | 98 | # Visual C++ cache files 99 | ipch/ 100 | *.aps 101 | *.ncb 102 | *.opendb 103 | *.opensdf 104 | *.sdf 105 | *.cachefile 106 | *.VC.db 107 | *.VC.VC.opendb 108 | 109 | # Visual Studio profiler 110 | *.psess 111 | *.vsp 112 | *.vspx 113 | *.sap 114 | 115 | # Visual Studio Trace Files 116 | *.e2e 117 | 118 | # TFS 2012 Local Workspace 119 | $tf/ 120 | 121 | # Guidance Automation Toolkit 122 | *.gpState 123 | 124 | # ReSharper is a .NET coding add-in 125 | _ReSharper*/ 126 | *.[Rr]e[Ss]harper 127 | *.DotSettings.user 128 | 129 | # JustCode is a .NET coding add-in 130 | .JustCode 131 | 132 | # TeamCity is a build add-in 133 | _TeamCity* 134 | 135 | # DotCover is a Code Coverage Tool 136 | *.dotCover 137 | 138 | # AxoCover is a Code Coverage Tool 139 | .axoCover/* 140 | !.axoCover/settings.json 141 | 142 | # Visual Studio code coverage results 143 | *.coverage 144 | *.coveragexml 145 | 146 | # NCrunch 147 | _NCrunch_* 148 | .*crunch*.local.xml 149 | nCrunchTemp_* 150 | 151 | # MightyMoose 152 | *.mm.* 153 | AutoTest.Net/ 154 | 155 | # Web workbench (sass) 156 | .sass-cache/ 157 | 158 | # Installshield output folder 159 | [Ee]xpress/ 160 | 161 | # DocProject is a documentation generator add-in 162 | DocProject/buildhelp/ 163 | DocProject/Help/*.HxT 164 | DocProject/Help/*.HxC 165 | DocProject/Help/*.hhc 166 | DocProject/Help/*.hhk 167 | DocProject/Help/*.hhp 168 | DocProject/Help/Html2 169 | DocProject/Help/html 170 | 171 | # Click-Once directory 172 | publish/ 173 | 174 | # Publish Web Output 175 | *.[Pp]ublish.xml 176 | *.azurePubxml 177 | # Note: Comment the next line if you want to checkin your web deploy settings, 178 | # but database connection strings (with potential passwords) will be unencrypted 179 | *.pubxml 180 | *.publishproj 181 | 182 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 183 | # checkin your Azure Web App publish settings, but sensitive information contained 184 | # in these scripts will be unencrypted 185 | PublishScripts/ 186 | 187 | # NuGet Packages 188 | *.nupkg 189 | # NuGet Symbol Packages 190 | *.snupkg 191 | # The packages folder can be ignored because of Package Restore 192 | **/[Pp]ackages/* 193 | # except build/, which is used as an MSBuild target. 194 | !**/[Pp]ackages/build/ 195 | # Uncomment if necessary however generally it will be regenerated when needed 196 | #!**/[Pp]ackages/repositories.config 197 | # NuGet v3's project.json files produces more ignorable files 198 | *.nuget.props 199 | *.nuget.targets 200 | 201 | # Microsoft Azure Build Output 202 | csx/ 203 | *.build.csdef 204 | 205 | # Microsoft Azure Emulator 206 | ecf/ 207 | rcf/ 208 | 209 | # Windows Store app package directories and files 210 | AppPackages/ 211 | BundleArtifacts/ 212 | Package.StoreAssociation.xml 213 | _pkginfo.txt 214 | *.appx 215 | *.appxbundle 216 | *.appxupload 217 | 218 | # Visual Studio cache files 219 | # files ending in .cache can be ignored 220 | *.[Cc]ache 221 | # but keep track of directories ending in .cache 222 | !?*.[Cc]ache/ 223 | 224 | # Others 225 | ClientBin/ 226 | ~$* 227 | *~ 228 | *.dbmdl 229 | *.dbproj.schemaview 230 | *.jfm 231 | *.pfx 232 | *.publishsettings 233 | orleans.codegen.cs 234 | 235 | # Including strong name files can present a security risk 236 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 237 | #*.snk 238 | 239 | # Since there are multiple workflows, uncomment next line to ignore bower_components 240 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 241 | #bower_components/ 242 | 243 | # RIA/Silverlight projects 244 | Generated_Code/ 245 | 246 | # Backup & report files from converting an old project file 247 | # to a newer Visual Studio version. Backup files are not needed, 248 | # because we have git ;-) 249 | _UpgradeReport_Files/ 250 | Backup*/ 251 | UpgradeLog*.XML 252 | UpgradeLog*.htm 253 | ServiceFabricBackup/ 254 | *.rptproj.bak 255 | 256 | # SQL Server files 257 | *.mdf 258 | *.ldf 259 | *.ndf 260 | 261 | # Business Intelligence projects 262 | *.rdl.data 263 | *.bim.layout 264 | *.bim_*.settings 265 | *.rptproj.rsuser 266 | *- [Bb]ackup.rdl 267 | *- [Bb]ackup ([0-9]).rdl 268 | *- [Bb]ackup ([0-9][0-9]).rdl 269 | 270 | # Microsoft Fakes 271 | FakesAssemblies/ 272 | 273 | # GhostDoc plugin setting file 274 | *.GhostDoc.xml 275 | 276 | # Node.js Tools for Visual Studio 277 | .ntvs_analysis.dat 278 | node_modules/ 279 | 280 | # Visual Studio 6 build log 281 | *.plg 282 | 283 | # Visual Studio 6 workspace options file 284 | *.opt 285 | 286 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 287 | *.vbw 288 | 289 | # Visual Studio LightSwitch build output 290 | **/*.HTMLClient/GeneratedArtifacts 291 | **/*.DesktopClient/GeneratedArtifacts 292 | **/*.DesktopClient/ModelManifest.xml 293 | **/*.Server/GeneratedArtifacts 294 | **/*.Server/ModelManifest.xml 295 | _Pvt_Extensions 296 | 297 | # Paket dependency manager 298 | .paket/paket.exe 299 | paket-files/ 300 | 301 | # FAKE - F# Make 302 | .fake/ 303 | 304 | # CodeRush personal settings 305 | .cr/personal 306 | 307 | # Python Tools for Visual Studio (PTVS) 308 | __pycache__/ 309 | *.pyc 310 | 311 | # Cake - Uncomment if you are using it 312 | # tools/** 313 | # !tools/packages.config 314 | 315 | # Tabs Studio 316 | *.tss 317 | 318 | # Telerik's JustMock configuration file 319 | *.jmconfig 320 | 321 | # BizTalk build output 322 | *.btp.cs 323 | *.btm.cs 324 | *.odx.cs 325 | *.xsd.cs 326 | 327 | # OpenCover UI analysis results 328 | OpenCover/ 329 | 330 | # Azure Stream Analytics local run output 331 | ASALocalRun/ 332 | 333 | # MSBuild Binary and Structured Log 334 | *.binlog 335 | 336 | # NVidia Nsight GPU debugger configuration file 337 | *.nvuser 338 | 339 | # MFractors (Xamarin productivity tool) working folder 340 | .mfractor/ 341 | 342 | # Local History for Visual Studio 343 | .localhistory/ 344 | 345 | # BeatPulse healthcheck temp database 346 | healthchecksdb 347 | 348 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 349 | MigrationBackup/ 350 | 351 | # Ionide (cross platform F# VS Code tools) working folder 352 | .ionide/ 353 | -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/.template.config/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/template", 3 | "author": "Ioannis G.", 4 | "classifications": [ "Library", "Plugin", "Flow-Launcher" ], 5 | "name": "Plugin for the Flow launcher", 6 | "identity": "Flow.Launcher.Plugin", 7 | "shortName": "flow-plugin", 8 | "tags": { 9 | "language": "C#", 10 | "type":"project" 11 | }, 12 | "sourceName": "MyFlowPlugin", 13 | "preferNameDirectory": false, 14 | "symbols":{ 15 | "pluginId": { 16 | "type": "generated", 17 | "generator": "guid", 18 | "replaces":"PluginId", 19 | "parameters": { 20 | "defaultFormat":"N" 21 | } 22 | }, 23 | "pluginAuthor": { 24 | "type": "parameter", 25 | "defaultValue": "AuthorName", 26 | "replaces":"PluginAuthor" 27 | }, 28 | "keyword": { 29 | "type": "parameter", 30 | "defaultValue": "*", 31 | "replaces":"PluginActionKeyword" 32 | }, 33 | "description": { 34 | "type": "parameter", 35 | "defaultValue": "a new plugin for Flow", 36 | "replaces":"PluginDescription" 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/Flow.Launcher.Plugin.MyFlowPlugin/Flow.Launcher.Plugin.MyFlowPlugin.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net7.0-windows 5 | Flow.Launcher.Plugin.MyFlowPlugin 6 | Flow.Launcher.Plugin.MyFlowPlugin 7 | PluginAuthor 8 | https://github.com/PluginAuthor/Flow.Launcher.Plugin.MyFlowPlugin 9 | https://github.com/PluginAuthor/Flow.Launcher.Plugin.MyFlowPlugin 10 | flow-launcher flow-plugin 11 | true 12 | false 13 | true 14 | 15 | 16 | 17 | false 18 | None 19 | 20 | 21 | 22 | 23 | Always 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/Flow.Launcher.Plugin.MyFlowPlugin/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Flow.Launcher.Plugin; 4 | 5 | namespace Flow.Launcher.Plugin.MyFlowPlugin 6 | { 7 | public class MyFlowPlugin : IPlugin 8 | { 9 | private PluginInitContext _context; 10 | 11 | public void Init(PluginInitContext context) 12 | { 13 | _context = context; 14 | } 15 | 16 | public List Query(Query query) 17 | { 18 | return new List(); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/Flow.Launcher.Plugin.MyFlowPlugin/plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "ID": "PluginId", 3 | "ActionKeyword": "PluginActionKeyword", 4 | "Name": "MyFlowPlugin", 5 | "Description": "PluginDescription", 6 | "Author": "PluginAuthor", 7 | "Version": "1.0.0", 8 | "Language": "csharp", 9 | "Website": "https://github.com/PluginAuthor/Flow.Launcher.Plugin.MyFlowPlugin", 10 | "IcoPath": "icon.png", 11 | "ExecuteFileName": "Flow.Launcher.Plugin.MyFlowPlugin.dll" 12 | } -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/Readme.md: -------------------------------------------------------------------------------- 1 | Flow.Launcher.Plugin.MyFlowPlugin 2 | ================== 3 | 4 | A plugin for the [Flow launcher](https://github.com/Flow-Launcher/Flow.Launcher). 5 | 6 | ### Usage 7 | 8 | PluginActionKeyword -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 1.0.0.{build} 2 | image: Visual Studio 2022 3 | 4 | environment: 5 | DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true 6 | DOTNET_CLI_TELEMETRY_OPTOUT: 1 7 | 8 | build_script: 9 | - ps: dotnet publish -c Release -r win-x64 --no-self-contained Flow.Launcher.Plugin.MyFlowPlugin/Flow.Launcher.Plugin.MyFlowPlugin.csproj 10 | 11 | after_build: 12 | - ps: Compress-Archive -Path "Flow.Launcher.Plugin.MyFlowPlugin\bin\Release\win-x64\publish\*" -DestinationPath "Flow.Launcher.Plugin.MyFlowPlugin.zip" 13 | 14 | artifacts: 15 | - path: 'Flow.Launcher.Plugin.MyFlowPlugin.zip' -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/debug.ps1: -------------------------------------------------------------------------------- 1 | dotnet publish Flow.Launcher.Plugin.MyFlowPlugin -c Debug -r win-x64 --no-self-contained 2 | 3 | $AppDataFolder = [Environment]::GetFolderPath("ApplicationData") 4 | $flowLauncherExe = "$env:LOCALAPPDATA\FlowLauncher\Flow.Launcher.exe" 5 | 6 | if (Test-Path $flowLauncherExe) { 7 | Stop-Process -Name "Flow.Launcher" -Force -ErrorAction SilentlyContinue 8 | Start-Sleep -Seconds 2 9 | 10 | if (Test-Path "$AppDataFolder\FlowLauncher\Plugins\MyFlowPlugin") { 11 | Remove-Item -Recurse -Force "$AppDataFolder\FlowLauncher\Plugins\MyFlowPlugin" 12 | } 13 | 14 | Copy-Item "Flow.Launcher.Plugin.MyFlowPlugin\bin\Debug\win-x64\publish" "$AppDataFolder\FlowLauncher\Plugins\" -Recurse -Force 15 | Rename-Item -Path "$AppDataFolder\FlowLauncher\Plugins\publish" -NewName "MyFlowPlugin" 16 | 17 | Start-Sleep -Seconds 2 18 | Start-Process $flowLauncherExe 19 | } else { 20 | Write-Host "Flow.Launcher.exe not found. Please install Flow Launcher first" 21 | } 22 | -------------------------------------------------------------------------------- /Flow.Launcher.Plugin.Template/release.ps1: -------------------------------------------------------------------------------- 1 | dotnet publish Flow.Launcher.Plugin.MyFlowPlugin -c Release -r win-x64 --no-self-contained 2 | Compress-Archive -LiteralPath Flow.Launcher.Plugin.MyFlowPlugin/bin/Release/win-x64/publish -DestinationPath Flow.Launcher.Plugin.MyFlowPlugin/bin/MyFlowPlugin.zip -Force -------------------------------------------------------------------------------- /License: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Flow-Launcher Team 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | Flow-Launcher dotnet-new template [![Build status](https://ci.appveyor.com/api/projects/status/nii6rmp022mn4yp6?svg=true)](https://ci.appveyor.com/project/JohnTheGr8/dotnet-template) 2 | ================== 3 | 4 | A dotnet CLI template to start off plugins for the [Flow Launcher](https://github.com/Flow-Launcher/Flow.Launcher). 5 | 6 | ### Installation 7 | 8 | Install the template by running the following command: 9 | 10 | dotnet new install Flow.Launcher.Plugin.Template 11 | 12 | ### Usage 13 | 14 | dotnet new flow-plugin --name SamplePlugin --pluginAuthor YourGithubUsername 15 | 16 | for example, to start a plugin for `Spotify` with the `sp` keyword and a description, you would run: 17 | 18 | ```ps 19 | dotnet new flow-plugin --name Spotify --keyword sp --pluginAuthor MyNameOnGithub --description "a Spotify plugin for Flow-Launcher" 20 | ``` 21 | 22 | ### Options 23 | 24 | | Option | Description | 25 | | --------------- | ------------------------------------------------------------------------------------------------------- | 26 | | `--name` | The name of the plugin. Entering `SamplePlugin` will be expanded to `Flow.Launcher.Plugin.SamplePlugin` | 27 | | `--pluginAuthor`| The username of the author. Will be used as the username in Github links. | 28 | | `--keyword` | The action keyword of the plugin. Default value is `*` | 29 | | `--description` | The description of the plugin that will be used in `plugin.json` and appear in the UI. | 30 | 31 | ### Next steps 32 | 33 | After generating the source files for your new plugin: 34 | 35 | - check the `.csproj` file and `plugin.json` to verify the details are correct 36 | - optionally, add an icon named `icon.png` inside the project folder 37 | - open `Main.cs` and start writing your new plugin 38 | 39 | ### Uninstall 40 | 41 | dotnet new uninstall Flow.Launcher.Plugin.Template 42 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | version: '4.2.0.{build}' 2 | 3 | image: Visual Studio 2022 4 | 5 | environment: 6 | DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true 7 | DOTNET_CLI_TELEMETRY_OPTOUT: true 8 | 9 | build_script: 10 | - ps: dotnet pack -c Release 11 | 12 | test_script: 13 | - ps: dotnet new install bin/Release/*.nupkg 14 | - ps: dotnet new -o ./test flow-plugin --name TestPlugin --keyword ci --pluginAuthor AppVeyor --description "a test plugin from CI" 15 | - ps: dotnet publish -c Release -r win-x64 --no-self-contained ./test/Flow.Launcher.Plugin.TestPlugin 16 | - ps: Compress-Archive -Path ./test/Flow.Launcher.Plugin.TestPlugin/bin/Release/win-x64/publish/* -DestinationPath plugin.zip -Force 17 | 18 | artifacts: 19 | - path: bin\Release\*.nupkg 20 | 21 | deploy: 22 | provider: NuGet 23 | api_key: 24 | secure: nHfoxcTrdV1BqK3pz9KPfn0ucQDhp14BoED0xVyd5BsRTGUQ3hwHUhWjFx/wTX7u 25 | on: 26 | APPVEYOR_REPO_TAG: true 27 | --------------------------------------------------------------------------------