fix
This commit is contained in:
@@ -25,17 +25,6 @@ jobs:
|
|||||||
echo "API_URL=${{ secrets.API_URL }}" >> .env
|
echo "API_URL=${{ secrets.API_URL }}" >> .env
|
||||||
echo "NODE_ENV=production" >> .env
|
echo "NODE_ENV=production" >> .env
|
||||||
|
|
||||||
- name: Verify icon file exists
|
|
||||||
working-directory: electron-app
|
|
||||||
run: |
|
|
||||||
if (Test-Path "resources/icons/icon.ico") {
|
|
||||||
Write-Host "Icon file found"
|
|
||||||
Get-Item "resources/icons/icon.ico" | Select-Object FullName, Length
|
|
||||||
} else {
|
|
||||||
Write-Error "Icon file not found!"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: Build TypeScript
|
- name: Build TypeScript
|
||||||
working-directory: electron-app
|
working-directory: electron-app
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ win:
|
|||||||
target:
|
target:
|
||||||
- portable
|
- portable
|
||||||
artifactName: ${productName}-${version}-${arch}.${ext}
|
artifactName: ${productName}-${version}-${arch}.${ext}
|
||||||
icon: null
|
icon: resources/icons/icon.ico
|
||||||
mac:
|
mac:
|
||||||
target:
|
target:
|
||||||
- dmg
|
- dmg
|
||||||
|
|||||||
Reference in New Issue
Block a user