mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Remove duplicate ERR_PRINTS macro
This commit is contained in:
@@ -104,7 +104,7 @@ void EditorExportPlatformWindows::_rcedit_add_data(const Ref<EditorExportPreset>
|
||||
}
|
||||
|
||||
if (!FileAccess::exists(rcedit_path)) {
|
||||
ERR_PRINTS("Could not find rcedit executable at " + rcedit_path + ", no icon or app information data will be included.");
|
||||
ERR_PRINT("Could not find rcedit executable at " + rcedit_path + ", no icon or app information data will be included.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ void EditorExportPlatformWindows::_rcedit_add_data(const Ref<EditorExportPreset>
|
||||
String wine_path = EditorSettings::get_singleton()->get("export/windows/wine");
|
||||
|
||||
if (wine_path != String() && !FileAccess::exists(wine_path)) {
|
||||
ERR_PRINTS("Could not find wine executable at " + wine_path + ", no icon or app information data will be included.");
|
||||
ERR_PRINT("Could not find wine executable at " + wine_path + ", no icon or app information data will be included.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -187,7 +187,7 @@ Error EditorExportPlatformWindows::_code_sign(const Ref<EditorExportPreset> &p_p
|
||||
#ifdef WINDOWS_ENABLED
|
||||
String signtool_path = EditorSettings::get_singleton()->get("export/windows/signtool");
|
||||
if (signtool_path != String() && !FileAccess::exists(signtool_path)) {
|
||||
ERR_PRINTS("Could not find signtool executable at " + signtool_path + ", aborting.");
|
||||
ERR_PRINT("Could not find signtool executable at " + signtool_path + ", aborting.");
|
||||
return ERR_FILE_NOT_FOUND;
|
||||
}
|
||||
if (signtool_path == String()) {
|
||||
@@ -196,7 +196,7 @@ Error EditorExportPlatformWindows::_code_sign(const Ref<EditorExportPreset> &p_p
|
||||
#else
|
||||
String signtool_path = EditorSettings::get_singleton()->get("export/windows/osslsigncode");
|
||||
if (signtool_path != String() && !FileAccess::exists(signtool_path)) {
|
||||
ERR_PRINTS("Could not find osslsigncode executable at " + signtool_path + ", aborting.");
|
||||
ERR_PRINT("Could not find osslsigncode executable at " + signtool_path + ", aborting.");
|
||||
return ERR_FILE_NOT_FOUND;
|
||||
}
|
||||
if (signtool_path == String()) {
|
||||
|
||||
Reference in New Issue
Block a user