Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:zap: https://github.com/siyuan-note/siyuan/issues/15734

Vanessae015f729452e
diff --git a/app/src/assets/template/app/window.tpl b/app/src/assets/template/app/window.tpl
index a3a8b1a595..fd64eb9dbe 100644
--- a/app/src/assets/template/app/window.tpl
+++ b/app/src/assets/template/app/window.tpl
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="apple-touch-icon" href="../../icon.png">
<style id="editorAttr" type="text/css"></style>
diff --git a/app/src/assets/template/desktop/index.tpl b/app/src/assets/template/desktop/index.tpl
index 9f4ba442de..f295998e72 100644
--- a/app/src/assets/template/desktop/index.tpl
+++ b/app/src/assets/template/desktop/index.tpl
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials">
<link rel="apple-touch-icon" href="../../icon.png">
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index ca8710f434..3737e3d8d6 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -111,7 +111,6 @@ const renderPDF = async (id: string) => {
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
- <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" type="text/css" id="baseStyle" href="${servePath}/stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
@@ -663,7 +662,6 @@ const onExport = async (data: IWebSocketData, filePath: string, exportOption: IE
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
- <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" type="text/css" id="baseStyle" href="stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
diff --git a/app/webpack.config.js b/app/webpack.config.js
index 5d9983c72d..f768f26656 100644
--- a/app/webpack.config.js
+++ b/app/webpack.config.js
@@ -10,7 +10,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
target: "electron-renderer",
output: {
publicPath: "auto",
diff --git a/app/webpack.desktop.js b/app/webpack.desktop.js
index 2ae81ac389..cccd85439f 100644
--- a/app/webpack.desktop.js
+++ b/app/webpack.desktop.js
@@ -11,7 +11,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
output: {
publicPath: "/stage/build/desktop/",
filename: "[name].[chunkhash].js",
diff --git a/app/webpack.export.js b/app/webpack.export.js
index dd4bc607de..d705287683 100644
--- a/app/webpack.export.js
+++ b/app/webpack.export.js
@@ -10,7 +10,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
output: {
publicPath: "auto",
filename: "[name].js",
diff --git a/app/webpack.mobile.js b/app/webpack.mobile.js
index 7c6844144e..9c5e78237d 100644
--- a/app/webpack.mobile.js
+++ b/app/webpack.mobile.js
@@ -11,7 +11,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
- devtool: argv.mode !== "production" ? "cheap-source-map" : false,
+ devtool: argv.mode !== "production" ? "eval-source-map" : false,
output: {
// 不能使用 auto,否则 ios 导出图片获取不到 css。 https://github.com/siyuan-note/siyuan/issues/8532
publicPath: "/stage/build/mobile/",