chore: change app logo for jan beta and nightly version

This commit is contained in:
Minh141120 2025-02-20 21:32:20 +07:00
parent 046e8d5094
commit bd7113aa74
12 changed files with 34 additions and 6 deletions

View File

@ -9,10 +9,24 @@ jobs:
get-update-version: get-update-version:
uses: ./.github/workflows/template-get-update-version.yml uses: ./.github/workflows/template-get-update-version.yml
rename-icons-beta:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Replace Icons for Beta Build
run: |
mv electron/icons/jan-beta-512x512.png electron/icons/512x512.png
mv electron/icons/jan-beta.ico electron/icons/icon.ico
mv electron/icons/jan-beta.png electron/icons/icon.png
mv electron/icons/jan-beta-tray@2x.png electron/icons/icon-tray@2x.png
mv electron/icons/jan-beta-tray.png electron/icons/icon-tray.png
build-macos: build-macos:
uses: ./.github/workflows/template-build-macos.yml uses: ./.github/workflows/template-build-macos.yml
secrets: inherit secrets: inherit
needs: [get-update-version] needs: [rename-icons-beta, get-update-version]
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
public_provider: github public_provider: github
@ -22,7 +36,7 @@ jobs:
build-windows-x64: build-windows-x64:
uses: ./.github/workflows/template-build-windows-x64.yml uses: ./.github/workflows/template-build-windows-x64.yml
secrets: inherit secrets: inherit
needs: [get-update-version] needs: [rename-icons-beta, get-update-version]
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
public_provider: github public_provider: github
@ -32,7 +46,7 @@ jobs:
build-linux-x64: build-linux-x64:
uses: ./.github/workflows/template-build-linux-x64.yml uses: ./.github/workflows/template-build-linux-x64.yml
secrets: inherit secrets: inherit
needs: [get-update-version] needs: [rename-icons-beta, get-update-version]
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
public_provider: github public_provider: github

View File

@ -16,6 +16,20 @@ on:
types: [submitted] types: [submitted]
jobs: jobs:
rename-icons-nightly:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Replace Icons for Nightly Build
run: |
mv electron/icons/jan-nightly-512x512.png electron/icons/512x512.png
mv electron/icons/jan-nightly.ico electron/icons/icon.ico
mv electron/icons/jan-nightly.png electron/icons/icon.png
mv electron/icons/jan-nightly-tray@2x.png electron/icons/icon-tray@2x.png
mv electron/icons/jan-nightly-tray.png electron/icons/icon-tray.png
set-public-provider: set-public-provider:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
@ -49,7 +63,7 @@ jobs:
build-macos: build-macos:
uses: ./.github/workflows/template-build-macos.yml uses: ./.github/workflows/template-build-macos.yml
needs: [get-update-version, set-public-provider] needs: [rename-icons-nightly, get-update-version, set-public-provider]
secrets: inherit secrets: inherit
with: with:
ref: ${{ needs.set-public-provider.outputs.ref }} ref: ${{ needs.set-public-provider.outputs.ref }}
@ -59,7 +73,7 @@ jobs:
build-windows-x64: build-windows-x64:
uses: ./.github/workflows/template-build-windows-x64.yml uses: ./.github/workflows/template-build-windows-x64.yml
secrets: inherit secrets: inherit
needs: [get-update-version, set-public-provider] needs: [rename-icons-nightly, get-update-version, set-public-provider]
with: with:
ref: ${{ needs.set-public-provider.outputs.ref }} ref: ${{ needs.set-public-provider.outputs.ref }}
public_provider: ${{ needs.set-public-provider.outputs.public_provider }} public_provider: ${{ needs.set-public-provider.outputs.public_provider }}
@ -69,7 +83,7 @@ jobs:
build-linux-x64: build-linux-x64:
uses: ./.github/workflows/template-build-linux-x64.yml uses: ./.github/workflows/template-build-linux-x64.yml
secrets: inherit secrets: inherit
needs: [get-update-version, set-public-provider] needs: [rename-icons-nightly, get-update-version, set-public-provider]
with: with:
ref: ${{ needs.set-public-provider.outputs.ref }} ref: ${{ needs.set-public-provider.outputs.ref }}
public_provider: ${{ needs.set-public-provider.outputs.public_provider }} public_provider: ${{ needs.set-public-provider.outputs.public_provider }}

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
electron/icons/jan-beta.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
electron/icons/jan-beta.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB