mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix(ci): path for hook module script
This commit is contained in:
		
							parent
							
								
									40f4fdab47
								
							
						
					
					
						commit
						ad8b5c7c9d
					
				| @ -2,11 +2,12 @@ const path = require("path"); | |||||||
| const fs = require("fs-extra"); | const fs = require("fs-extra"); | ||||||
| 
 | 
 | ||||||
| const APP_NAME = "TriliumNext Notes"; | const APP_NAME = "TriliumNext Notes"; | ||||||
|  | const BIN_PATH = path.normalize("./bin/electron-forge"); | ||||||
| 
 | 
 | ||||||
| const extraResourcesForPlatform = getExtraResourcesForPlatform(); | const extraResourcesForPlatform = getExtraResourcesForPlatform(); | ||||||
| const baseLinuxMakerConfigOptions = { | const baseLinuxMakerConfigOptions = { | ||||||
|   icon: "./images/app-icons/png/128x128.png", |   icon: "./images/app-icons/png/128x128.png", | ||||||
|   desktopTemplate: path.resolve("./bin/electron-forge/desktop.ejs"), |   desktopTemplate: path.resolve(path.join(BIN_PATH, desktop.ejs)), | ||||||
|   categories: ["Office", "Utility"] |   categories: ["Office", "Utility"] | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| @ -27,7 +28,7 @@ module.exports = { | |||||||
|             teamId: process.env.APPLE_TEAM_ID |             teamId: process.env.APPLE_TEAM_ID | ||||||
|         }, |         }, | ||||||
|         windowsSign: { |         windowsSign: { | ||||||
|             hookModulePath: "bin\\sign-windows.cjs" |             hookModulePath: path.join(BIN_PATH, "sign-windows.cjs") | ||||||
|         }, |         }, | ||||||
|         extraResource: [ |         extraResource: [ | ||||||
|             // All resources should stay in Resources directory for macOS
 |             // All resources should stay in Resources directory for macOS
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran