change 'OrcaSlicer' to 'Snapmaker Orca' (#88)

* change 'OrcaSlicer' to 'Snapmaker Orca'

* Fix Orca Multi-Language

* Update 1227
This commit is contained in:
xiaoyeliu
2025-12-27 18:28:06 +08:00
committed by GitHub
parent e14b22c1df
commit 9ade3620b0
42 changed files with 115537 additions and 180108 deletions

View File

@@ -1 +1 @@
e30270fddbfbaac23226aaf46fb5280f
3814d86b5ffb835b21d1cda7a4c4cab3

View File

@@ -11,6 +11,6 @@ _flutter.buildConfig = {"engineRevision":"b8800d88be4866db1b15f8b954ab2573bba996
_flutter.loader.load({
serviceWorkerSettings: {
serviceWorkerVersion: "332938162"
serviceWorkerVersion: "3157657136"
}
});

View File

@@ -3,11 +3,11 @@ const MANIFEST = 'flutter-app-manifest';
const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';
const RESOURCES = {"flutter_bootstrap.js": "70025bb433b520d0ec62b28dee896ad3",
"version.json": "e52a93209d7448318a7147c855506052",
"index.html": "ac3c42043ce225dd2ddf521624bed1f8",
"/": "ac3c42043ce225dd2ddf521624bed1f8",
"main.dart.js": "0aecb6c76ad938e3203514c93b85649c",
const RESOURCES = {"flutter_bootstrap.js": "71ac4b5b85bddb6fdb98cd8356c6ddfa",
"version.json": "808d895cae9401882955eb0f582a0403",
"index.html": "626847718ec5c240e19799fa3d4aa135",
"/": "626847718ec5c240e19799fa3d4aa135",
"main.dart.js": "373c85329ab0536c3543cec4672eaeed",
"flutter.js": "f31737fb005cd3a3c6bd9355efd33061",
"version.changelog": "9590096c9e50df042fdc3575b0b6c55c",
"favicon.png": "be8d1ab28c20907c9869c345d0482962",

View File

@@ -55,27 +55,10 @@
</script>
<script>
function open_browser() {
function open_orca_webview() {
const message = JSON.stringify({
seqid: 1222222,
cmd: "homepage_test_browser",
params: {
url: "http://localhost:7357/?locale=zh-cn-CN&dark_model=1&path=/",
},
});
// 调用 window.postMessage 传递消息给 flutter
window.wx && window.wx.postMessage(message); // 调用 window.postMessage 传递消息给 原生系统
///模拟收到响应结果5000
if(!window.wx) {
// 我不能发现 window.wx
console.log('i dont find window.wx, so i simulate a return by postMessage, message: ', message)
}
}
function open_snapmaker_browser() {
const message = JSON.stringify({
seqid: 1222222,
cmd: "sw_OpenBrowser",
cmd: "sw_OpenOrcaWebview",
params: {
url: "http://localhost:7357/?locale=zh-cn-CN&dark_model=1&path=/",
},

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"app_name":"orca","version":"2.2.1","build_number":"20251225210739","package_name":"orca"}
{"app_name":"orca","version":"2.2.1","build_number":"20251226192510","package_name":"orca"}