-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(darwin)!: use new version ovm for x64 (#144)
Signed-off-by: Kevin Cui <[email protected]>
- Loading branch information
1 parent
c76cd09
commit 32a119d
Showing
7 changed files
with
68 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,25 @@ | ||
import type { OVMDarwinArm64Options, OVMDarwinOptions, OVMWindowsOptions } from "./type"; | ||
import { DarwinOVM } from "./darwin_x64"; | ||
import type { OVMDarwinOptions, OVMWindowsOptions } from "./type"; | ||
import { DarwinOVM } from "./darwin"; | ||
import { WindowsOVM } from "./windows"; | ||
import { DarwinOVMArm64 } from "./darwin_arm64"; | ||
|
||
export const createDarwinOVM = (options: OVMDarwinOptions): Promise<DarwinOVM> => { | ||
return DarwinOVM.create(options); | ||
}; | ||
|
||
export const createDarwinArm64OVM = (options: OVMDarwinArm64Options): Promise<DarwinOVMArm64> => { | ||
return DarwinOVMArm64.create(options); | ||
}; | ||
|
||
export const createWindowsOVM = (options: OVMWindowsOptions): WindowsOVM => { | ||
return WindowsOVM.create(options); | ||
}; | ||
|
||
export { OVMDarwinAppEventValue, OVMDarwinVzState, OVMWindowsRunEventValue, OVMWindowsPrepareEventValue } from "./type"; | ||
export { OVMWindowsRunEventValue, OVMWindowsPrepareEventValue } from "./type"; | ||
|
||
export type { | ||
OVMDarwinEventData, | ||
OVMDarwinOptions, | ||
OVMDarwinInitEvent, | ||
OVMDarwinStartEvent, | ||
OVMDarwinInfo, | ||
OVMDarwinState, | ||
OVMDarwinArm64Options, | ||
OVMDarwinArm64InitEvent, | ||
OVMDarwinArm64StartEvent, | ||
OVMDarwinArm64Info, | ||
OVMDarwinArm64State, | ||
OVMWindowsOptions, | ||
OVMWindowsEventData, | ||
OVMWindowsInfo, | ||
} from "./type"; | ||
export type { DarwinOVM, DarwinOVMArm64, WindowsOVM }; | ||
export type { DarwinOVM, WindowsOVM }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.