mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-09-26 19:21:13 +08:00
fix: incorrect bundle name on macOS due to project name changed in wails.json
This commit is contained in:
1
.github/workflows/release-macos.yaml
vendored
1
.github/workflows/release-macos.yaml
vendored
@@ -102,6 +102,7 @@ jobs:
|
||||
shell: bash
|
||||
working-directory: ./build
|
||||
run: |
|
||||
mv bin/tinyrdm.app "bin/Tiny RDM.app"
|
||||
./create-dmg/create-dmg \
|
||||
--no-internet-enable \
|
||||
--volname "Tiny RDM" \
|
||||
|
4
.github/workflows/release-windows.yaml
vendored
4
.github/workflows/release-windows.yaml
vendored
@@ -113,11 +113,11 @@ jobs:
|
||||
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.WIN_SIGNING_CERT }}'
|
||||
certutil -decode certificate\certificate.txt certificate\certificate.pfx
|
||||
echo "Signing TinyRDM installer"
|
||||
& 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe' sign /td sha256 /tr http://timestamp.sectigo.com/?td=sha256 /f certificate\certificate.pfx /p '${{ secrets.WIN_SIGNING_CERT_PASSWORD }}' 'Tiny RDM-${{ steps.normalise_platform_name.outputs.pname }}-installer.exe'
|
||||
& 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe' sign /td sha256 /tr http://timestamp.sectigo.com/?td=sha256 /f certificate\certificate.pfx /p '${{ secrets.WIN_SIGNING_CERT_PASSWORD }}' 'TinyRDM-${{ steps.normalise_platform_name.outputs.pname }}-installer.exe'
|
||||
|
||||
- name: Rename installer
|
||||
working-directory: ./build/bin
|
||||
run: Rename-Item -Path "Tiny RDM-${{ steps.normalise_platform_name.outputs.pname }}-installer.exe" -NewName "TinyRDM_Setup_${{ steps.normalise_version.outputs.version }}_${{ steps.normalise_platform.outputs.tag }}.exe"
|
||||
run: Rename-Item -Path "TinyRDM-${{ steps.normalise_platform_name.outputs.pname }}-installer.exe" -NewName "TinyRDM_Setup_${{ steps.normalise_version.outputs.version }}_${{ steps.normalise_platform.outputs.tag }}.exe"
|
||||
|
||||
- name: Upload release asset (Installer)
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<key>CFBundleName</key>
|
||||
<string>{{.Info.ProductName}}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>{{.Name}}</string>
|
||||
<string>{{.Info.ProductName}}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.tinycraft.{{.Name}}</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<key>CFBundleName</key>
|
||||
<string>{{.Info.ProductName}}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>{{.Name}}</string>
|
||||
<string>{{.Info.ProductName}}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.tinycraft.{{.Name}}</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://wails.io/schemas/config.v2.json",
|
||||
"name": "Tiny RDM",
|
||||
"name": "tinyrdm",
|
||||
"outputfilename": "Tiny RDM",
|
||||
"frontend:install": "npm install",
|
||||
"frontend:build": "npm run build",
|
||||
|
Reference in New Issue
Block a user