diff --git a/SimpleWebUI.uplugin b/SimpleWebUI.uplugin index e983e2e..5e9482a 100644 --- a/SimpleWebUI.uplugin +++ b/SimpleWebUI.uplugin @@ -11,16 +11,16 @@ "EnabledByDefault": true, "CanContainContent": true, "Plugins": [ - { - "Name": "GameplayTagsEditor", - "Enabled": true - }, - { - "Name": "Angelscript", - "Enabled": true, - "bOptional": true - } -], + { + "Name": "GameplayTagsEditor", + "Enabled": true + }, + { + "Name": "Angelscript", + "Enabled": true, + "Optional": true + } + ], "Modules": [ { "Name": "SwuiLoader", diff --git a/Source/SwuiEditor/Private/SwuiEditorModule.cpp b/Source/SwuiEditor/Private/SwuiEditorModule.cpp index 13cbf9f..ddc1917 100644 --- a/Source/SwuiEditor/Private/SwuiEditorModule.cpp +++ b/Source/SwuiEditor/Private/SwuiEditorModule.cpp @@ -146,7 +146,7 @@ class FSwuiEditorModule : public IModuleInterface FPlatformProcess::CreateProc( TEXT("cmd.exe"), - *FString::Printf(TEXT("/c pnpm dev"), *ContentUI), + TEXT("/c pnpm dev"), true, true, true, nullptr, 0, *ContentUI, nullptr); UE_LOG(LogTemp, Log, TEXT("SWUI: Launched dev server (hidden) in %s"), *ContentUI);