소스 검색

fix(nsis-gen): compare contents instead of dates and sizes

evshiron 8 년 전
부모
커밋
fb52f61a3b
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/lib/nsis-gen/NsisDiffer.ts

+ 1 - 2
src/lib/nsis-gen/NsisDiffer.ts

@@ -16,8 +16,7 @@ export class NsisDiffer extends NsisComposer {
     protected async makeInstallerFiles(): Promise<string> {
 
         const result = await dircompare.compare(this.fromDir, this.toDir, {
-            compareSize: true,
-            compareDate: true,
+            compareContent: true,
         });
 
         const lines: string[] = [];