chore(desktop): switch Tauri icon to icons/raven.png and bump version to 0.1.2
This commit is contained in:
parent
418599ef62
commit
eaea5a6da6
4 changed files with 17 additions and 7 deletions
7
.github/workflows/ci-cd-web-desktop.yml
vendored
7
.github/workflows/ci-cd-web-desktop.yml
vendored
|
|
@ -362,6 +362,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
projectPath: apps/desktop
|
projectPath: apps/desktop
|
||||||
|
|
||||||
|
- name: Inject Tauri public key (post)
|
||||||
|
if: ${{ secrets.TAURI_PUBLIC_KEY != '' }}
|
||||||
|
env:
|
||||||
|
TAURI_PUBLIC_KEY: ${{ secrets.TAURI_PUBLIC_KEY }}
|
||||||
|
run: |
|
||||||
|
sed -i "s/REPLACE_WITH_TAURI_PUBLIC_KEY/${TAURI_PUBLIC_KEY//\//\\\/}/" apps/desktop/src-tauri/tauri.conf.json || true
|
||||||
|
|
||||||
- name: Upload latest.json + bundles to VPS
|
- name: Upload latest.json + bundles to VPS
|
||||||
uses: appleboy/scp-action@v0.1.7
|
uses: appleboy/scp-action@v0.1.7
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
9
.github/workflows/desktop-release.yml
vendored
9
.github/workflows/desktop-release.yml
vendored
|
|
@ -50,6 +50,14 @@ jobs:
|
||||||
- name: Install pnpm deps
|
- name: Install pnpm deps
|
||||||
run: pnpm -C apps/desktop install --frozen-lockfile
|
run: pnpm -C apps/desktop install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Inject Tauri public key
|
||||||
|
if: ${{ secrets.TAURI_PUBLIC_KEY != '' }}
|
||||||
|
env:
|
||||||
|
TAURI_PUBLIC_KEY: ${{ secrets.TAURI_PUBLIC_KEY }}
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
sed -i "s/REPLACE_WITH_TAURI_PUBLIC_KEY/${TAURI_PUBLIC_KEY//\//\\\/}/" apps/desktop/src-tauri/tauri.conf.json
|
||||||
|
|
||||||
- name: Build desktop
|
- name: Build desktop
|
||||||
env:
|
env:
|
||||||
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
|
|
@ -63,4 +71,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: desktop-${{ matrix.platform }}
|
name: desktop-${{ matrix.platform }}
|
||||||
path: apps/desktop/src-tauri/target/release/bundle
|
path: apps/desktop/src-tauri/target/release/bundle
|
||||||
|
|
||||||
|
|
|
||||||
BIN
apps/desktop/src-tauri/icons/Raven.png
Normal file
BIN
apps/desktop/src-tauri/icons/Raven.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "Raven",
|
"productName": "Raven",
|
||||||
"version": "0.1.0",
|
"version": "0.1.2",
|
||||||
"identifier": "br.com.esdrasrenan.sistemadechamados",
|
"identifier": "br.com.esdrasrenan.sistemadechamados",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "pnpm run dev",
|
"beforeDevCommand": "pnpm run dev",
|
||||||
|
|
@ -35,11 +35,7 @@
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": "all",
|
"targets": "all",
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/raven.png"
|
||||||
"icons/128x128.png",
|
|
||||||
"icons/128x128@2x.png",
|
|
||||||
"icons/icon.icns",
|
|
||||||
"icons/icon.ico"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue