Skip to content

Commit

Permalink
🩹
Browse files Browse the repository at this point in the history
  • Loading branch information
hlaueriksson committed Jul 10, 2024
1 parent 403cfad commit 435a9d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GEmojiSharp.Blazor.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Update the `_Imports.razor` file, to enable the component in all Razor views:
@using GEmojiSharp.Blazor
```

> [!NOTE]
> ℹ️
> In a Blazor Web App (.NET 8 or later), the component requires an interactive render mode applied either globally to the app or to the component definition.
Set the global render mode in `App.razor`:
Expand Down
5 changes: 3 additions & 2 deletions src/GEmojiSharp.PowerToysRun/pack.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ foreach ($platform in $platforms)
Exit $LastExitCode
}

$name = ((Split-Path -Path $PWD -Leaf).Split(".")[0]) # -1 last
$name = Split-Path -Path $PWD -Leaf
$folder = $name.Split(".")[0] # -1 last

Write-Output "Pack: $name"

$output = ".\bin\$platform\Release\net8.0-windows\"
$destination = ".\bin\$platform\$name"
$destination = ".\bin\$platform\$folder"
$zip = ".\bin\$platform\$name-$version-$($platform.ToLower()).zip"

Copy-Item -Path $output -Destination $destination -Recurse -Exclude $libs
Expand Down
4 changes: 2 additions & 2 deletions src/GEmojiSharp.PowerToysRun/release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $platforms = "$($props.Project.PropertyGroup.Platforms)".Trim() -split ";"
$result = "release-$version.md"

$projectUri = "https://github.com/hlaueriksson/GEmojiSharp"
$name = ((Split-Path -Path $PWD -Leaf).Split(".")[0]) # -1 last
$name = Split-Path -Path $PWD -Leaf
$files = Get-ChildItem -Path . -File -Include "$name-$version*.zip" -Recurse

function Write-Line {
Expand Down Expand Up @@ -79,7 +79,7 @@ foreach ($file in $files) {
}
Write-Line ""

Write-Line "## Installer Hashes"
Write-Line "### Installer Hashes"
Write-Line ""
Write-Line "| Filename | SHA256 Hash"
Write-Line "| --- | ---"
Expand Down

0 comments on commit 435a9d4

Please sign in to comment.