feature update copy right info

This commit is contained in:
alves
2025-12-25 14:18:29 +08:00
parent 45efa53901
commit c6b878b2b7
7 changed files with 22 additions and 19 deletions

View File

@@ -59,6 +59,14 @@ include("version.inc")
include(GNUInstallDirs) include(GNUInstallDirs)
include(CMakeDependentOption) 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") set(SLIC3R_RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/resources")
file(TO_NATIVE_PATH "${SLIC3R_RESOURCES_DIR}" SLIC3R_RESOURCES_DIR_WIN) file(TO_NATIVE_PATH "${SLIC3R_RESOURCES_DIR}" SLIC3R_RESOURCES_DIR_WIN)

View File

@@ -44,12 +44,10 @@ function GotoNextPage()
var errorTip = document.getElementById('errorTip'); var errorTip = document.getElementById('errorTip');
if (!checkbox.checked) { if (!checkbox.checked) {
// 未勾选复选框,显示错误提示
errorTip.style.display = 'block'; errorTip.style.display = 'block';
return; return;
} }
// 已勾选,隐藏错误提示并继续
errorTip.style.display = 'none'; errorTip.style.display = 'none';
SendPrivacyChoice("agree"); SendPrivacyChoice("agree");
window.location.href="../21/index.html"; window.location.href="../21/index.html";
@@ -60,11 +58,9 @@ function OnCheckboxChange()
var checkbox = document.getElementById('agreeCheckbox'); var checkbox = document.getElementById('agreeCheckbox');
var errorTip = document.getElementById('errorTip'); var errorTip = document.getElementById('errorTip');
// 勾选时隐藏错误提示
if (checkbox.checked) { if (checkbox.checked) {
errorTip.style.display = 'none'; errorTip.style.display = 'none';
} }
// 取消勾选时不显示错误提示(只有点击按钮时才检查)
} }
@@ -115,11 +111,10 @@ function OpenCrossBorderNotice()
{ {
var noticeUrl = ""; var noticeUrl = "";
// 个人信息出境告知书链接
if(m_Region === "Chinese Mainland") { if(m_Region === "Chinese Mainland") {
noticeUrl = "https://www.snapmaker.cn/cross-border-notice"; noticeUrl = "https://snapmaker.cn/personal-info-export";
} else { } else {
noticeUrl = "https://www.snapmaker.com/cross-border-notice"; noticeUrl = "https://www.snapmaker.com/personal-info-export";
} }
var tSend={}; var tSend={};

View File

@@ -96,7 +96,7 @@ if(ORCA_TOOLS)
MACOSX_BUNDLE_BUNDLE_VERSION "${SLIC3R_VERSION}" MACOSX_BUNDLE_BUNDLE_VERSION "${SLIC3R_VERSION}"
MACOSX_BUNDLE_SHORT_VERSION_STRING "${SLIC3R_VERSION}" MACOSX_BUNDLE_SHORT_VERSION_STRING "${SLIC3R_VERSION}"
MACOSX_BUNDLE_IDENTIFIER "com.Snapmaker.Snapmaker_Orca.profile-validator" 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" MACOSX_BUNDLE_GUI_IDENTIFIER "com.Snapmaker.Snapmaker_Orca.profile-validator"
) )
else() else()
@@ -294,7 +294,7 @@ else ()
MACOSX_BUNDLE TRUE MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_BUNDLE_NAME "Snapmaker Orca" MACOSX_BUNDLE_BUNDLE_NAME "Snapmaker Orca"
MACOSX_BUNDLE_SHORT_VERSION_STRING ${Snapmaker_VERSION} 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 # Get the bundle directory by going up from the executable to the .app bundle
if (CMAKE_CONFIGURATION_TYPES) if (CMAKE_CONFIGURATION_TYPES)
set(BIN_RESOURCES_DIR "$<TARGET_FILE_DIR:Snapmaker_Orca>/../Resources") set(BIN_RESOURCES_DIR "$<TARGET_FILE_DIR:Snapmaker_Orca>/../Resources")

View File

@@ -1,6 +1,6 @@
1 VERSIONINFO 1 VERSIONINFO
FILEVERSION @SLIC3R_VERSION@ FILEVERSION @SLIC3R_RC_VERSION@
PRODUCTVERSION @SLIC3R_VERSION@ PRODUCTVERSION @SLIC3R_RC_VERSION@
{ {
BLOCK "StringFileInfo" BLOCK "StringFileInfo"
{ {
@@ -12,7 +12,7 @@ PRODUCTVERSION @SLIC3R_VERSION@
VALUE "ProductName", "@SLIC3R_APP_NAME@ G-code Viewer" VALUE "ProductName", "@SLIC3R_APP_NAME@ G-code Viewer"
VALUE "ProductVersion", "@SLIC3R_BUILD_ID@" VALUE "ProductVersion", "@SLIC3R_BUILD_ID@"
VALUE "InternalName", "@SLIC3R_APP_NAME@ G-code Viewer" VALUE "InternalName", "@SLIC3R_APP_NAME@ G-code Viewer"
VALUE "LegalCopyright", "" VALUE "LegalCopyright", "Copyright © 2024-2025 Snapmaker. All rights reserved."
VALUE "OriginalFilename", "bambu-gcodeviewer.exe" VALUE "OriginalFilename", "bambu-gcodeviewer.exe"
} }
} }

View File

@@ -1,6 +1,6 @@
1 VERSIONINFO 1 VERSIONINFO
FILEVERSION @SLIC3R_VERSION@ FILEVERSION @SLIC3R_RC_VERSION@
PRODUCTVERSION @SLIC3R_VERSION@ PRODUCTVERSION @SLIC3R_RC_VERSION@
{ {
BLOCK "StringFileInfo" BLOCK "StringFileInfo"
{ {
@@ -12,8 +12,8 @@ PRODUCTVERSION @SLIC3R_VERSION@
VALUE "ProductName", "@SLIC3R_APP_NAME@" VALUE "ProductName", "@SLIC3R_APP_NAME@"
VALUE "ProductVersion", "@SLIC3R_BUILD_ID@" VALUE "ProductVersion", "@SLIC3R_BUILD_ID@"
VALUE "InternalName", "@SLIC3R_APP_NAME@" VALUE "InternalName", "@SLIC3R_APP_NAME@"
VALUE "LegalCopyright", "" VALUE "LegalCopyright", "Copyright © 2024-2025 Snapmaker. All rights reserved."
VALUE "OriginalFilename", "snapmaker-orca.exe" VALUE "OriginalFilename", "Snapmaker_Orca.exe"
} }
} }
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@@ -5,7 +5,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>@SLIC3R_APP_KEY@</string> <string>@SLIC3R_APP_KEY@</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>@SLIC3R_APP_NAME@ Copyright(C) 2021-2023 Lunkuo All Rights Reserved</string> <string>@SLIC3R_APP_NAME@ Copyright © 2024-2025 Snapmaker. All rights reserved.</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>images/Snapmaker_Orca.icns</string> <string>images/Snapmaker_Orca.icns</string>
<key>CFBundleName</key> <key>CFBundleName</key>
@@ -13,7 +13,7 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>@SLIC3R_APP_NAME@ @SLIC3R_BUILD_ID@</string> <string>@SLIC3R_APP_NAME@ @SLIC3R_BUILD_ID@</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.softfever3d.orca-slic3r/</string> <string>com.snapmaker.snapmaker-orca</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>

View File

@@ -333,7 +333,7 @@ AboutDialog::AboutDialog()
copyright_hor_sizer->Add(copyright_ver_sizer, 0, wxLEFT, FromDIP(20)); 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)); html_text->SetForegroundColour(wxColour(107, 107, 107));
copyright_ver_sizer->Add(html_text, 0, wxALL , 0); copyright_ver_sizer->Add(html_text, 0, wxALL , 0);