Skip to content

Commit 78c4084

Browse files
authored
Merge pull request #4148 from ChatGPTNextWeb/main
feat: catch up latest commit
2 parents 1d0a40b + 069766d commit 78c4084

File tree

110 files changed

+2571
-593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+2571
-593
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
name: Bug report
2+
description: Create a report to help us improve
3+
title: "[Bug] "
4+
labels: ["bug"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "## Describe the bug"
10+
- type: textarea
11+
id: bug-description
12+
attributes:
13+
label: "Bug Description"
14+
description: "A clear and concise description of what the bug is."
15+
placeholder: "Explain the bug..."
16+
validations:
17+
required: true
18+
19+
- type: markdown
20+
attributes:
21+
value: "## To Reproduce"
22+
- type: textarea
23+
id: steps-to-reproduce
24+
attributes:
25+
label: "Steps to Reproduce"
26+
description: "Steps to reproduce the behavior:"
27+
placeholder: |
28+
1. Go to '...'
29+
2. Click on '....'
30+
3. Scroll down to '....'
31+
4. See error
32+
validations:
33+
required: true
34+
35+
- type: markdown
36+
attributes:
37+
value: "## Expected behavior"
38+
- type: textarea
39+
id: expected-behavior
40+
attributes:
41+
label: "Expected Behavior"
42+
description: "A clear and concise description of what you expected to happen."
43+
placeholder: "Describe what you expected to happen..."
44+
validations:
45+
required: true
46+
47+
- type: markdown
48+
attributes:
49+
value: "## Screenshots"
50+
- type: textarea
51+
id: screenshots
52+
attributes:
53+
label: "Screenshots"
54+
description: "If applicable, add screenshots to help explain your problem."
55+
placeholder: "Paste your screenshots here or write 'N/A' if not applicable..."
56+
validations:
57+
required: false
58+
59+
- type: markdown
60+
attributes:
61+
value: "## Deployment"
62+
- type: checkboxes
63+
id: deployment
64+
attributes:
65+
label: "Deployment Method"
66+
description: "Please select the deployment method you are using."
67+
options:
68+
- label: "Docker"
69+
- label: "Vercel"
70+
- label: "Server"
71+
72+
- type: markdown
73+
attributes:
74+
value: "## Desktop (please complete the following information):"
75+
- type: input
76+
id: desktop-os
77+
attributes:
78+
label: "Desktop OS"
79+
description: "Your desktop operating system."
80+
placeholder: "e.g., Windows 10"
81+
validations:
82+
required: false
83+
- type: input
84+
id: desktop-browser
85+
attributes:
86+
label: "Desktop Browser"
87+
description: "Your desktop browser."
88+
placeholder: "e.g., Chrome, Safari"
89+
validations:
90+
required: false
91+
- type: input
92+
id: desktop-version
93+
attributes:
94+
label: "Desktop Browser Version"
95+
description: "Version of your desktop browser."
96+
placeholder: "e.g., 89.0"
97+
validations:
98+
required: false
99+
100+
- type: markdown
101+
attributes:
102+
value: "## Smartphone (please complete the following information):"
103+
- type: input
104+
id: smartphone-device
105+
attributes:
106+
label: "Smartphone Device"
107+
description: "Your smartphone device."
108+
placeholder: "e.g., iPhone X"
109+
validations:
110+
required: false
111+
- type: input
112+
id: smartphone-os
113+
attributes:
114+
label: "Smartphone OS"
115+
description: "Your smartphone operating system."
116+
placeholder: "e.g., iOS 14.4"
117+
validations:
118+
required: false
119+
- type: input
120+
id: smartphone-browser
121+
attributes:
122+
label: "Smartphone Browser"
123+
description: "Your smartphone browser."
124+
placeholder: "e.g., Safari"
125+
validations:
126+
required: false
127+
- type: input
128+
id: smartphone-version
129+
attributes:
130+
label: "Smartphone Browser Version"
131+
description: "Version of your smartphone browser."
132+
placeholder: "e.g., 14"
133+
validations:
134+
required: false
135+
136+
- type: markdown
137+
attributes:
138+
value: "## Additional Logs"
139+
- type: textarea
140+
id: additional-logs
141+
attributes:
142+
label: "Additional Logs"
143+
description: "Add any logs about the problem here."
144+
placeholder: "Paste any relevant logs here..."
145+
validations:
146+
required: false

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
title: "[Feature Request]: "
4+
labels: ["enhancement"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "## Is your feature request related to a problem? Please describe."
10+
- type: textarea
11+
id: problem-description
12+
attributes:
13+
label: Problem Description
14+
description: "A clear and concise description of what the problem is. Example: I'm always frustrated when [...]"
15+
placeholder: "Explain the problem you are facing..."
16+
validations:
17+
required: true
18+
19+
- type: markdown
20+
attributes:
21+
value: "## Describe the solution you'd like"
22+
- type: textarea
23+
id: desired-solution
24+
attributes:
25+
label: Solution Description
26+
description: A clear and concise description of what you want to happen.
27+
placeholder: "Describe the solution you'd like..."
28+
validations:
29+
required: true
30+
31+
- type: markdown
32+
attributes:
33+
value: "## Describe alternatives you've considered"
34+
- type: textarea
35+
id: alternatives-considered
36+
attributes:
37+
label: Alternatives Considered
38+
description: A clear and concise description of any alternative solutions or features you've considered.
39+
placeholder: "Describe any alternative solutions or features you've considered..."
40+
validations:
41+
required: false
42+
43+
- type: markdown
44+
attributes:
45+
value: "## Additional context"
46+
- type: textarea
47+
id: additional-context
48+
attributes:
49+
label: Additional Context
50+
description: Add any other context or screenshots about the feature request here.
51+
placeholder: "Add any other context or screenshots about the feature request here..."
52+
validations:
53+
required: false

.github/ISSUE_TEMPLATE/功能建议.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/反馈问题.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/app.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ jobs:
4343
- os: ubuntu-latest
4444
arch: x86_64
4545
rust_target: x86_64-unknown-linux-gnu
46-
- os: macos-latest
47-
arch: x86_64
48-
rust_target: x86_64-apple-darwin
4946
- os: macos-latest
5047
arch: aarch64
51-
rust_target: aarch64-apple-darwin
48+
rust_target: x86_64-apple-darwin,aarch64-apple-darwin
5249
- os: windows-latest
5350
arch: x86_64
5451
rust_target: x86_64-pc-windows-msvc
@@ -60,13 +57,14 @@ jobs:
6057
uses: actions/setup-node@v3
6158
with:
6259
node-version: 18
60+
cache: 'yarn'
6361
- name: install Rust stable
6462
uses: dtolnay/rust-toolchain@stable
6563
with:
6664
targets: ${{ matrix.config.rust_target }}
6765
- uses: Swatinem/rust-cache@v2
6866
with:
69-
key: ${{ matrix.config.rust_target }}
67+
key: ${{ matrix.config.os }}
7068
- name: install dependencies (ubuntu only)
7169
if: matrix.config.os == 'ubuntu-latest'
7270
run: |
@@ -79,8 +77,15 @@ jobs:
7977
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8078
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
8179
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
80+
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
81+
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
82+
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
83+
APPLE_ID: ${{ secrets.APPLE_ID }}
84+
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
85+
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
8286
with:
8387
releaseId: ${{ needs.create-release.outputs.release_id }}
88+
args: ${{ matrix.config.os == 'macos-latest' && '--target universal-apple-darwin' || '' }}
8489

8590
publish-release:
8691
permissions:

0 commit comments

Comments
 (0)