mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
		
							parent
							
								
									28a4eec9a7
								
							
						
					
					
						commit
						e48c5daddf
					
				
					 113 changed files with 528 additions and 528 deletions
				
			
		|  | @ -442,7 +442,7 @@ Error EditorExportPlatformUWP::export_project(const Ref<EditorExportPreset> &p_p | |||
| 
 | ||||
| #ifdef WINDOWS_ENABLED | ||||
| 	// Sign with signtool
 | ||||
| 	String signtool_path = EditorSettings::get_singleton()->get("export/uwp/signtool"); | ||||
| 	String signtool_path = EDITOR_GET("export/uwp/signtool"); | ||||
| 	if (signtool_path.is_empty()) { | ||||
| 		return OK; | ||||
| 	} | ||||
|  | @ -454,9 +454,9 @@ Error EditorExportPlatformUWP::export_project(const Ref<EditorExportPreset> &p_p | |||
| 
 | ||||
| 	static String algs[] = { "MD5", "SHA1", "SHA256" }; | ||||
| 
 | ||||
| 	String cert_path = EditorSettings::get_singleton()->get("export/uwp/debug_certificate"); | ||||
| 	String cert_pass = EditorSettings::get_singleton()->get("export/uwp/debug_password"); | ||||
| 	int cert_alg = EditorSettings::get_singleton()->get("export/uwp/debug_algorithm"); | ||||
| 	String cert_path = EDITOR_GET("export/uwp/debug_certificate"); | ||||
| 	String cert_pass = EDITOR_GET("export/uwp/debug_password"); | ||||
| 	int cert_alg = EDITOR_GET("export/uwp/debug_algorithm"); | ||||
| 
 | ||||
| 	if (!p_debug) { | ||||
| 		cert_path = p_preset->get("signing/certificate"); | ||||
|  |  | |||
|  | @ -213,7 +213,7 @@ class EditorExportPlatformUWP : public EditorExportPlatform { | |||
| 		String architecture = arch == "arm32" ? "arm" : (arch == "x86_32" ? "x86" : "x64"); | ||||
| 		result = result.replace("$architecture$", architecture); | ||||
| 
 | ||||
| 		result = result.replace("$display_name$", String(p_preset->get("package/display_name")).is_empty() ? (String)ProjectSettings::get_singleton()->get("application/config/name") : String(p_preset->get("package/display_name"))); | ||||
| 		result = result.replace("$display_name$", String(p_preset->get("package/display_name")).is_empty() ? (String)GLOBAL_GET("application/config/name") : String(p_preset->get("package/display_name"))); | ||||
| 
 | ||||
| 		result = result.replace("$publisher_display_name$", p_preset->get("package/publisher_display_name")); | ||||
| 		result = result.replace("$app_description$", p_preset->get("package/description")); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi