mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	chore(nx/forge): try setting more options to fix rpm build
This commit is contained in:
		| @@ -10,6 +10,7 @@ const APP_ICON_PATH = path.join(ELECTRON_FORGE_DIR, "app-icon"); | |||||||
| const extraResourcesForPlatform = getExtraResourcesForPlatform(); | const extraResourcesForPlatform = getExtraResourcesForPlatform(); | ||||||
| const baseLinuxMakerConfigOptions = { | const baseLinuxMakerConfigOptions = { | ||||||
|   name: EXECUTABLE_NAME, |   name: EXECUTABLE_NAME, | ||||||
|  |   bin: EXECUTABLE_NAME, | ||||||
|   productName: PRODUCT_NAME, |   productName: PRODUCT_NAME, | ||||||
|   icon: path.join(APP_ICON_PATH, "png/128x128.png"), |   icon: path.join(APP_ICON_PATH, "png/128x128.png"), | ||||||
|   desktopTemplate: path.resolve(path.join(ELECTRON_FORGE_DIR, "desktop.ejs")), |   desktopTemplate: path.resolve(path.join(ELECTRON_FORGE_DIR, "desktop.ejs")), | ||||||
| @@ -103,11 +104,7 @@ module.exports = { | |||||||
|         { |         { | ||||||
|             name: "@electron-forge/maker-deb", |             name: "@electron-forge/maker-deb", | ||||||
|             config: { |             config: { | ||||||
|                 options: { |                 options: baseLinuxMakerConfigOptions | ||||||
|                     name: EXECUTABLE_NAME, |  | ||||||
|                     bin: EXECUTABLE_NAME, |  | ||||||
|                     ...baseLinuxMakerConfigOptions |  | ||||||
|                 } |  | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
| @@ -136,9 +133,7 @@ module.exports = { | |||||||
|         { |         { | ||||||
|             name: "@electron-forge/maker-rpm", |             name: "@electron-forge/maker-rpm", | ||||||
|             config: { |             config: { | ||||||
|                 options: { |                 options: baseLinuxMakerConfigOptions | ||||||
|                   ...baseLinuxMakerConfigOptions |  | ||||||
|                 } |  | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user