mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 19:30:17 +08:00
- Integrated migration v2 functionality by importing necessary modules and registering IPC handlers. - Updated the migration process to check for data migration needs and handle the migration window. - Added new dependencies for stream-json and its types in package.json. - Updated electron.vite.config.ts to include the new migration window HTML file.
62 lines
1.6 KiB
HTML
62 lines
1.6 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Cherry Studio - Data Migration</title>
|
|
<meta
|
|
http-equiv="Content-Security-Policy"
|
|
content="default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:;" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
</head>
|
|
|
|
<body id="root" theme-mode="light">
|
|
<script type="module" src="/src/windows/migrationV2/entryPoint.tsx"></script>
|
|
<style>
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#root {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Custom button styles */
|
|
.ant-btn-primary {
|
|
background-color: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
}
|
|
|
|
.ant-btn-primary:hover {
|
|
background-color: var(--color-primary-soft) !important;
|
|
border-color: var(--color-primary-soft) !important;
|
|
}
|
|
|
|
.ant-btn-primary:active,
|
|
.ant-btn-primary:focus {
|
|
background-color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
}
|
|
|
|
/* Non-primary button hover styles */
|
|
.ant-btn:not(.ant-btn-primary):hover {
|
|
border-color: var(--color-primary-soft) !important;
|
|
color: var(--color-primary) !important;
|
|
}
|
|
</style>
|
|
</body>
|
|
</html>
|