@lenorin/dsh-tauri-launcher 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.en.md +162 -0
- package/README.md +155 -102
- package/launcher/bin/dsh-launcher.exe +0 -0
- package/lib/client.js +16 -5
- package/lib/index.js +66 -33
- package/package.json +2 -2
- package/launcher/build.ps1 +0 -44
- package/launcher/src-tauri/Cargo.toml +0 -20
- package/launcher/src-tauri/build.rs +0 -3
- package/launcher/src-tauri/capabilities/default.json +0 -9
- package/launcher/src-tauri/icons/128x128.png +0 -0
- package/launcher/src-tauri/icons/128x128@2x.png +0 -0
- package/launcher/src-tauri/icons/32x32.png +0 -0
- package/launcher/src-tauri/icons/Square107x107Logo.png +0 -0
- package/launcher/src-tauri/icons/Square142x142Logo.png +0 -0
- package/launcher/src-tauri/icons/Square150x150Logo.png +0 -0
- package/launcher/src-tauri/icons/Square284x284Logo.png +0 -0
- package/launcher/src-tauri/icons/Square30x30Logo.png +0 -0
- package/launcher/src-tauri/icons/Square310x310Logo.png +0 -0
- package/launcher/src-tauri/icons/Square44x44Logo.png +0 -0
- package/launcher/src-tauri/icons/Square71x71Logo.png +0 -0
- package/launcher/src-tauri/icons/Square89x89Logo.png +0 -0
- package/launcher/src-tauri/icons/StoreLogo.png +0 -0
- package/launcher/src-tauri/icons/icon.icns +0 -0
- package/launcher/src-tauri/icons/icon.ico +0 -0
- package/launcher/src-tauri/icons/icon.png +0 -0
- package/launcher/src-tauri/src/dsh.rs +0 -286
- package/launcher/src-tauri/src/lib.rs +0 -727
- package/launcher/src-tauri/src/main.rs +0 -6
- package/launcher/src-tauri/tauri.conf.json +0 -38
- package/launcher/ui/index.html +0 -64
- package/launcher/ui/main.js +0 -122
- package/launcher/ui/settings.css +0 -157
- package/launcher/ui/settings.html +0 -71
- package/launcher/ui/settings.js +0 -83
- package/launcher/ui/styles.css +0 -212
package/launcher/ui/styles.css
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
color-scheme: dark;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
* {
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
margin: 0;
|
|
8
|
-
padding: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
html,
|
|
12
|
-
body,
|
|
13
|
-
#app {
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
body {
|
|
18
|
-
font-family: "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
|
|
19
|
-
background:
|
|
20
|
-
radial-gradient(1200px 700px at 15% -10%, #15304b 0%, transparent 60%),
|
|
21
|
-
radial-gradient(1000px 620px at 110% 110%, #1c2644 0%, transparent 55%),
|
|
22
|
-
#0b0f17;
|
|
23
|
-
color: #e5eaf2;
|
|
24
|
-
-webkit-font-smoothing: antialiased;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
#app {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
padding: 24px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.card {
|
|
36
|
-
width: min(640px, 100%);
|
|
37
|
-
background: rgba(17, 23, 35, 0.9);
|
|
38
|
-
border: 1px solid rgba(148, 180, 220, 0.14);
|
|
39
|
-
border-radius: 18px;
|
|
40
|
-
padding: 42px 38px 26px;
|
|
41
|
-
text-align: center;
|
|
42
|
-
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
|
|
43
|
-
backdrop-filter: blur(14px);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.brand {
|
|
47
|
-
margin: 0 auto 18px;
|
|
48
|
-
display: flex;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.brand svg {
|
|
53
|
-
width: 220px;
|
|
54
|
-
height: auto;
|
|
55
|
-
color: #e0f2fe;
|
|
56
|
-
filter: drop-shadow(0 2px 12px rgba(14, 165, 233, 0.3));
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.phase {
|
|
60
|
-
margin-top: 26px;
|
|
61
|
-
min-height: 200px;
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
align-items: center;
|
|
65
|
-
justify-content: center;
|
|
66
|
-
gap: 14px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.hidden {
|
|
70
|
-
display: none !important;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.spinner {
|
|
74
|
-
width: 46px;
|
|
75
|
-
height: 46px;
|
|
76
|
-
border-radius: 50%;
|
|
77
|
-
border: 3px solid rgba(96, 165, 250, 0.18);
|
|
78
|
-
border-top-color: #60a5fa;
|
|
79
|
-
animation: spin 0.9s linear infinite;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.check,
|
|
83
|
-
.cross {
|
|
84
|
-
width: 56px;
|
|
85
|
-
height: 56px;
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
display: flex;
|
|
88
|
-
align-items: center;
|
|
89
|
-
justify-content: center;
|
|
90
|
-
font-size: 28px;
|
|
91
|
-
font-weight: 700;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.check {
|
|
95
|
-
background: rgba(34, 197, 94, 0.14);
|
|
96
|
-
color: #4ade80;
|
|
97
|
-
border: 2px solid rgba(74, 222, 128, 0.5);
|
|
98
|
-
animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.cross {
|
|
102
|
-
background: rgba(239, 68, 68, 0.12);
|
|
103
|
-
color: #f87171;
|
|
104
|
-
border: 2px solid rgba(248, 113, 113, 0.5);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.status {
|
|
108
|
-
font-size: 16px;
|
|
109
|
-
font-weight: 500;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.hint {
|
|
113
|
-
font-size: 13px;
|
|
114
|
-
color: #8ea0b8;
|
|
115
|
-
line-height: 1.7;
|
|
116
|
-
max-width: 460px;
|
|
117
|
-
white-space: pre-wrap;
|
|
118
|
-
word-break: break-all;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.err-detail {
|
|
122
|
-
text-align: left;
|
|
123
|
-
width: 100%;
|
|
124
|
-
max-width: 100%;
|
|
125
|
-
max-height: 190px;
|
|
126
|
-
overflow: auto;
|
|
127
|
-
background: rgba(239, 68, 68, 0.06);
|
|
128
|
-
border: 1px solid rgba(248, 113, 113, 0.25);
|
|
129
|
-
border-radius: 10px;
|
|
130
|
-
padding: 10px 12px;
|
|
131
|
-
font-family: Consolas, "Cascadia Mono", monospace;
|
|
132
|
-
font-size: 12px;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.log {
|
|
136
|
-
width: 100%;
|
|
137
|
-
max-height: 160px;
|
|
138
|
-
overflow: auto;
|
|
139
|
-
background: #0a0e16;
|
|
140
|
-
border: 1px solid rgba(148, 180, 220, 0.12);
|
|
141
|
-
border-radius: 10px;
|
|
142
|
-
padding: 10px 12px;
|
|
143
|
-
font-family: Consolas, "Cascadia Mono", monospace;
|
|
144
|
-
font-size: 11px;
|
|
145
|
-
line-height: 1.5;
|
|
146
|
-
color: #9fb2c8;
|
|
147
|
-
text-align: left;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.log-line {
|
|
151
|
-
white-space: pre-wrap;
|
|
152
|
-
word-break: break-all;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.log-err {
|
|
156
|
-
color: #f0a6a6;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
#retry-btn {
|
|
160
|
-
margin-top: 4px;
|
|
161
|
-
padding: 10px 36px;
|
|
162
|
-
border: none;
|
|
163
|
-
border-radius: 10px;
|
|
164
|
-
cursor: pointer;
|
|
165
|
-
background: linear-gradient(135deg, #0ea5e9, #4f46e5);
|
|
166
|
-
color: #fff;
|
|
167
|
-
font-size: 14px;
|
|
168
|
-
font-weight: 600;
|
|
169
|
-
box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
|
|
170
|
-
transition: transform 0.12s ease, filter 0.12s ease;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
#retry-btn:hover {
|
|
174
|
-
filter: brightness(1.12);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
#retry-btn:active {
|
|
178
|
-
transform: scale(0.97);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.footer {
|
|
182
|
-
margin-top: 24px;
|
|
183
|
-
font-size: 12px;
|
|
184
|
-
color: #5c6b80;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@keyframes spin {
|
|
188
|
-
to {
|
|
189
|
-
transform: rotate(360deg);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
@keyframes float {
|
|
194
|
-
0%,
|
|
195
|
-
100% {
|
|
196
|
-
transform: translateY(0);
|
|
197
|
-
}
|
|
198
|
-
50% {
|
|
199
|
-
transform: translateY(-5px);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
@keyframes pop {
|
|
204
|
-
from {
|
|
205
|
-
transform: scale(0.4);
|
|
206
|
-
opacity: 0;
|
|
207
|
-
}
|
|
208
|
-
to {
|
|
209
|
-
transform: scale(1);
|
|
210
|
-
opacity: 1;
|
|
211
|
-
}
|
|
212
|
-
}
|