autostart跨平台自启动设置小工具

联合创作 · 2023-09-29 15:33

Autostart


开源的自启动设置小工具,跨平台,使用方式统一,兼容 windows、mac、linux 桌面版,特别适用于需要开机启动的跨平台程序调用,实现自启动,屏蔽了麻烦的平台判断和启动方法研究。


Usage


On linux and mac , the command is autostart.
On windows , the command is autostart.exe.


1.Enable Application autostart.


linux&mac


autostart enable -k "demokey" -n "my demo application" -c "echo \"autostart\">~/autostart.txt"


help:


autostart enable --help


windows


autostart.exe enable -k test -n test -c "c:\\windows\explorer.exe c:"


help:


autostart.exe enable --help


2.Disable Application autostart.


linux&mac


autostart disable -k "demokey"


help:


autostart disable --help


windows


autostart.exe disable -k "demokey"


help:


autostart.exe disable --help

浏览 20
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报