diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 1801de1..0261479 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -3,8 +3,8 @@ **Submitting a...** -[ ] Bug report -[ ] Feature request +- [ ] Bug report +- [ ] Feature request **Current behavior:** diff --git a/README.md b/README.md index fa6546e..f0ba51c 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ There are numerous ways to create them, or export them in many different applica An example HAR file for a fake IFTTT call can be found here: [example.har](example.har) -__All HAR Files must be saved to `%userprofile%\.loupedeck\webhooks`__ +__All HAR Files must be saved to `%userprofile%/.loupedeck/webhooks`__ You can have multiple `*.har` files with multiple requests, or one `.har` with all the requests. The plugin will treat them the same. diff --git a/WebhooksPlugin/WebhooksPlugin.cs b/WebhooksPlugin/WebhooksPlugin.cs index e2b763f..99bb9f6 100644 --- a/WebhooksPlugin/WebhooksPlugin.cs +++ b/WebhooksPlugin/WebhooksPlugin.cs @@ -11,7 +11,7 @@ public class WebhooksPlugin : Plugin /// /// Default path to search for webhook .har files. /// - internal const string DEFAULT_PATH = @".loupedeck\webhooks"; + internal static readonly string DEFAULT_PATH = Path.Combine(".loupedeck","webhooks"); /// /// Gets thread-safe readonly User Profile path. diff --git a/build-plugin.ps1 b/build-plugin.ps1 index 9e2b546..73346ea 100644 --- a/build-plugin.ps1 +++ b/build-plugin.ps1 @@ -1,10 +1,10 @@ $version = "1.0.1" $project = "Webhooks" $dllName = "WebhooksPlugin.dll" -$dllPath = "$($env:LOCALAPPDATA)\Loupedeck\Plugins\$project" +$dllPath = "$($env:LOCALAPPDATA)/Loupedeck/Plugins/$project" $buildPath = ".builds" $outputFileName = "$project" -$zipPath = "$buildPath\$outputFileName.zip" +$zipPath = "$buildPath/$outputFileName.zip" $pluginName = "$outputFileName.lplug4" $loupedeckYaml = "LoupedeckPackage.yaml" $cwd = Get-Location