Skip to content

Commit

Permalink
fix: reroute to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
n4l5u0r committed Nov 29, 2024
1 parent 4da61c7 commit 38e3349
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/emulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default class EmuContainer {
private readonly elfLocalPath: string;
private readonly name: string;
private readonly image: string;
private readonly ghcrImage: string;
private readonly libElfs: Record<string, string>;
private currentContainer?: Container;

Expand All @@ -39,6 +40,7 @@ export default class EmuContainer {
this.libElfs = libElfs;
this.name = name;
this.logging = false;
this.ghcrImage = `ghcr.io/${image}`;
}

static killContainerByName(name: string): void {
Expand Down Expand Up @@ -148,7 +150,7 @@ export default class EmuContainer {

this.log(`[ZEMU] Creating Container ${this.image} - ${this.name} `);
this.currentContainer = await docker.createContainer({
Image: this.image,
Image: this.ghcrImage,
name: this.name,
Tty: true,
AttachStdout: true,
Expand Down

0 comments on commit 38e3349

Please sign in to comment.