Skip to content

Commit

Permalink
CI: win64 version: 2.2.2_rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed May 9, 2024
1 parent 40ba117 commit 6a75101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions librecad/src/lib/engine/rs_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,7 @@ bool RS_Entity::isConstruction(bool typeCheck) const{
if (isHatchMember(this))
return false;

if (layer) return layer->isConstruction();
return false;
return (layer != nullptr) && layer->isConstruction();
}

//! whether printing is enabled or disabled for the entity's layer
Expand Down
6 changes: 3 additions & 3 deletions scripts/postprocess-windows/nsis-5.4.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
;Include version information
!include /NONFATAL "generated_scmrev.nsh"
!ifndef SCMREVISION
!define SCMREVISION "2.2.x"
!define SCMREVISION "2.2.2.x"
!endif

;--------------------------------
Expand Down Expand Up @@ -107,7 +107,7 @@ FunctionEnd
!define Mingw_Ver "mingw_64"
!endif
;--- folder contains mingw64-make.exe
!define MINGW_DIR "${Qt6_Dir}\Tools\${Mingw_Ver}\bin"
!define MINGW_DIR "C:\mingw64\bin"
!define QTCREATOR_DIR "${Qt6_Dir}\Tools\QtCreator\bin"
!define QTMINGW_DIR "${Qt6_Dir}\${Qt_Version}\${Mingw_Ver}"
;--- folder contains qmake.exe
Expand Down Expand Up @@ -144,7 +144,7 @@ Section "Install Section" SecInstall
WriteRegStr HKLM "${UNINSTKEY}" "DisplayIcon" "$INSTDIR\LibreCAD.exe"
WriteRegStr HKLM "${UNINSTKEY}" "DisplayVersion" "${SCMREVISION}"
WriteRegStr HKLM "${UNINSTKEY}" "Publisher" "LibreCAD Team"
WriteRegStr HKLM "${UNINSTKEY}" "Version" "2.2"
WriteRegStr HKLM "${UNINSTKEY}" "Version" "2.2.2_rc1"
WriteRegStr HKLM "${UNINSTKEY}" "HelpLink" "https://librecad.org/"
WriteRegStr HKLM "${UNINSTKEY}" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "${UNINSTKEY}" "URLInfoAbout" "http://librecad.org/"
Expand Down

0 comments on commit 6a75101

Please sign in to comment.