Skip to content

Commit

Permalink
refactor(darwin): improve exit notify in event (#70)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Cui <[email protected]>
  • Loading branch information
BlackHole1 authored Jul 15, 2024
1 parent 9a272b7 commit 525f37d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ export const createWindowsOVM = (options: OVMWindowsOptions): WindowsOVM => {
return WindowsOVM.create(options);
};

export {
OVMDarwinAppEventValue,
OVMDarwinVzState,
OVMWindowsRunEventValue,
OVMWindowsPrepareEventValue,
} from "./type";
export type { OVMWindowsInfo } from "./type";
export { OVMDarwinAppEventValue, OVMDarwinVzState, OVMWindowsRunEventValue, OVMWindowsPrepareEventValue } from "./type";

export type {
OVMDarwinEventData,
Expand Down
2 changes: 1 addition & 1 deletion src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export enum OVMDarwinAppEventValue {
IgnitionProgress = "IgnitionProgress",
IgnitionDone = "IgnitionDone",
Ready = "Ready",
Exit = "Exit",
}

export interface OVMDarwinEventData {
app: OVMDarwinAppEventValue,
error: string,
exit: void,
}

export interface OVMDarwinInfo {
Expand Down

0 comments on commit 525f37d

Please sign in to comment.