Skip to content

请问 .exe 可运行文件如何添加环境变量? #1652

@chuwza

Description

@chuwza

需求描述

你好,我使用的是可运行文件,unblockneteasemusic-win-x64.exe

根据文档,可运行文件可以传入配置参数,比如-p 90:91 -o ytdlp

Image

但是如何传入环境变量呢?

Image

我使用unblockneteasemusic-win-x64 ENABLE_LOCAL_VIP=svip,想将开启svip的环境变量传入可运行文件,但发现并不可行

Image

所以有人能指点一下吗?感谢

预期行为

可运行文件可以使用环境变量

网易云音乐版本号

3.1.9

操作系统

Windows 10

其他信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions