added find pyinstaller temp folder
This commit is contained in:
		
							parent
							
								
									a01f661d49
								
							
						
					
					
						commit
						47467f9bdc
					
				| @ -12,6 +12,12 @@ def resource_path(relative_path): | ||||
|         base_path = os.path.abspath(".") | ||||
|     return os.path.join(base_path, relative_path) | ||||
| 
 | ||||
| def save_filename(): | ||||
|     """determin file name by platform""" | ||||
|     folder = Path('D:/OBS Assets/Overlays') | ||||
|     if folder.exists(): | ||||
|         return folder / 'Title.png' | ||||
|     return Path.home() / 'Pictures' / 'Title.png' | ||||
| 
 | ||||
| def update_image(original, title, subtitle): | ||||
|     """Render new title and title preview | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user