Skip to content

Commit

Permalink
feat(ovm): support extends share dir (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackHole1 authored Apr 18, 2024
1 parent 3e60f16 commit 536096c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/darwin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class DarwinOVM {
"-event-socket-path", this.eventSocketPath,
"-bind-pid", String(process.pid),
`-power-save-mode=${String(this.options.powerSaveMode)}`,
`-extend-share-dir=${this.options.extendShareDir || ""}`,
], {
timeout: 0,
windowsHide: true,
Expand Down
1 change: 1 addition & 0 deletions src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface OVMDarwinOptions {
sshKeyDir: string;
versions: OVMDarwinOptions["linuxPath"] & { dataImg: string; };
powerSaveMode: boolean;
extendShareDir?: string,
}

export enum OVMStatusName {
Expand Down

0 comments on commit 536096c

Please sign in to comment.