mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	added clipper protocol version
This commit is contained in:
		| @@ -165,7 +165,7 @@ async function openNote(req) { | |||||||
| async function handshake() { | async function handshake() { | ||||||
|     return { |     return { | ||||||
|         appName: "trilium", |         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 APP_DB_VERSION = 136; | ||||||
| const SYNC_VERSION = 9; | const SYNC_VERSION = 9; | ||||||
|  | const CLIPPER_PROTOCOL_VERSION = 1; | ||||||
|  |  | ||||||
| module.exports = { | module.exports = { | ||||||
|     appVersion: packageJson.version, |     appVersion: packageJson.version, | ||||||
| @@ -13,5 +14,6 @@ module.exports = { | |||||||
|     syncVersion: SYNC_VERSION, |     syncVersion: SYNC_VERSION, | ||||||
|     buildDate: build.buildDate, |     buildDate: build.buildDate, | ||||||
|     buildRevision: build.buildRevision, |     buildRevision: build.buildRevision, | ||||||
|     dataDirectory: TRILIUM_DATA_DIR |     dataDirectory: TRILIUM_DATA_DIR, | ||||||
|  |     clipperProtocolVersion: CLIPPER_PROTOCOL_VERSION | ||||||
| }; | }; | ||||||
		Reference in New Issue
	
	Block a user