mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 06:46:40 +08:00 
			
		
		
		
	shortcut_stream.close(); fixed
This commit is contained in:
		
							parent
							
								
									de0b35b974
								
							
						
					
					
						commit
						1ae0f0f3f6
					
				| @ -2922,10 +2922,10 @@ bool GMainWindow::CreateShortcutLink(const std::filesystem::path& shortcut_path, | ||||
|         } else { | ||||
|             LOG_ERROR(Frontend, "Failed to create shortcut"); | ||||
|         } | ||||
|         shortcut_stream.close(); | ||||
|     } catch (const std::exception& e) { | ||||
|         LOG_ERROR(Frontend, "Failed to create shortcut: {}", e.what()); | ||||
|     } | ||||
|     shortcut_stream.close(); | ||||
|     return false; | ||||
| #elif defined(_WIN32) // Windows
 | ||||
|     HRESULT hr = CoInitialize(NULL); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user