mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-10 18:06:37 +02:00
Rename MatrixAssetName to BundleName
This commit is contained in:
parent
5f83349f77
commit
bff2b7d8e2
2 changed files with 7 additions and 7 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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'}}"
|
||||
|
|
|
@ -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 = @"
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>$MatrixAssetName</string>
|
||||
<string>$BundleName</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$MatrixAssetName</string>
|
||||
<string>$BundleName</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$MatrixAssetName</string>
|
||||
<string>$BundleName</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>© Oleksii Holub</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>me.Tyrrrz.$MatrixAssetName</string>
|
||||
<string>me.Tyrrrz.$BundleName</string>
|
||||
<key>CFBundleSpokenName</key>
|
||||
<string>Discord Chat Exporter</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue