diff --git a/CMakeLists.txt b/CMakeLists.txt index 590cbb2645..df6d220c1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,6 +59,14 @@ include("version.inc") include(GNUInstallDirs) include(CMakeDependentOption) +# Set SLIC3R_BUILD_ID from Snapmaker_VERSION if not already defined +if(NOT DEFINED SLIC3R_BUILD_ID OR SLIC3R_BUILD_ID STREQUAL "") + set(SLIC3R_BUILD_ID "${Snapmaker_VERSION}") +endif() + +# Create Windows RC compatible version format (comma-separated: MAJOR,MINOR,PATCH,0) +set(SLIC3R_RC_VERSION "${ORCA_VERSION_MAJOR},${ORCA_VERSION_MINOR},${ORCA_VERSION_PATCH},0") + set(SLIC3R_RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/resources") file(TO_NATIVE_PATH "${SLIC3R_RESOURCES_DIR}" SLIC3R_RESOURCES_DIR_WIN) diff --git a/resources/web/guide/3/3.js b/resources/web/guide/3/3.js index 6b2c92e16b..dcaaf58d27 100644 --- a/resources/web/guide/3/3.js +++ b/resources/web/guide/3/3.js @@ -44,12 +44,10 @@ function GotoNextPage() var errorTip = document.getElementById('errorTip'); if (!checkbox.checked) { - // 未勾选复选框,显示错误提示 errorTip.style.display = 'block'; return; } - // 已勾选,隐藏错误提示并继续 errorTip.style.display = 'none'; SendPrivacyChoice("agree"); window.location.href="../21/index.html"; @@ -60,11 +58,9 @@ function OnCheckboxChange() var checkbox = document.getElementById('agreeCheckbox'); var errorTip = document.getElementById('errorTip'); - // 勾选时隐藏错误提示 if (checkbox.checked) { errorTip.style.display = 'none'; } - // 取消勾选时不显示错误提示(只有点击按钮时才检查) } @@ -115,11 +111,10 @@ function OpenCrossBorderNotice() { var noticeUrl = ""; - // 个人信息出境告知书链接 if(m_Region === "Chinese Mainland") { - noticeUrl = "https://www.snapmaker.cn/cross-border-notice"; + noticeUrl = "https://snapmaker.cn/personal-info-export"; } else { - noticeUrl = "https://www.snapmaker.com/cross-border-notice"; + noticeUrl = "https://www.snapmaker.com/personal-info-export"; } var tSend={}; diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c060c480c7..4df5047638 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -96,7 +96,7 @@ if(ORCA_TOOLS) MACOSX_BUNDLE_BUNDLE_VERSION "${SLIC3R_VERSION}" MACOSX_BUNDLE_SHORT_VERSION_STRING "${SLIC3R_VERSION}" MACOSX_BUNDLE_IDENTIFIER "com.Snapmaker.Snapmaker_Orca.profile-validator" - MACOSX_BUNDLE_COPYRIGHT "© 2024 SoftFever" + MACOSX_BUNDLE_COPYRIGHT "Copyright © 2024-2025 Snapmaker. All rights reserved." MACOSX_BUNDLE_GUI_IDENTIFIER "com.Snapmaker.Snapmaker_Orca.profile-validator" ) else() @@ -294,7 +294,7 @@ else () MACOSX_BUNDLE TRUE MACOSX_BUNDLE_BUNDLE_NAME "Snapmaker Orca" MACOSX_BUNDLE_SHORT_VERSION_STRING ${Snapmaker_VERSION} - MACOSX_BUNDLE_COPYRIGHT "Copyright(C) 2022-2024 Li Jiang All Rights Reserved") + MACOSX_BUNDLE_COPYRIGHT "Copyright © 2024-2025 Snapmaker. All rights reserved.") # Get the bundle directory by going up from the executable to the .app bundle if (CMAKE_CONFIGURATION_TYPES) set(BIN_RESOURCES_DIR "$/../Resources") diff --git a/src/dev-utils/platform/msw/Snapmaker_Orca-gcodeviewer.rc.in b/src/dev-utils/platform/msw/Snapmaker_Orca-gcodeviewer.rc.in index 3eb3c762ae..561421417b 100644 --- a/src/dev-utils/platform/msw/Snapmaker_Orca-gcodeviewer.rc.in +++ b/src/dev-utils/platform/msw/Snapmaker_Orca-gcodeviewer.rc.in @@ -1,6 +1,6 @@ 1 VERSIONINFO -FILEVERSION @SLIC3R_VERSION@ -PRODUCTVERSION @SLIC3R_VERSION@ +FILEVERSION @SLIC3R_RC_VERSION@ +PRODUCTVERSION @SLIC3R_RC_VERSION@ { BLOCK "StringFileInfo" { @@ -12,7 +12,7 @@ PRODUCTVERSION @SLIC3R_VERSION@ VALUE "ProductName", "@SLIC3R_APP_NAME@ G-code Viewer" VALUE "ProductVersion", "@SLIC3R_BUILD_ID@" VALUE "InternalName", "@SLIC3R_APP_NAME@ G-code Viewer" - VALUE "LegalCopyright", "" + VALUE "LegalCopyright", "Copyright © 2024-2025 Snapmaker. All rights reserved." VALUE "OriginalFilename", "bambu-gcodeviewer.exe" } } diff --git a/src/dev-utils/platform/msw/Snapmaker_Orca.rc.in b/src/dev-utils/platform/msw/Snapmaker_Orca.rc.in index 4a321c30b3..fc9e1adda1 100644 --- a/src/dev-utils/platform/msw/Snapmaker_Orca.rc.in +++ b/src/dev-utils/platform/msw/Snapmaker_Orca.rc.in @@ -1,6 +1,6 @@ 1 VERSIONINFO -FILEVERSION @SLIC3R_VERSION@ -PRODUCTVERSION @SLIC3R_VERSION@ +FILEVERSION @SLIC3R_RC_VERSION@ +PRODUCTVERSION @SLIC3R_RC_VERSION@ { BLOCK "StringFileInfo" { @@ -12,8 +12,8 @@ PRODUCTVERSION @SLIC3R_VERSION@ VALUE "ProductName", "@SLIC3R_APP_NAME@" VALUE "ProductVersion", "@SLIC3R_BUILD_ID@" VALUE "InternalName", "@SLIC3R_APP_NAME@" - VALUE "LegalCopyright", "" - VALUE "OriginalFilename", "snapmaker-orca.exe" + VALUE "LegalCopyright", "Copyright © 2024-2025 Snapmaker. All rights reserved." + VALUE "OriginalFilename", "Snapmaker_Orca.exe" } } BLOCK "VarFileInfo" diff --git a/src/dev-utils/platform/osx/Info.plist.in b/src/dev-utils/platform/osx/Info.plist.in index 58eda640d1..fac6d45470 100644 --- a/src/dev-utils/platform/osx/Info.plist.in +++ b/src/dev-utils/platform/osx/Info.plist.in @@ -5,7 +5,7 @@ CFBundleExecutable @SLIC3R_APP_KEY@ CFBundleGetInfoString - @SLIC3R_APP_NAME@ Copyright(C) 2021-2023 Lunkuo All Rights Reserved + @SLIC3R_APP_NAME@ Copyright © 2024-2025 Snapmaker. All rights reserved. CFBundleIconFile images/Snapmaker_Orca.icns CFBundleName @@ -13,7 +13,7 @@ CFBundleShortVersionString @SLIC3R_APP_NAME@ @SLIC3R_BUILD_ID@ CFBundleIdentifier - com.softfever3d.orca-slic3r/ + com.snapmaker.snapmaker-orca CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType diff --git a/src/slic3r/GUI/AboutDialog.cpp b/src/slic3r/GUI/AboutDialog.cpp index f2d007c132..45abd4de91 100644 --- a/src/slic3r/GUI/AboutDialog.cpp +++ b/src/slic3r/GUI/AboutDialog.cpp @@ -333,7 +333,7 @@ AboutDialog::AboutDialog() copyright_hor_sizer->Add(copyright_ver_sizer, 0, wxLEFT, FromDIP(20)); - wxStaticText *html_text = new wxStaticText(this, wxID_ANY, "Copyright (C) 2024 Snapmaker All Rights Reserved", wxDefaultPosition, wxDefaultSize); + wxStaticText *html_text = new wxStaticText(this, wxID_ANY, "Copyright © 2024-2025 Snapmaker. All rights reserved.", wxDefaultPosition, wxDefaultSize); html_text->SetForegroundColour(wxColour(107, 107, 107)); copyright_ver_sizer->Add(html_text, 0, wxALL , 0);