Skip to content

Commit 615db49

Browse files
authored
Merge pull request #1 from KurisuJuha/main
OSがwindowsの場合のコマンド呼び出し部分の問題の修正
2 parents 193fe3a + 1e9ea0a commit 615db49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TypeScriptImporter/Assets/TypeScriptImporter/Editor/TypeScriptAssetPostProcessorBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected void OnPreprocessAssetCore(string commandName, string artifactFileExte
3838
{
3939
ProcessHelper.StartCompileProcess(
4040
#if UNITY_EDITOR_WIN
41-
"npx", $"{commandName} {args}"
41+
"cmd", $"/c npx {commandName} {args}"
4242
#else
4343
"/bin/bash", $"-cl 'npx {commandName} {args}'"
4444
#endif

0 commit comments

Comments
 (0)