feat: use eletron to build desktop version for chatgpt-plus

This commit is contained in:
RockYang
2023-09-06 18:19:27 +08:00
parent e3d18643b8
commit 545c8fa482
5 changed files with 97 additions and 0 deletions

31
desktop/loading.html Executable file
View File

@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.loader {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="loader"></div>
</body>
</html>