mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Fix x11 exported executables not getting the +x flag
This commit is contained in:
		
							parent
							
								
									574a5714dc
								
							
						
					
					
						commit
						3528b1e571
					
				
					 8 changed files with 43 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -274,6 +274,15 @@ uint64_t FileAccessUnix::_get_modified_time(const String &p_file) {
 | 
			
		|||
	};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Error FileAccessUnix::_chmod(const String &p_path, int p_mod) {
 | 
			
		||||
	int err = chmod(p_path.utf8().get_data(), p_mod);
 | 
			
		||||
	if (!err) {
 | 
			
		||||
		return OK;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return FAILED;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FileAccess *FileAccessUnix::create_libc() {
 | 
			
		||||
 | 
			
		||||
	return memnew(FileAccessUnix);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue