Skip to content

About

轻启:拖入文件设置 Windows 登录自启或每日重启。 / Drag and drop to open files at Windows sign-in or restart apps daily.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

轻启 · LightStart

轻启是一个便携的 Windows 桌面工具。拖入文件即可让它在登录时打开,也可以为 EXE 设定每日重启。规则由 Windows 任务计划程序执行,设置后即可关闭轻启。

下载 LightStart.exe

使用

  1. 把 LightStart.exe 放在固定位置,双击打开。
  2. 拖入一个文件,或点击「选择文件」。程序、文档和快捷方式都可设置为登录时打开。要定时重启,请选择实际的 EXE。
  3. 选好规则并保存。要对同一个程序同时使用两项功能,请分别添加两条规则。选中列表中的规则即可编辑或移除。

每日重启按本机时间执行,当前用户需已登录。程序未运行时会直接启动,运行时会请求正常关闭,并等待最多 15 秒。程序没有可用的主窗口或未能正常退出时,本次重启会跳过。规则会记录轻启及目标文件的完整路径,移动文件后请重新添加相关规则。

需要支持 .NET Framework 4.x 和 Windows 任务计划程序的 Windows 桌面环境。源码可通过 build.cmd 使用 Windows 自带的 .NET Framework C# 编译器构建。

English

LightStart is a portable Windows desktop utility. Drop a file to open it automatically at sign-in, or schedule an EXE to restart every day. Windows Task Scheduler runs your rules after you close LightStart.

Download LightStart.exe

  1. Put LightStart.exe in a permanent folder and double-click it. The app interface is in Simplified Chinese.
  2. Drop a file or click 选择文件 (Choose file). Use 登录 Windows 时打开 (Open at sign-in) for apps, documents, or shortcuts. Select the actual EXE for 每天定时重启这个程序 (Restart this app daily).
  3. Save the rule. Add one rule per action if you want both. Select any rule in the list to edit or remove it.

Daily restarts run at the scheduled local time while you are signed in. If the app is closed, LightStart opens it. If it is running, LightStart requests a normal close and waits up to 15 seconds. It skips the restart if it cannot use a main window or the app fails to exit. Rules store full paths to LightStart and the target file. Recreate affected rules after moving either file.

Requires Windows desktop, .NET Framework 4.x, and Windows Task Scheduler. To build from source, run build.cmd with the .NET Framework C# compiler available.

About

轻启:拖入文件设置 Windows 登录自启或每日重启。 / Drag and drop to open files at Windows sign-in or restart apps daily.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages