Skip to content

Commit 42d7118

Browse files
committed
Merge branch 'release-0730' into HEAD
1 parent 2741f0c commit 42d7118

409 files changed

Lines changed: 111228 additions & 100804 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ if (NOT MSVC AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMP
325325
# we finally get rid of the deprecated code.
326326
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
327327
add_compile_options(-Wno-deprecated-declarations)
328-
add_compile_options(-glldb)
328+
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
329+
add_compile_options(-glldb)
330+
endif()
329331
endif()
330332

331333
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER 15)
@@ -860,8 +862,11 @@ configure_file(${LIBDIR}/platform/unix/fhs.hpp.in ${LIBDIR_BIN}/platform/unix/fh
860862
message(STATUS "CMAKE_INSTALL_PREFIX333=${CMAKE_INSTALL_PREFIX}")
861863

862864
message(STATUS "SLIC3R_RESOURCES_DIR222=${SLIC3R_RESOURCES_DIR}")
865+
message(STATUS "CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
863866
# if (WIN32)
864867
# include(package/package.cmake)
865868
# elseif( APPLE)
866-
add_subdirectory(package)
869+
if (NOT FLATPAK)
870+
add_subdirectory(package)
871+
endif()
867872
# endif()

cmake/modules/NSIS.template.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,15 @@ Jump_Del_Thumb:
10201020

10211021
;Remove the installation directory if it is empty.
10221022
RMDir "$INSTDIR"
1023+
; 判断上级目录是否为 Creality
1024+
GetFullPathName $R0 "$INSTDIR\.."
1025+
Push $R0
1026+
Push "Creality"
1027+
Call un.StrStr
1028+
Pop $R1
1029+
StrCmp "$R1" "Creality" 0 skipCrealityDelete
1030+
RMDir "$INSTDIR\.."
1031+
skipCrealityDelete:
10231032

10241033
; Remove the registry entries.
10251034
DeleteRegKey SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@"
@@ -1067,6 +1076,7 @@ Jump_Del_Thumb:
10671076
secondStartMenuDeleteLoopDone:
10681077

10691078
DeleteRegKey /ifempty SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@"
1079+
DeleteRegKey /ifempty HKLM "Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@"
10701080

10711081
Push $INSTDIR\bin
10721082
StrCmp $DO_NOT_ADD_TO_PATH_ "1" doNotRemoveFromPath 0

deps/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,12 @@ if(FLATPAK)
246246
find_package(ZLIB)
247247
find_package(PNG)
248248
find_package(EXPAT)
249-
find_package(CURL)
249+
#find_package(CURL)
250250
find_package(JPEG)
251251
find_package(TIFF)
252252
find_package(Freetype)
253253
find_package(OpenSSL 1.1...<3.2)
254-
find_package(CURL)
254+
#find_package(CURL)
255255
endif()
256256

257257
set(ZLIB_PKG "")

flatpak/entrypoint

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,4 @@ grep -q org.freedesktop.Platform.GL.nvidia /.flatpak-info && export WEBKIT_DISAB
66
# Work-around https://github.com/bambulab/BambuStudio/issues/3440
77
export LC_ALL=C.UTF-8
88

9-
if [ $BAMBU_STUDIO_DARK_THEME == true ]; then
10-
export GTK_THEME='Adwaita:dark'
11-
# echo "Message: $(date +%T): INFO: using dark theme variant"
12-
fi
13-
14-
exec /app/bin/crealityprint "$@" &
15-
$(/app/bin/set-dark-theme-variant.py) &
9+
exec /app/CrealityPrint "$@"

flatpak/images/1.png

199 KB
Loading

flatpak/images/2.png

-387 KB
Loading
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop">
3+
<id>io.github.crealityofficial.CrealityPrint</id>
4+
<launchable type="desktop-id">io.github.crealityofficial.CrealityPrint.desktop</launchable>
5+
<provides>
6+
<id>io.github.crealityofficial.CrealityPrint.desktop</id>
7+
</provides>
8+
<name>CrealityPrint</name>
9+
<!-- hehe hadess @ppd
10+
... seriously though, thanks -->
11+
<summary>Get even more perfect prints!</summary>
12+
<developer_name>Creality</developer_name>
13+
<url type="homepage">https://github.com/CrealityOfficial/CrealityPrint</url>
14+
<url type="help">https://github.com/CrealityOfficial/CrealityPrint/wiki</url>
15+
<url type="bugtracker">https://github.com/CrealityOfficial/CrealityPrint/issues/</url>
16+
<url type="donation"></url>
17+
<metadata_license>0BSD</metadata_license>
18+
<project_license>AGPL-3.0-only</project_license>
19+
<content_rating type="oars-1.1" />
20+
<requires>
21+
<display_length compare="gt">768</display_length>
22+
</requires>
23+
<recommends>
24+
<control>keyboard</control>
25+
<control>pointing</control>
26+
</recommends>
27+
<screenshots>
28+
<screenshot type="default">
29+
<image>https://pic2-cdn.creality.com/plug/imgs/f7c7444213f1c18da6017221d73b3bac.webp</image>
30+
<caption>A model ready to be sliced on a buildplate.</caption>
31+
</screenshot>
32+
</screenshots>
33+
<description>
34+
<p>A 3D printer slicer forked from Bambu Studio, PrusaSlicer, and SuperSlicer with many more printer profiles, helpful calibration prints, and many more features to get your 3D printer printing perfectly!</p>
35+
</description>
36+
<branding>
37+
<color type="primary" scheme_preference="light">#009688</color>
38+
</branding>
39+
<releases>
40+
<release version="6.2.0" date="2025-06-30"> <url>https://github.com/CrealityOfficial/CrealityPrint/commit/5d2ac094fe3f37ce446a0ee1390a44e6b8649d46</url>
41+
</release>
42+
</releases>
43+
</component>

0 commit comments

Comments
 (0)