mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
fix(example-pkg): 更新包名和版本号并简化示例程序
移除示例程序中的退出提示以简化用户体验 更新作者信息和包名以保持一致性
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -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")
|
||||
Reference in New Issue
Block a user