diff --git a/README.md b/README.md index 1bfc27a..9e3e55e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ manager. ### Install the dim from binary files -Donwload the dim from binary files. +Download the dim from binary files. [aarch64-apple-darwin](https://github.com/c-3lab/dim/raw/main/bin/aarch64-apple-darwin/dim) diff --git a/libs/actions.ts b/libs/actions.ts index 444508b..96cc53a 100644 --- a/libs/actions.ts +++ b/libs/actions.ts @@ -105,7 +105,7 @@ const installFromDimFile = async (isUpdate = false) => { catalogResourceId: null, lastModified: lastModified, eTag: headers.get("etag"), - lastDonwloaded: new Date(), + lastDownloaded: new Date(), integrity: "", postProcesses: content.postProcesses, headers: {}, @@ -211,7 +211,7 @@ export class InstallAction { catalogResourceId: null, lastModified: null, eTag: null, - lastDonwloaded: new Date(), + lastDownloaded: new Date(), integrity: "", postProcesses: options.postProcesses || [], headers: parsedHeaders, @@ -311,7 +311,7 @@ export class ListAction { content.catalogResourceId, content.lastModified, content.eTag, - content.lastDonwloaded, + content.lastDownloaded, content.integrity, content.postProcesses.join(","), content.headers, @@ -351,7 +351,7 @@ export class ListAction { Colors.green( content.lastModified === null ? "null" - : content.lastDonwloaded.toString(), + : content.lastDownloaded.toString(), ), ); console.log( @@ -359,8 +359,8 @@ export class ListAction { Colors.green(content.eTag === null ? "null" : content.eTag), ); console.log( - " - Last donwloaded :", - Colors.green(content.lastDonwloaded.toString()), + " - Last downloaded :", + Colors.green(content.lastDownloaded.toString()), ); console.log( " - Integrity :", @@ -423,7 +423,7 @@ export class UpdateAction { catalogResourceId: null, lastModified: null, eTag: null, - lastDonwloaded: new Date(), + lastDownloaded: new Date(), integrity: "", postProcesses: options.postProcesses || [], headers: {}, diff --git a/libs/types.ts b/libs/types.ts index c8610b8..7c02e83 100644 --- a/libs/types.ts +++ b/libs/types.ts @@ -16,7 +16,7 @@ export interface LockContent { catalogResourceId: string | null; lastModified: Date | null; eTag: string | null; - lastDonwloaded: Date; + lastDownloaded: Date; integrity: string; postProcesses: string[]; headers: { [key: string]: string };