Initial commit with README

This commit is contained in:
GVSADS
2026-01-25 17:01:16 +08:00
commit 246bbd8fd9
106 changed files with 2071 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
shutdown 关闭终端
help 帮助
startMik 启动MikOS
setting 设置
repair 修复运行环境
time 时间
open 打开
restart 重启

View File

@@ -0,0 +1,10 @@
shutdown 关闭终端
help 帮助
startMik 启动MikOS
setting 设置
repair 修复运行环境
time 时间
open 打开
restart 重启
about 关于
setting 设置

View File

@@ -0,0 +1 @@
{"Debug":"True"}

View File

@@ -0,0 +1,2 @@
选项名称 值1(最小值)/值2(最大值)
Debug True/False

View File

@@ -0,0 +1,31 @@
"""
本程序为MikDOS的运行库
变量path为DOS工作目录p_path为DOS上级目录
"""
import os, time
#帮助指令
def helpdos(path):
with open(path + '\\DOS\\file\\Command.txt', mode='r', encoding='utf-8') as cmd:
file = cmd.read()
print(file)
#启动MikOS
def startmik(p_path):
os.startfile(p_path + '\\logon.pyw')
#打开设置
def setting(p_path):
os.startfile(p_path + '\\setting\\setting.pyw')
#打印时间
def p_time():
print(time.ctime())
#延时打印(故意滴doge)
def show_later():
time.sleep(1)
def dos_config(path):
print('请阅读下面的教程')
print('---------------------------------')
with open(path + '\\DOS\\file\\config_eg.txt', mode='r', encoding='utf-8') as config_eg:
file_con_eg = config_eg.read()
print(file_con_eg)