From bff2b7d8e23017dbe488d39cb7daae6cd7a5a0bc Mon Sep 17 00:00:00 2001 From: Yudi <12040397+Yudi@users.noreply.github.com> Date: Fri, 9 May 2025 18:06:48 -0300 Subject: [PATCH] Rename MatrixAssetName to BundleName --- .github/workflows/main.yml | 2 +- bundle-macos-app.ps1 | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 93f1c753..9b97387d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -143,7 +143,7 @@ jobs: shell: pwsh run: > ./bundle-macos-app.ps1 - -MatrixAssetName "${{ matrix.asset }}" + -BundleName "${{ matrix.asset }}" -MatrixAppPath "${{ matrix.app }}" -PublishDir "${{ matrix.app }}/bin/publish/" -Version "${{ github.ref_type == 'tag' && github.ref_name || '999.9.9'}}" diff --git a/bundle-macos-app.ps1 b/bundle-macos-app.ps1 index 25c901bd..12c4df51 100644 --- a/bundle-macos-app.ps1 +++ b/bundle-macos-app.ps1 @@ -1,6 +1,6 @@ param( [Parameter(Mandatory=$true)] - [string]$MatrixAssetName, + [string]$BundleName, [Parameter(Mandatory=$true)] [string]$PublishDir, @@ -13,7 +13,7 @@ param( ) # Setup paths -$appName = "$MatrixAssetName.app" +$appName = "$BundleName.app" $appDir = Join-Path "bundle-macos-app-staging" $appName $contentsDir = Join-Path $appDir "Contents" $macosDir = Join-Path $contentsDir "MacOS" @@ -33,15 +33,15 @@ $plistContent = @" CFBundleDisplayName - $MatrixAssetName + $BundleName CFBundleName - $MatrixAssetName + $BundleName CFBundleExecutable - $MatrixAssetName + $BundleName NSHumanReadableCopyright © Oleksii Holub CFBundleIdentifier - me.Tyrrrz.$MatrixAssetName + me.Tyrrrz.$BundleName CFBundleSpokenName Discord Chat Exporter CFBundleIconFile