Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

alistStart

项目简介

AlistStart 是一个用于启动 alist 服务的 Python 脚本。它可以检查当前目录下的配置文件,确定是否开启了开机启动功能,并相应地启动或停止 alist 服务。此外,它还提供了创建启动项快捷方式的功能。

PS:

我是一名热爱编程的大学生,编写这类小脚本是我认为非常有趣的事情。如果您有任何需求或建议,都欢迎提出,让我能创造更多实用的小工具(当然,这些小脚本都是免费的,并不需要很高的技术水平)。如果您觉得这个脚本对您有帮助,不妨给我一个 star,这是对我的最大支持和鼓励。

安装

依赖

  • Python 3.x
  • pywin32 库(仅在 Windows 平台下需要,用于创建快捷方式)

打包步骤

  1. 下载项目文件到本地。
  2. 确保已安装 Python 3.x。
  3. 在 Windows 平台下,确保已安装 pywin32 库。
  4. 在项目目录下运行 pyinstaller --onefile --noconsole .\alistStart.py

使用方法

  1. alistStart.exe 放置在与 alist.exe 相同的目录下。
  2. 双击运行脚本。
  3. 初次运行时,脚本会自动创建 alistStartConfig.json 配置文件。
  4. 脚本会根据您的选择将程序设为自动启动,并创建或删除相应的启动项快捷方式。

配置文件说明

在当前目录下,脚本会自动创建 alistStartConfig.json 配置文件,用于存储开机启动功能的设置。配置文件格式如下:

{
    "开机启动": ""
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages