Browse Source

Merge pull request #26635 from bruvzg/js_preview_url_fix

Fix HTML5 quick preview URL
Rémi Verschelde 6 năm trước cách đây
mục cha
commit
ebb5b84a8f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      platform/javascript/export/export.cpp

+ 1 - 1
platform/javascript/export/export.cpp

@@ -360,7 +360,7 @@ Error EditorExportPlatformJavaScript::run(const Ref<EditorExportPreset> &p_prese
 	if (err) {
 		return err;
 	}
-	OS::get_singleton()->shell_open(path);
+	OS::get_singleton()->shell_open(String("file://") + path);
 	return OK;
 }