mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	added clipper protocol version
This commit is contained in:
		
							parent
							
								
									7d57961ab2
								
							
						
					
					
						commit
						6a99af64a8
					
				| @ -165,7 +165,7 @@ async function openNote(req) { | ||||
| async function handshake() { | ||||
|     return { | ||||
|         appName: "trilium", | ||||
|         appVersion: appInfo.appVersion | ||||
|         protocolVersion: appInfo.clipperProtocolVersion | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -6,6 +6,7 @@ const {TRILIUM_DATA_DIR} = require('./data_dir'); | ||||
| 
 | ||||
| const APP_DB_VERSION = 136; | ||||
| const SYNC_VERSION = 9; | ||||
| const CLIPPER_PROTOCOL_VERSION = 1; | ||||
| 
 | ||||
| module.exports = { | ||||
|     appVersion: packageJson.version, | ||||
| @ -13,5 +14,6 @@ module.exports = { | ||||
|     syncVersion: SYNC_VERSION, | ||||
|     buildDate: build.buildDate, | ||||
|     buildRevision: build.buildRevision, | ||||
|     dataDirectory: TRILIUM_DATA_DIR | ||||
|     dataDirectory: TRILIUM_DATA_DIR, | ||||
|     clipperProtocolVersion: CLIPPER_PROTOCOL_VERSION | ||||
| }; | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam