Skip to content

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

:art: 桌面端检查磁盘可用空间 https://github.com/siyuan-note/siyuan/issues/6873

Liang Ding9cf02cb629bc
diff --git a/kernel/util/disk.go b/kernel/util/disk.go
index 1f84a101de..e3be268123 100644
--- a/kernel/util/disk.go
+++ b/kernel/util/disk.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
-//go:build !ios
+//go:build !ios && !android
package util
diff --git a/kernel/util/disk_ios.go b/kernel/util/disk_mobile.go
similarity index 96%
rename from kernel/util/disk_ios.go
rename to kernel/util/disk_mobile.go
index f91c5d70e4..ac6aef2fff 100644
--- a/kernel/util/disk_ios.go
+++ b/kernel/util/disk_mobile.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
-//go:build ios
+//go:build ios || android
package util