mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
style: set eol to lf, code formatting (#7923)
* chore(gitattributes): set eol to lf * chore: git renormalize * style: reformatting * chore: keep eslint prettier plugin consistent on eol
This commit is contained in:
parent
4111ee4c58
commit
4ac8a38834
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,2 +1,3 @@
|
|||||||
|
* text=auto eol=lf
|
||||||
/.yarn/** linguist-vendored
|
/.yarn/** linguist-vendored
|
||||||
/.yarn/releases/* binary
|
/.yarn/releases/* binary
|
||||||
|
|||||||
88
.github/issue-checker.yml
vendored
88
.github/issue-checker.yml
vendored
@ -9,115 +9,115 @@ labels:
|
|||||||
# skips and removes
|
# skips and removes
|
||||||
- name: skip all
|
- name: skip all
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Aa]ll |)[Ll]abels?"
|
regexes: '[Ss]kip (?:[Aa]ll |)[Ll]abels?'
|
||||||
- name: remove all
|
- name: remove all
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Aa]ll |)[Ll]abels?"
|
regexes: '[Rr]emove (?:[Aa]ll |)[Ll]abels?'
|
||||||
|
|
||||||
- name: skip kind/bug
|
- name: skip kind/bug
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)kind/bug(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)kind/bug(?:`|)'
|
||||||
- name: remove kind/bug
|
- name: remove kind/bug
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)kind/bug(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)kind/bug(?:`|)'
|
||||||
|
|
||||||
- name: skip kind/enhancement
|
- name: skip kind/enhancement
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)kind/enhancement(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)kind/enhancement(?:`|)'
|
||||||
- name: remove kind/enhancement
|
- name: remove kind/enhancement
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)kind/enhancement(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)kind/enhancement(?:`|)'
|
||||||
|
|
||||||
- name: skip kind/question
|
- name: skip kind/question
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)kind/question(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)kind/question(?:`|)'
|
||||||
- name: remove kind/question
|
- name: remove kind/question
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)kind/question(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)kind/question(?:`|)'
|
||||||
|
|
||||||
- name: skip area/Connectivity
|
- name: skip area/Connectivity
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)area/Connectivity(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)area/Connectivity(?:`|)'
|
||||||
- name: remove area/Connectivity
|
- name: remove area/Connectivity
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)area/Connectivity(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)area/Connectivity(?:`|)'
|
||||||
|
|
||||||
- name: skip area/UI/UX
|
- name: skip area/UI/UX
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)area/UI/UX(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)area/UI/UX(?:`|)'
|
||||||
- name: remove area/UI/UX
|
- name: remove area/UI/UX
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)area/UI/UX(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)area/UI/UX(?:`|)'
|
||||||
|
|
||||||
- name: skip kind/documentation
|
- name: skip kind/documentation
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)kind/documentation(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)kind/documentation(?:`|)'
|
||||||
- name: remove kind/documentation
|
- name: remove kind/documentation
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)kind/documentation(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)kind/documentation(?:`|)'
|
||||||
|
|
||||||
- name: skip client:linux
|
- name: skip client:linux
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)client:linux(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)client:linux(?:`|)'
|
||||||
- name: remove client:linux
|
- name: remove client:linux
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)client:linux(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)client:linux(?:`|)'
|
||||||
|
|
||||||
- name: skip client:mac
|
- name: skip client:mac
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)client:mac(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)client:mac(?:`|)'
|
||||||
- name: remove client:mac
|
- name: remove client:mac
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)client:mac(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)client:mac(?:`|)'
|
||||||
|
|
||||||
- name: skip client:win
|
- name: skip client:win
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)client:win(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)client:win(?:`|)'
|
||||||
- name: remove client:win
|
- name: remove client:win
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)client:win(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)client:win(?:`|)'
|
||||||
|
|
||||||
- name: skip sig/Assistant
|
- name: skip sig/Assistant
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)sig/Assistant(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)sig/Assistant(?:`|)'
|
||||||
- name: remove sig/Assistant
|
- name: remove sig/Assistant
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)sig/Assistant(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)sig/Assistant(?:`|)'
|
||||||
|
|
||||||
- name: skip sig/Data
|
- name: skip sig/Data
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)sig/Data(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)sig/Data(?:`|)'
|
||||||
- name: remove sig/Data
|
- name: remove sig/Data
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)sig/Data(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)sig/Data(?:`|)'
|
||||||
|
|
||||||
- name: skip sig/MCP
|
- name: skip sig/MCP
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)sig/MCP(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)sig/MCP(?:`|)'
|
||||||
- name: remove sig/MCP
|
- name: remove sig/MCP
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)sig/MCP(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)sig/MCP(?:`|)'
|
||||||
|
|
||||||
- name: skip sig/RAG
|
- name: skip sig/RAG
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)sig/RAG(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)sig/RAG(?:`|)'
|
||||||
- name: remove sig/RAG
|
- name: remove sig/RAG
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)sig/RAG(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)sig/RAG(?:`|)'
|
||||||
|
|
||||||
- name: skip lgtm
|
- name: skip lgtm
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)lgtm(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)lgtm(?:`|)'
|
||||||
- name: remove lgtm
|
- name: remove lgtm
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)lgtm(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)lgtm(?:`|)'
|
||||||
|
|
||||||
- name: skip License
|
- name: skip License
|
||||||
content:
|
content:
|
||||||
regexes: "[Ss]kip (?:[Ll]abels? |)(?:`|)License(?:`|)"
|
regexes: '[Ss]kip (?:[Ll]abels? |)(?:`|)License(?:`|)'
|
||||||
- name: remove License
|
- name: remove License
|
||||||
content:
|
content:
|
||||||
regexes: "[Rr]emove (?:[Ll]abels? |)(?:`|)License(?:`|)"
|
regexes: '[Rr]emove (?:[Ll]abels? |)(?:`|)License(?:`|)'
|
||||||
|
|
||||||
# `Dev Team`
|
# `Dev Team`
|
||||||
- name: Dev Team
|
- name: Dev Team
|
||||||
@ -129,7 +129,7 @@ labels:
|
|||||||
# Area labels
|
# Area labels
|
||||||
- name: area/Connectivity
|
- name: area/Connectivity
|
||||||
content: area/Connectivity
|
content: area/Connectivity
|
||||||
regexes: "代理|[Pp]roxy"
|
regexes: '代理|[Pp]roxy'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip area/Connectivity
|
- skip area/Connectivity
|
||||||
@ -139,7 +139,7 @@ labels:
|
|||||||
|
|
||||||
- name: area/UI/UX
|
- name: area/UI/UX
|
||||||
content: area/UI/UX
|
content: area/UI/UX
|
||||||
regexes: "界面|[Uu][Ii]|重叠|按钮|图标|组件|渲染|菜单|栏目|头像|主题|样式|[Cc][Ss][Ss]"
|
regexes: '界面|[Uu][Ii]|重叠|按钮|图标|组件|渲染|菜单|栏目|头像|主题|样式|[Cc][Ss][Ss]'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip area/UI/UX
|
- skip area/UI/UX
|
||||||
@ -150,7 +150,7 @@ labels:
|
|||||||
# Kind labels
|
# Kind labels
|
||||||
- name: kind/documentation
|
- name: kind/documentation
|
||||||
content: kind/documentation
|
content: kind/documentation
|
||||||
regexes: "文档|教程|[Dd]oc(s|umentation)|[Rr]eadme"
|
regexes: '文档|教程|[Dd]oc(s|umentation)|[Rr]eadme'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip kind/documentation
|
- skip kind/documentation
|
||||||
@ -161,7 +161,7 @@ labels:
|
|||||||
# Client labels
|
# Client labels
|
||||||
- name: client:linux
|
- name: client:linux
|
||||||
content: client:linux
|
content: client:linux
|
||||||
regexes: "(?:[Ll]inux|[Uu]buntu|[Dd]ebian)"
|
regexes: '(?:[Ll]inux|[Uu]buntu|[Dd]ebian)'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip client:linux
|
- skip client:linux
|
||||||
@ -171,7 +171,7 @@ labels:
|
|||||||
|
|
||||||
- name: client:mac
|
- name: client:mac
|
||||||
content: client:mac
|
content: client:mac
|
||||||
regexes: "(?:[Mm]ac|[Mm]acOS|[Oo]SX)"
|
regexes: '(?:[Mm]ac|[Mm]acOS|[Oo]SX)'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip client:mac
|
- skip client:mac
|
||||||
@ -181,7 +181,7 @@ labels:
|
|||||||
|
|
||||||
- name: client:win
|
- name: client:win
|
||||||
content: client:win
|
content: client:win
|
||||||
regexes: "(?:[Ww]in|[Ww]indows)"
|
regexes: '(?:[Ww]in|[Ww]indows)'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip client:win
|
- skip client:win
|
||||||
@ -192,7 +192,7 @@ labels:
|
|||||||
# SIG labels
|
# SIG labels
|
||||||
- name: sig/Assistant
|
- name: sig/Assistant
|
||||||
content: sig/Assistant
|
content: sig/Assistant
|
||||||
regexes: "快捷助手|[Aa]ssistant"
|
regexes: '快捷助手|[Aa]ssistant'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip sig/Assistant
|
- skip sig/Assistant
|
||||||
@ -202,7 +202,7 @@ labels:
|
|||||||
|
|
||||||
- name: sig/Data
|
- name: sig/Data
|
||||||
content: sig/Data
|
content: sig/Data
|
||||||
regexes: "[Ww]ebdav|坚果云|备份|同步|数据|Obsidian|Notion|Joplin|思源"
|
regexes: '[Ww]ebdav|坚果云|备份|同步|数据|Obsidian|Notion|Joplin|思源'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip sig/Data
|
- skip sig/Data
|
||||||
@ -212,7 +212,7 @@ labels:
|
|||||||
|
|
||||||
- name: sig/MCP
|
- name: sig/MCP
|
||||||
content: sig/MCP
|
content: sig/MCP
|
||||||
regexes: "[Mm][Cc][Pp]"
|
regexes: '[Mm][Cc][Pp]'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip sig/MCP
|
- skip sig/MCP
|
||||||
@ -222,7 +222,7 @@ labels:
|
|||||||
|
|
||||||
- name: sig/RAG
|
- name: sig/RAG
|
||||||
content: sig/RAG
|
content: sig/RAG
|
||||||
regexes: "知识库|[Rr][Aa][Gg]"
|
regexes: '知识库|[Rr][Aa][Gg]'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip sig/RAG
|
- skip sig/RAG
|
||||||
@ -233,7 +233,7 @@ labels:
|
|||||||
# Other labels
|
# Other labels
|
||||||
- name: lgtm
|
- name: lgtm
|
||||||
content: lgtm
|
content: lgtm
|
||||||
regexes: "(?:[Ll][Gg][Tt][Mm]|[Ll]ooks [Gg]ood [Tt]o [Mm]e)"
|
regexes: '(?:[Ll][Gg][Tt][Mm]|[Ll]ooks [Gg]ood [Tt]o [Mm]e)'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip lgtm
|
- skip lgtm
|
||||||
@ -243,7 +243,7 @@ labels:
|
|||||||
|
|
||||||
- name: License
|
- name: License
|
||||||
content: License
|
content: License
|
||||||
regexes: "(?:[Ll]icense|[Cc]opyright|[Mm][Ii][Tt]|[Aa]pache)"
|
regexes: '(?:[Ll]icense|[Cc]opyright|[Mm][Ii][Tt]|[Aa]pache)'
|
||||||
skip-if:
|
skip-if:
|
||||||
- skip all
|
- skip all
|
||||||
- skip License
|
- skip License
|
||||||
|
|||||||
4
.github/workflows/issue-checker.yml
vendored
4
.github/workflows/issue-checker.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: "Issue Checker"
|
name: 'Issue Checker'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
@ -19,7 +19,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: MaaAssistantArknights/issue-checker@v1.14
|
- uses: MaaAssistantArknights/issue-checker@v1.14
|
||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
configuration-path: .github/issue-checker.yml
|
configuration-path: .github/issue-checker.yml
|
||||||
not-before: 2022-08-05T00:00:00Z
|
not-before: 2022-08-05T00:00:00Z
|
||||||
include-title: 1
|
include-title: 1
|
||||||
16
.github/workflows/issue-management.yml
vendored
16
.github/workflows/issue-management.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
name: "Stale Issue Management"
|
name: 'Stale Issue Management'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: '0 0 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -24,18 +24,18 @@ jobs:
|
|||||||
uses: actions/stale@v9
|
uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
only-labels: "needs-more-info"
|
only-labels: 'needs-more-info'
|
||||||
days-before-stale: ${{ env.daysBeforeStale }}
|
days-before-stale: ${{ env.daysBeforeStale }}
|
||||||
days-before-close: 0 # Close immediately after stale
|
days-before-close: 0 # Close immediately after stale
|
||||||
stale-issue-label: "inactive"
|
stale-issue-label: 'inactive'
|
||||||
close-issue-label: "closed:no-response"
|
close-issue-label: 'closed:no-response'
|
||||||
stale-issue-message: |
|
stale-issue-message: |
|
||||||
This issue has been labeled as needing more information and has been inactive for ${{ env.daysBeforeStale }} days.
|
This issue has been labeled as needing more information and has been inactive for ${{ env.daysBeforeStale }} days.
|
||||||
It will be closed now due to lack of additional information.
|
It will be closed now due to lack of additional information.
|
||||||
|
|
||||||
该问题被标记为"需要更多信息"且已经 ${{ env.daysBeforeStale }} 天没有任何活动,将立即关闭。
|
该问题被标记为"需要更多信息"且已经 ${{ env.daysBeforeStale }} 天没有任何活动,将立即关闭。
|
||||||
operations-per-run: 50
|
operations-per-run: 50
|
||||||
exempt-issue-labels: "pending, Dev Team"
|
exempt-issue-labels: 'pending, Dev Team'
|
||||||
days-before-pr-stale: -1
|
days-before-pr-stale: -1
|
||||||
days-before-pr-close: -1
|
days-before-pr-close: -1
|
||||||
|
|
||||||
@ -45,11 +45,11 @@ jobs:
|
|||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
days-before-stale: ${{ env.daysBeforeStale }}
|
days-before-stale: ${{ env.daysBeforeStale }}
|
||||||
days-before-close: ${{ env.daysBeforeClose }}
|
days-before-close: ${{ env.daysBeforeClose }}
|
||||||
stale-issue-label: "inactive"
|
stale-issue-label: 'inactive'
|
||||||
stale-issue-message: |
|
stale-issue-message: |
|
||||||
This issue has been inactive for a prolonged period and will be closed automatically in ${{ env.daysBeforeClose }} days.
|
This issue has been inactive for a prolonged period and will be closed automatically in ${{ env.daysBeforeClose }} days.
|
||||||
该问题已长时间处于闲置状态,${{ env.daysBeforeClose }} 天后将自动关闭。
|
该问题已长时间处于闲置状态,${{ env.daysBeforeClose }} 天后将自动关闭。
|
||||||
exempt-issue-labels: "pending, Dev Team, kind/enhancement"
|
exempt-issue-labels: 'pending, Dev Team, kind/enhancement'
|
||||||
days-before-pr-stale: -1 # Completely disable stalling for PRs
|
days-before-pr-stale: -1 # Completely disable stalling for PRs
|
||||||
days-before-pr-close: -1 # Completely disable closing for PRs
|
days-before-pr-close: -1 # Completely disable closing for PRs
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ export default defineConfig([
|
|||||||
'simple-import-sort/exports': 'error',
|
'simple-import-sort/exports': 'error',
|
||||||
'unused-imports/no-unused-imports': 'error',
|
'unused-imports/no-unused-imports': 'error',
|
||||||
'@eslint-react/no-prop-types': 'error',
|
'@eslint-react/no-prop-types': 'error',
|
||||||
'prettier/prettier': ['error', { endOfLine: 'auto' }]
|
'prettier/prettier': ['error']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Configuration for ensuring compatibility with the original ESLint(8.x) rules
|
// Configuration for ensuring compatibility with the original ESLint(8.x) rules
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
||||||
<meta http-equiv="Content-Security-Policy"
|
<meta
|
||||||
|
http-equiv="Content-Security-Policy"
|
||||||
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' 'unsafe-inline' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' 'unsafe-inline' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
||||||
<title>Cherry Studio</title>
|
<title>Cherry Studio</title>
|
||||||
|
|
||||||
@ -42,5 +42,4 @@
|
|||||||
<script type="module" src="/src/init.ts"></script>
|
<script type="module" src="/src/init.ts"></script>
|
||||||
<script type="module" src="/src/entryPoint.tsx"></script>
|
<script type="module" src="/src/entryPoint.tsx"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,10 +1,10 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
||||||
<meta http-equiv="Content-Security-Policy"
|
<meta
|
||||||
|
http-equiv="Content-Security-Policy"
|
||||||
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
||||||
<title>Cherry Studio</title>
|
<title>Cherry Studio</title>
|
||||||
|
|
||||||
@ -20,5 +20,4 @@
|
|||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<script type="module" src="/src/windows/mini/entryPoint.tsx"></script>
|
<script type="module" src="/src/windows/mini/entryPoint.tsx"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,13 +1,12 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
||||||
<meta http-equiv="Content-Security-Policy"
|
<meta
|
||||||
|
http-equiv="Content-Security-Policy"
|
||||||
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
||||||
<title>Cherry Studio Selection Assistant</title>
|
<title>Cherry Studio Selection Assistant</title>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -37,5 +36,4 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1,13 +1,12 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
<meta name="viewport" content="initial-scale=1, width=device-width" />
|
||||||
<meta http-equiv="Content-Security-Policy"
|
<meta
|
||||||
|
http-equiv="Content-Security-Policy"
|
||||||
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
content="default-src 'self'; connect-src blob: *; script-src 'self' 'unsafe-eval' *; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' *; font-src 'self' data: *; img-src 'self' data: file: * blob:; frame-src * file:" />
|
||||||
<title>Cherry Studio Selection Toolbar</title>
|
<title>Cherry Studio Selection Toolbar</title>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@ -18,7 +17,6 @@
|
|||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
background-image: none !important;
|
background-image: none !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -42,5 +40,4 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -1 +0,0 @@
|
|||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user