Jelajahi Sumber

【新增】添加 PageOS 用户桌面包

- 在 index.json 中新增 pageos-ui 包的信息
- 创建 pageos-ui 包的 0.1.0 版本
- 添加用户桌面的 favicon 图标
PJ568 1 tahun lalu
induk
melakukan
1fbe315ccc

+ 9 - 0
index.json

@@ -17,6 +17,15 @@
       "latest_version": "0.1.4",
       "description": "PageOS 应用启动器",
       "location": "./packages/pageos-app-launcher/0.1.4"
+    },
+    {
+      "id": "pageos-ui",
+      "name": "PageOS 用户桌面",
+      "icon": "assets/favicon.svg",
+      "author": "PJ568",
+      "latest_version": "0.1.0",
+      "description": "PageOS 的 HTML/CSS/JavaScript 用户界面实现",
+      "location": "./packages/pageos-ui/0.1.0"
     }
   ],
   "source": []

+ 23 - 0
packages/pageos-ui/0.1.0/assets/favicon.svg

@@ -0,0 +1,23 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
+  <!-- 外框矩形 -->
+  <rect x="2" y="2" width="28" height="28" rx="10" ry="10"
+    fill="#424242"
+    stroke="#00695c"
+    stroke-width="4"/>
+
+  <!-- 左眼:小圆点 -->
+  <circle cx="12" cy="14" r="1.5" fill="#f5f5f5" />
+
+  <!-- 右眼:小圆点 -->
+  <circle cx="20" cy="14" r="1.5" fill="#f5f5f5" />
+
+  <!-- 鼻子:竖线 -->
+  <line x1="16" y1="16" x2="16" y2="18" stroke="#f5f5f5" stroke-width="1.5" />
+
+  <!-- 微笑的嘴:上扬的弧线 -->
+  <path d="M 14 20 Q 16 22 18 20" 
+        fill="none" 
+        stroke="#f5f5f5" 
+        stroke-width="1.5" 
+        stroke-linecap="round" />
+</svg>

File diff ditekan karena terlalu besar
+ 263 - 0
packages/pageos-ui/0.1.0/index.html


+ 16 - 0
packages/pageos-ui/0.1.0/metadata.json

@@ -0,0 +1,16 @@
+{
+  "name": "PageOS 用户桌面",
+  "id": "pageos-ui",
+  "version": "0.1.0",
+  "description": "PageOS 的 HTML/CSS/JavaScript 用户界面实现",
+  "icon": "assets/favicon.svg",
+  "author": "PJ568",
+  "type": "system",
+  "category": "pageos",
+  "permissions": [],
+  "entry": "index.html",
+  "all_files": {
+    "assets/favicon.svg": "a3f5e674fc1724fb34087432add370d6a25db5eb627258d2deb7b085f3233be0",
+    "index.html": "fcd5cc393665947586889258f9eb279f4ba6aaacd7e88f638eeeeb35708a816e"
+  }
+}

+ 1 - 0
packages/pageos-ui/versions.txt

@@ -0,0 +1 @@
+0.1.0

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini