mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	build(copy-trilium): remove now unnecessary package.json patching
this is not needed anymore since commit 6b9d8f0d67
			
			
This commit is contained in:
		@@ -10,9 +10,6 @@ if ! [[ $(which npm) ]]; then
 | 
				
			|||||||
    exit 1
 | 
					    exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Patch package.json main
 | 
					 | 
				
			||||||
sed -i 's|./dist/electron-main.js|electron-main.js|g' "$BUILD_DIR/package.json"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if [[ -d "$BUILD_DIR"/node_modules ]]; then
 | 
					if [[ -d "$BUILD_DIR"/node_modules ]]; then
 | 
				
			||||||
    # cleanup of useless files in dependencies
 | 
					    # cleanup of useless files in dependencies
 | 
				
			||||||
    for d in 'image-q/demo' \
 | 
					    for d in 'image-q/demo' \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user