Skip to content

utils.pwsh: Fix Windows config paths#309

Open
RytoEX wants to merge 1 commit intoobsproject:masterfrom
RytoEX:fix-windows-config-paths
Open

utils.pwsh: Fix Windows config paths#309
RytoEX wants to merge 1 commit intoobsproject:masterfrom
RytoEX:fix-windows-config-paths

Conversation

@RytoEX
Copy link
Copy Markdown
Member

@RytoEX RytoEX commented Apr 6, 2026

Description

Apparently, CMake can fail when parsing the current path string because it interprets the backslash as the start of an escape sequence. Modern Windows can interpret paths with forward slashes, so it should be safe to change these slashes.

Motivation and Context

Discovered this while attempting to update dependencies. Want to fix it separate from that update.

https://github.com/RytoEX/obs-deps/actions/runs/23963204885/job/69897580516#step:4:6211

How Has This Been Tested?

I haven't tested this change yet, but we use forward slashes in other paths for Windows elsewhere, so this is hopefully fine.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@RytoEX RytoEX requested a review from PatTheMav April 6, 2026 19:36
@RytoEX RytoEX self-assigned this Apr 6, 2026
@RytoEX RytoEX added bug Something isn't working Seeking Testers labels Apr 6, 2026
Apparently, CMake can fail when parsing the current path string because
it interprets the backslash as the start of an escape sequence. Modern
Windows can interpret paths with forward slashes, so it should be safe
to change these slashes.
@RytoEX RytoEX force-pushed the fix-windows-config-paths branch from d426148 to b58d62d Compare April 7, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Seeking Testers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant