mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	This should allow us to package Trilium for multiple platforms, including generating a Windows installer which is our current target.
		
			
				
	
	
		
			31 lines
		
	
	
		
			512 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			512 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   packagerConfig: {
 | |
|     asar: true,
 | |
|   },
 | |
|   rebuildConfig: {},
 | |
|   makers: [
 | |
|     {
 | |
|       name: '@electron-forge/maker-squirrel',
 | |
|       config: {},
 | |
|     },
 | |
|     {
 | |
|       name: '@electron-forge/maker-zip',
 | |
|       platforms: ['darwin'],
 | |
|     },
 | |
|     {
 | |
|       name: '@electron-forge/maker-deb',
 | |
|       config: {},
 | |
|     },
 | |
|     {
 | |
|       name: '@electron-forge/maker-rpm',
 | |
|       config: {},
 | |
|     },
 | |
|   ],
 | |
|   plugins: [
 | |
|     {
 | |
|       name: '@electron-forge/plugin-auto-unpack-natives',
 | |
|       config: {},
 | |
|     },
 | |
|   ],
 | |
| };
 |