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:
one 2025-07-08 09:50:33 +08:00 committed by GitHub
parent 4111ee4c58
commit 4ac8a38834
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with 7089 additions and 7096 deletions

1
.gitattributes vendored
View File

@ -1,2 +1,3 @@
* text=auto eol=lf
/.yarn/** linguist-vendored /.yarn/** linguist-vendored
/.yarn/releases/* binary /.yarn/releases/* binary

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,46 +1,45 @@
<!doctype html> <!doctype html>
<html lang="zh-CN"> <html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1, width=device-width" />
<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:" />
<title>Cherry Studio</title>
<head> <style>
<meta charset="UTF-8" /> html,
<meta name="viewport" content="initial-scale=1, width=device-width" /> body {
<meta http-equiv="Content-Security-Policy" margin: 0;
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>
<style> #spinner {
html, position: fixed;
body { width: 100vw;
margin: 0; height: 100vh;
} flex-direction: row;
justify-content: center;
align-items: center;
display: flex;
}
#spinner { #spinner img {
position: fixed; width: 100px;
width: 100vw; border-radius: 50px;
height: 100vh; }
flex-direction: row; </style>
justify-content: center; </head>
align-items: center;
display: flex;
}
#spinner img {
width: 100px;
border-radius: 50px;
}
</style>
</head>
<body>
<div id="root"></div>
<div id="spinner">
<img src="/src/assets/images/logo.png" />
</div>
<script>
console.time('init')
</script>
<script type="module" src="/src/init.ts"></script>
<script type="module" src="/src/entryPoint.tsx"></script>
</body>
<body>
<div id="root"></div>
<div id="spinner">
<img src="/src/assets/images/logo.png" />
</div>
<script>
console.time('init')
</script>
<script type="module" src="/src/init.ts"></script>
<script type="module" src="/src/entryPoint.tsx"></script>
</body>
</html> </html>

View File

@ -1,24 +1,23 @@
<!doctype html> <!doctype html>
<html lang="zh-CN"> <html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1, width=device-width" />
<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:" />
<title>Cherry Studio</title>
<head> <style>
<meta charset="UTF-8" /> html,
<meta name="viewport" content="initial-scale=1, width=device-width" /> body {
<meta http-equiv="Content-Security-Policy" margin: 0;
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> </style>
</head>
<style>
html,
body {
margin: 0;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/windows/mini/entryPoint.tsx"></script>
</body>
<body>
<div id="root"></div>
<script type="module" src="/src/windows/mini/entryPoint.tsx"></script>
</body>
</html> </html>

View File

@ -1,41 +1,39 @@
<!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
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:" /> 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:" />
<title>Cherry Studio Selection Assistant</title> <title>Cherry Studio Selection Assistant</title>
</head>
</head> <body>
<body>
<div id="root"></div> <div id="root"></div>
<script type="module" src="/src/windows/selection/action/entryPoint.tsx"></script> <script type="module" src="/src/windows/selection/action/entryPoint.tsx"></script>
<style> <style>
html { html {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
} }
body { body {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
} }
#root { #root {
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
} }
</style> </style>
</body> </body>
</html> </html>

View File

@ -1,46 +1,43 @@
<!doctype html> <!doctype html>
<html lang="zh-CN"> <html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1, width=device-width" />
<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:" />
<title>Cherry Studio Selection Toolbar</title>
</head>
<head> <body>
<meta charset="UTF-8" /> <div id="root"></div>
<meta name="viewport" content="initial-scale=1, width=device-width" /> <script type="module" src="/src/windows/selection/toolbar/entryPoint.tsx"></script>
<meta http-equiv="Content-Security-Policy" <style>
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:" /> html {
<title>Cherry Studio Selection Toolbar</title> margin: 0 !important;
background-color: transparent !important;
background-image: none !important;
}
</head> body {
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
width: 100vw !important;
height: 100vh !important;
<body> -webkit-user-select: none;
<div id="root"></div> -moz-user-select: none;
<script type="module" src="/src/windows/selection/toolbar/entryPoint.tsx"></script> -ms-user-select: none;
<style> user-select: none;
html { }
margin: 0 !important;
background-color: transparent !important;
background-image: none !important;
}
body {
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
width: 100vw !important;
height: 100vh !important;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#root {
margin: 0 !important;
padding: 0 !important;
width: max-content !important;
height: fit-content !important;
}
</style>
</body>
#root {
margin: 0 !important;
padding: 0 !important;
width: max-content !important;
height: fit-content !important;
}
</style>
</body>
</html> </html>