Skip to content

Commit

Permalink
Merge pull request #5 from steinerd/bugfix/marketplace-deploy
Browse files Browse the repository at this point in the history
fix(pathing): Fixing Mac & Windows pathing
  • Loading branch information
steinerd authored Sep 27, 2022
2 parents d2cf3ea + 933d336 commit fe5d7ad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

**Submitting a...**
<!-- Please check ONE, or write-in additional option if options provided are not applicable -->
[ ] Bug report
[ ] Feature request
- [ ] Bug report
- [ ] Feature request

**Current behavior:**
<!-- Describe how the bug manifests. Leave blank if feature -->
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion WebhooksPlugin/WebhooksPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class WebhooksPlugin : Plugin
/// <summary>
/// Default path to search for webhook .har files.
/// </summary>
internal const string DEFAULT_PATH = @".loupedeck\webhooks";
internal static readonly string DEFAULT_PATH = Path.Combine(".loupedeck","webhooks");

/// <summary>
/// Gets thread-safe readonly User Profile path.
Expand Down
4 changes: 2 additions & 2 deletions build-plugin.ps1
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fe5d7ad

Please sign in to comment.