mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	ci: Patch package.json main
This commit is contained in:
		@@ -35,8 +35,11 @@ for f in 'package.json' 'package-lock.json' 'README.md' 'LICENSE' 'config-sample
 | 
				
			|||||||
    cp "$f" "$DIR"/
 | 
					    cp "$f" "$DIR"/
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Patch package.json main
 | 
				
			||||||
 | 
					sed -i 's/.\/dist\/electron.js/electron.js/g' "$DIR/package.json"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
script_dir=$(realpath $(dirname $0))
 | 
					script_dir=$(realpath $(dirname $0))
 | 
				
			||||||
cp -Rv "$script_dir/../build/src" "$DIR"
 | 
					cp -R "$script_dir/../build/src" "$DIR"
 | 
				
			||||||
cp "$script_dir/../build/electron.js" "$DIR"
 | 
					cp "$script_dir/../build/electron.js" "$DIR"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# run in subshell (so we return to original dir)
 | 
					# run in subshell (so we return to original dir)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user