diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -43,8 +43,10 @@ function gatherBuildResources(percyClient, buildDir) {
         var absolutePath = path.join(root, fileStats.name);
         var resourceUrl = absolutePath.replace(buildDir, '');
 
-        // Replace backslashes for forwards slashes to resolve run issues on Windows hosts.		
-        resourceUrl = resourceUrl.replace('\\', '/');
+        if (path.sep == '/') {
+          // Windows support: transform filesystem backslashes into forward-slashes for the URL.
+          resourceUrl = resourceUrl.replace('\\', '/');
+        }
 
         for (var i in SKIPPED_ASSETS) {
           if (resourceUrl.match(SKIPPED_ASSETS[i])) {
Only apply resourceUrl changes on Windows.