Skip to content

Commit

Permalink
[fix] 윈도우 빌드 시 경로가 dist 하위가 아닌 out 아래 빌드를 찾던 점 수정 외 1
Browse files Browse the repository at this point in the history
- 윈도우 빌드시 validator 를 포함하지 않던 이슈 수정
  • Loading branch information
extracold1209 committed Jul 27, 2020
1 parent 2c930ff commit 71da415
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build/entryx64.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ Section $(TEXT_ENTRY_TITLE) SectionEntry

; Put file there
SetOutPath "$INSTDIR\locales"
File "..\out\Entry-win32-x64\win-unpacked\locales\*.*"
File "..\dist\Entry-win32-x64\win-unpacked\locales\*.*"

SetOutPath "$INSTDIR\resources"
File /r "..\out\Entry-win32-x64\win-unpacked\resources\*.*"
File /r "..\dist\Entry-win32-x64\win-unpacked\resources\*.*"

SetOutPath "$INSTDIR"
File "..\out\Entry-win32-x64\win-unpacked\*.*"
File "..\dist\Entry-win32-x64\win-unpacked\*.*"
File "icon.ico"

WriteRegStr HKCR ".ent" "" "${PRODUCT_NAME}"
Expand Down
6 changes: 3 additions & 3 deletions build/entryx86.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ Section $(TEXT_ENTRY_TITLE) SectionEntry

; Put file there
SetOutPath "$INSTDIR\locales"
File "..\out\Entry-win32-ia32\win-ia32-unpacked\locales\*.*"
File "..\dist\Entry-win32-ia32\win-ia32-unpacked\locales\*.*"

SetOutPath "$INSTDIR\resources"
File /r "..\out\Entry-win32-ia32\win-ia32-unpacked\resources\*.*"
File /r "..\dist\Entry-win32-ia32\win-ia32-unpacked\resources\*.*"

SetOutPath "$INSTDIR"
File "..\out\Entry-win32-ia32\win-ia32-unpacked\*.*"
File "..\dist\Entry-win32-ia32\win-ia32-unpacked\*.*"
File "icon.ico"

WriteRegStr HKCR ".ent" "" "${PRODUCT_NAME}"
Expand Down
8 changes: 7 additions & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
]
},
"win": {
"target": "dir"
"target": "dir",
"extraResources": [
{
"from": "validator/win/validator.exe",
"to": ""
}
]
},
"fileAssociations": [
{
Expand Down

0 comments on commit 71da415

Please sign in to comment.