mirror of
https://github.com/godotengine/godot.git
synced 2026-02-08 03:38:29 +00:00
Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
This commit is contained in:
@@ -199,11 +199,11 @@ bool CodeSignCodeResources::add_file2(const String &p_root, const String &p_path
|
||||
}
|
||||
|
||||
bool CodeSignCodeResources::add_nested_file(const String &p_root, const String &p_path, const String &p_exepath) {
|
||||
#define CLEANUP() \
|
||||
if (files_to_add.size() > 1) { \
|
||||
#define CLEANUP() \
|
||||
if (files_to_add.size() > 1) { \
|
||||
for (int j = 0; j < files_to_add.size(); j++) { \
|
||||
da->remove(files_to_add[j]); \
|
||||
} \
|
||||
da->remove(files_to_add[j]); \
|
||||
} \
|
||||
}
|
||||
|
||||
Ref<DirAccess> da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
|
||||
@@ -1181,11 +1181,11 @@ PackedByteArray CodeSign::file_hash_sha256(const String &p_path) {
|
||||
}
|
||||
|
||||
Error CodeSign::_codesign_file(bool p_use_hardened_runtime, bool p_force, const String &p_info, const String &p_exe_path, const String &p_bundle_path, const String &p_ent_path, bool p_ios_bundle, String &r_error_msg) {
|
||||
#define CLEANUP() \
|
||||
if (files_to_sign.size() > 1) { \
|
||||
#define CLEANUP() \
|
||||
if (files_to_sign.size() > 1) { \
|
||||
for (int j = 0; j < files_to_sign.size(); j++) { \
|
||||
da->remove(files_to_sign[j]); \
|
||||
} \
|
||||
da->remove(files_to_sign[j]); \
|
||||
} \
|
||||
}
|
||||
|
||||
print_verbose(vformat("CodeSign: Signing executable: %s, bundle: %s with entitlements %s", p_exe_path, p_bundle_path, p_ent_path));
|
||||
|
||||
Reference in New Issue
Block a user