mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	open in file manager of Trilium's data directory
This commit is contained in:
		
							parent
							
								
									2a6870d73b
								
							
						
					
					
						commit
						56259616cb
					
				| @ -72,8 +72,16 @@ export default class AboutDialog extends BasicWidget { | ||||
|         this.$buildDate.text(appInfo.buildDate); | ||||
|         this.$buildRevision.text(appInfo.buildRevision); | ||||
|         this.$buildRevision.attr('href', `https://github.com/TriliumNext/Notes/commit/${appInfo.buildRevision}`); | ||||
|         if (utils.isElectron()) { | ||||
|             this.$dataDirectory.html($('<a></a>', { | ||||
|                 href: 'file:///' + appInfo.dataDirectory, | ||||
|                 text: appInfo.dataDirectory, | ||||
|                 target: '_blank' // Optional: Opens the link in a new tab
 | ||||
|             })); | ||||
|         } else { | ||||
|             this.$dataDirectory.text(appInfo.dataDirectory); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     async openAboutDialogEvent() { | ||||
|         await this.refresh(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 SiriusXT
						SiriusXT