mirror of
				https://github.com/notion-enhancer/notion-enhancer.git
				synced 2025-11-01 06:38:08 +11:00 
			
		
		
		
	add store to loader, bugfix homedir with wsl
This commit is contained in:
		
							parent
							
								
									8925234dc5
								
							
						
					
					
						commit
						8440a3dcca
					
				| @ -8,9 +8,18 @@ module.exports = { | |||||||
|   id: '0f0bf8b6-eae6-4273-b307-8fc43f2ee082', |   id: '0f0bf8b6-eae6-4273-b307-8fc43f2ee082', | ||||||
|   type: 'core', |   type: 'core', | ||||||
|   name: 'notion-enhancer core', |   name: 'notion-enhancer core', | ||||||
|  |   desc: | ||||||
|  |     'the modloader itself, including: the CLI, the menu, and enabling/disabling/insertion/updating of mods.', | ||||||
|   version: require('../../package.json').version, |   version: require('../../package.json').version, | ||||||
|   author: 'dragonwocky', |   author: 'dragonwocky', | ||||||
|   thumb: |   thumb: | ||||||
|     'https://camo.githubusercontent.com/5c5bca9e987d986b8cc7e51066f90c6f8a84af08/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3733313634373938343332333931393933332f3733313732373235393239353032333132342f494d475f323137302e6a7067', |     'https://camo.githubusercontent.com/5c5bca9e987d986b8cc7e51066f90c6f8a84af08/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3733313634373938343332333931393933332f3733313732373235393239353032333132342f494d475f323137302e6a7067', | ||||||
|   options: [], |   options: [], | ||||||
|  |   hacks: { | ||||||
|  |     'renderer/preload.js': function (store) { | ||||||
|  |       const data = store({ name: 'dragonwocky' }); | ||||||
|  |       console.log(data.name); | ||||||
|  |       data.name = 'tom'; | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
| }; | }; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user