diff --git a/dust3d.pro b/dust3d.pro
index 5c783fe4..0a12ffa3 100644
--- a/dust3d.pro
+++ b/dust3d.pro
@@ -67,6 +67,18 @@ HOMEPAGE_URL = "https://dust3d.org/"
REPOSITORY_URL = "https://github.com/huxingyi/dust3d"
ISSUES_URL = "https://github.com/huxingyi/dust3d/issues"
REFERENCE_GUIDE_URL = "http://docs.dust3d.org"
+UPDATES_CHECKER_URL = "https://dust3d.org/dust3d-updateinfo.xml"
+
+PLATFORM = "Unknown"
+macx {
+ PLATFORM = "MacOS"
+}
+win32 {
+ PLATFORM = "Win32"
+}
+unix:!macx {
+ PLATFORM = "Linux"
+}
QMAKE_TARGET_COMPANY = Dust3D
QMAKE_TARGET_PRODUCT = Dust3D
@@ -81,6 +93,8 @@ DEFINES += "PROJECT_DEFINED_APP_HOMEPAGE_URL=\"\\\"$$HOMEPAGE_URL\\\"\""
DEFINES += "PROJECT_DEFINED_APP_REPOSITORY_URL=\"\\\"$$REPOSITORY_URL\\\"\""
DEFINES += "PROJECT_DEFINED_APP_ISSUES_URL=\"\\\"$$ISSUES_URL\\\"\""
DEFINES += "PROJECT_DEFINED_APP_REFERENCE_GUIDE_URL=\"\\\"$$REFERENCE_GUIDE_URL\\\"\""
+DEFINES += "PROJECT_DEFINED_APP_UPDATES_CHECKER_URL=\"\\\"$$UPDATES_CHECKER_URL\\\"\""
+DEFINES += "PROJECT_DEFINED_APP_PLATFORM=\"\\\"$$PLATFORM\\\"\""
QMAKE_CXXFLAGS_RELEASE -= -O
QMAKE_CXXFLAGS_RELEASE -= -O1
@@ -384,6 +398,12 @@ HEADERS += src/scriptrunner.h
SOURCES += src/variablesxml.cpp
HEADERS += src/variablesxml.h
+SOURCES += src/updateschecker.cpp
+HEADERS += src/updateschecker.h
+
+SOURCES += src/updatescheckwidget.cpp
+HEADERS += src/updatescheckwidget.h
+
SOURCES += src/main.cpp
HEADERS += src/version.h
diff --git a/languages/dust3d_zh_CN.ts b/languages/dust3d_zh_CN.ts
index b4ec0722..c1c81761 100644
--- a/languages/dust3d_zh_CN.ts
+++ b/languages/dust3d_zh_CN.ts
@@ -358,6 +358,10 @@ Tips:
脚本
+
+
+ 检查新版本...
+
ExportPreviewWidget
@@ -1100,4 +1104,34 @@ Tips:
清除切面
+
+ UpdatesCheckWidget
+
+
+ 检查新版本
+
+
+
+ 正在检查新版本...
+
+
+
+ 查看
+
+
+
+ UpdatesChecker
+
+
+ 获取更新信息失败,请稍后重试
+
+
+
+ %1 %2 已经是当前最新可用版本
+
+
+
+ 有新版本可用:%1 %2
+
+
diff --git a/resources/model-addax.ds3 b/resources/model-addax.ds3
index 71a64b0e..255866b5 100644
--- a/resources/model-addax.ds3
+++ b/resources/model-addax.ds3
@@ -1,231 +1,231 @@
DUST3D 1.0 xml 0000000193
-
-
+
+