Skip to content

Commit c317316

Browse files
ChengHeEricLevev
andauthored
corrected several typos (#613)
* corrected several typos --------- Co-authored-by: Levev <[email protected]>
1 parent afbbb74 commit c317316

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/renderer/lib/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export class InstallManager {
200200
// Start the container
201201
await this.container.compose("up");
202202

203-
// Cahce ports
203+
// Cache ports
204204
await this.container.port();
205205

206206
// emit vnc port event

src/renderer/lib/qmp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class QMPManager {
185185
const receiveData = (data: Buffer) => {
186186
try {
187187
const parsedData = JSON.parse(data.toString());
188-
if ("event" in parsedData) return; // In case we get notified of an event (for exampe NETDEV_STREAM_CONNECTED), we ignore it
188+
if ("event" in parsedData) return; // In case we get notified of an event (for example NETDEV_STREAM_CONNECTED), we ignore it
189189

190190
// We remove our callback from the data event when we get the response
191191
this.qmpSocket.off("data", receiveData);
@@ -197,7 +197,7 @@ export class QMPManager {
197197
}
198198
};
199199

200-
// We can't do 'qmpSocket.once', since we may get an event notice inbetween sending the command and receiving the response.
200+
// We can't do 'qmpSocket.once', since we may get an event notice in between sending the command and receiving the response.
201201
this.qmpSocket.on("data", receiveData);
202202
});
203203
});

src/renderer/public/xel/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The full text of each license is provided below.
6161

6262
This Software can be used free of charge by any person with the following
6363
restriction: The Software must be used and distributed as part of an
64-
Appliation bundle for the Apple macOS operating system. Usage of this
64+
Application bundle for the Apple macOS operating system. Usage of this
6565
software with other operating systems is PROHIBITED.
6666

6767
Xel authors do not claim any legal rights to the MacOS design language, also

src/renderer/utils/port.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class ComposePortMapper {
208208
}
209209

210210
/**
211-
* **WARNING**: Could introduce dupliate entries, use carefully!
211+
* **WARNING**: Could introduce duplicate entries, use carefully!
212212
*
213213
* Pushes a port entry to the internal port array.
214214
*/

src/renderer/views/Config.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,8 @@ async function addRequiredComposeFieldsUSB() {
861861
compose.value!.services.windows.environment.HOST_PORTS = "";
862862
}
863863
if (!hasHostPort(compose)) {
864-
const delimeter = compose.value!.services.windows.environment.HOST_PORTS.length == 0 ? "" : ",";
865-
compose.value!.services.windows.environment.HOST_PORTS += delimeter + GUEST_QMP_PORT;
864+
const delimiter = compose.value!.services.windows.environment.HOST_PORTS.length == 0 ? "" : ",";
865+
compose.value!.services.windows.environment.HOST_PORTS += delimiter + GUEST_QMP_PORT;
866866
}
867867
868868
await saveCompose();

0 commit comments

Comments
 (0)