Skip to content

Conversation

@Iscreamx
Copy link

fix: AXVISOR_VM_CONFIGS separator for platform compatibility (#307 )

  • Ensure platform compatibility for VM config file environment variable
  • Automatically select the correct separator for AXVISOR_VM_CONFIGS based on the operating system (; for Windows, : for Unix).

}

if !vm_config_paths.is_empty() {
let sep = if cfg!(target_os = "windows") { ";" } else { ":" };
Copy link
Contributor

Choose a reason for hiding this comment

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

Use std::env::join_paths?

Copy link
Author

Choose a reason for hiding this comment

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

updated

Copy link
Contributor

@aarkegz aarkegz left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants