Skip to content

Commit

Permalink
🐛 修复图标大小溢出,调整CI(二周目)
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Apr 17, 2024
1 parent b7854de commit 4981236
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/release_dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build Release(Dev)

on: workflow_dispatch
on:
push:
tags:
- 'v*.*.*'

jobs:
build:
Expand Down Expand Up @@ -40,19 +43,19 @@ jobs:
- name: 打包msix
run: dart run msix:create --sign-msix false

# - name: SignPath 签名
# if: env.TOKEN != ''
# shell: pwsh
# run: |
# Install-Module -Name SignPath -Force -AllowClobber -Scope CurrentUser
# Submit-SigningRequest `
# -InputArtifactPath "build/windows/x64/runner/Release/BangumiToday.msix" `
# -ApiToken "${env:TOKEN}" `
# -OrganizationId "df493769-e8b5-461d-84a8-e9cc2071d9b2" `
# -ProjectSlug "BangumiToday" `
# -SigningPolicySlug "Dev" `
# -OutputArtifactPath "BangumiToday.msix" `
# -WaitForCompletion
- name: SignPath 签名
if: env.TOKEN != ''
shell: pwsh
run: |
Install-Module -Name SignPath -Force -AllowClobber -Scope CurrentUser
Submit-SigningRequest `
-InputArtifactPath "build/windows/x64/runner/Release/BangumiToday.msix" `
-ApiToken "${env:TOKEN}" `
-OrganizationId "df493769-e8b5-461d-84a8-e9cc2071d9b2" `
-ProjectSlug "BangumiToday" `
-SigningPolicySlug "Dev" `
-OutputArtifactPath "BangumiToday.msix" `
-WaitForCompletion
- name: 上传 MSIX
if: env.TOKEN != ''
Expand Down Expand Up @@ -82,7 +85,7 @@ jobs:
- name: 发行Release
uses: ncipollo/[email protected]
with:
commit: ${{ github.sha }}
tag: ${{ github.ref }}
artifacts: |
BangumiToday.zip
BTMuli.cer
Expand Down
4 changes: 2 additions & 2 deletions lib/components/app/app_nav.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class _AppNavState extends ConsumerState<AppNav> {
PaneItem(
icon: Image.asset(
'assets/images/platforms/mikan-favicon.ico',
height: 32,
height: 16,
),
title: Text('Mikan'),
body: MikanRSSPage(),
Expand All @@ -91,7 +91,7 @@ class _AppNavState extends ConsumerState<AppNav> {
body: ComicatRSSPage(),
),
PaneItem(
icon: Image.asset('assets/images/logo.png', height: 32),
icon: Image.asset('assets/images/logo.png', height: 16),
title: Text('BMF配置'),
body: BmfPage(),
)
Expand Down

0 comments on commit 4981236

Please sign in to comment.