Skip to content

Conversation

@ahmedbarakat207
Copy link

No description provided.

@Levev Levev marked this pull request as draft October 11, 2025 00:37
@Levev
Copy link
Collaborator

Levev commented Oct 11, 2025

Converted to draft, please mark as ready for review when you're done.

Thank you for your work on getting WinBoat to work under MacOS!

Copy link

@Hi-Angel Hi-Angel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add to the commit a:

Fixes: #205

And also the second commit is weird, it fixes the first one and it adds a memory change… and what "add files via upload" commit name would even mean?

const userGroups = (await execAsync('id -Gn')).stdout;
specs.dockerIsInUserGroups = userGroups.split(/\s+/).includes('docker');
if (os.platform() === 'darwin') {
specs.dockerIsInUserGroups = true;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that guaranteed on Mac? And I think it warrants a comment.

try {
if (os.platform() === 'darwin') {
specs.kvmEnabled = true;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's correct. Looking at this post, access to /dev/kvm may or may not exist depending on user configuration, so the check for file existence a few lines below is necessary. You can't just assume the file is accessible on 'darwin'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants