elviss há 2 anos atrás
pai
commit
7540504648
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/PackageClass.php

+ 1 - 0
src/PackageClass.php

@@ -748,6 +748,7 @@ class PackageClass
 		}
 		foreach($regAutorun as $item){
 			$cmd = pathJoin($rootDir,$item['path']);
+			$cmd = str_replace('/','\\',$cmd);
 			if(! $auto->register($item['name'],$cmd) ){
 				logError('failed to register autorun',$item['name']);
 				return false;