File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 9494 shell : bash
9595 run : |
9696 content=$(cat build/linux/tiny-rdm_0.0.0_amd64/DEBIAN/control)
97- content=$(echo "$content" | sed -e "s/{{.Name}}/$(jq -r '.name' wails.json)/g")
97+ name=$(jq -r '.name' wails.json | tr -d ' ' | tr '[:upper:]' '[:lower:]')
98+ content=$(echo "$content" | sed -e "s/{{.Name}}/$name/g")
9899 content=$(echo "$content" | sed -e "s/{{.Info.ProductVersion}}/$(jq -r '.info.productVersion' wails.json)/g")
99100 content=$(echo "$content" | sed -e "s/{{.Author.Name}}/$(jq -r '.author.name' wails.json)/g")
100101 content=$(echo "$content" | sed -e "s/{{.Author.Email}}/$(jq -r '.author.email' wails.json)/g")
Original file line number Diff line number Diff line change 9393 shell : bash
9494 run : |
9595 content=$(cat build/linux/tiny-rdm_0.0.0_amd64/DEBIAN/control)
96- content=$(echo "$content" | sed -e "s/{{.Name}}/$(jq -r '.name' wails.json)/g")
96+ name=$(jq -r '.name' wails.json | tr -d ' ' | tr '[:upper:]' '[:lower:]')
97+ content=$(echo "$content" | sed -e "s/{{.Name}}/$name/g")
9798 content=$(echo "$content" | sed -e "s/{{.Info.ProductVersion}}/$(jq -r '.info.productVersion' wails.json)/g")
9899 content=$(echo "$content" | sed -e "s/{{.Author.Name}}/$(jq -r '.author.name' wails.json)/g")
99100 content=$(echo "$content" | sed -e "s/{{.Author.Email}}/$(jq -r '.author.email' wails.json)/g")
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ jobs:
102102 shell : bash
103103 working-directory : ./build
104104 run : |
105- mv bin/tinyrdm.app "bin/Tiny RDM.app"
106105 ./create-dmg/create-dmg \
107106 --no-internet-enable \
108107 --volname "Tiny RDM" \
Original file line number Diff line number Diff line change @@ -113,11 +113,11 @@ jobs:
113113 Set-Content -Path certificate\certificate.txt -Value '${{ secrets.WIN_SIGNING_CERT }}'
114114 certutil -decode certificate\certificate.txt certificate\certificate.pfx
115115 echo "Signing TinyRDM installer"
116- & '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
116+ & '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'
117117
118118 - name : Rename installer
119119 working-directory : ./build/bin
120- 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"
120+ 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"
121121
122122 - name : Upload release asset (Installer)
123123 uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://wails.io/schemas/config.v2.json" ,
3- "name" : " tinyrdm " ,
3+ "name" : " Tiny RDM " ,
44 "outputfilename" : " Tiny RDM" ,
55 "frontend:install" : " npm install" ,
66 "frontend:build" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments