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",
|
"name": "example",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "An example package for LeonOS",
|
"description": "An example package for LeonOS",
|
||||||
"author": "LeonOS Team",
|
"author": "LeonMMcoset",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
@@ -23,7 +23,3 @@ print("\nUsage:")
|
|||||||
print(" pkg install example-pkg - Install this package")
|
print(" pkg install example-pkg - Install this package")
|
||||||
print(" pkg remove example-pkg - Uninstall this package")
|
print(" pkg remove example-pkg - Uninstall this package")
|
||||||
print(" pkg list - List installed packages")
|
print(" pkg list - List installed packages")
|
||||||
print("\nPress any key to exit...")
|
|
||||||
os.pullEvent("key")
|
|
||||||
term.clear()
|
|
||||||
term.setCursorPos(1, 1)
|
|
||||||
Reference in New Issue
Block a user