fix(example-pkg): 更新包名和版本号并简化示例程序

移除示例程序中的退出提示以简化用户体验
更新作者信息和包名以保持一致性
This commit is contained in:
2025-09-02 08:57:43 +08:00
parent a7b1ad4cba
commit 5bf8abf22f
2 changed files with 4 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
{
"name": "example-pkg",
"version": "1.0.0",
"name": "example",
"version": "1.0.1",
"description": "An example package for LeonOS",
"author": "LeonOS Team",
"author": "LeonMMcoset",
"license": "MIT",
"dependencies": {},
"files": [

View File

@@ -22,8 +22,4 @@ print("\nThis is an example package that demonstrates the features of LeonOS pac
print("\nUsage:")
print(" pkg install example-pkg - Install this package")
print(" pkg remove example-pkg - Uninstall this package")
print(" pkg list - List installed packages")
print("\nPress any key to exit...")
os.pullEvent("key")
term.clear()
term.setCursorPos(1, 1)
print(" pkg list - List installed packages")