Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议, WeaselSetup.exe 可以添加一些命令行参数吗 #1419

Open
xxxdo1 opened this issue Nov 5, 2024 · 6 comments
Open

建议, WeaselSetup.exe 可以添加一些命令行参数吗 #1419

xxxdo1 opened this issue Nov 5, 2024 · 6 comments

Comments

@xxxdo1
Copy link

xxxdo1 commented Nov 5, 2024

示例:

/S 选择简体, 用户文件夹更改为, "D:\User"
(1) WeaselSetup.exe /S "D:\User"

/T 选择繁体, 用户文件夹更改为默认程序目录下User文件夹, "User"
(2) WeaselSetup.exe /T "User"

这样就方便用户定制便携版本了

@fxliang
Copy link
Contributor

fxliang commented Nov 8, 2024

用户目录这个原来就可以用reg命令处理,后来加了个 #1403

@xxxdo1
Copy link
Author

xxxdo1 commented Nov 9, 2024

WeaselSetup.exe /userdir:D:\rimedata

这个例子不成功啊, 我按这个例子使用了, 它只是弹出了个窗口, 并没有重新设置用户目录
我使用的是最新版本小狼毫v16.3, Win10

@fxliang
Copy link
Contributor

fxliang commented Nov 9, 2024

这个是0.16.3之后的代码,你要用nightly才有

@xxxdo1
Copy link
Author

xxxdo1 commented Nov 9, 2024

原来如此, 我觉得命令行参数可以改的简便一些, 就像我上面的示例, 这样即使不看帮助文档也能自己摸索出来

@fxliang
Copy link
Contributor

fxliang commented Nov 9, 2024

不加控制字符,如何识别是什么呢?这样只会麻烦不少。或者您要是会的话,PR welcome.

@xxxdo1
Copy link
Author

xxxdo1 commented Nov 9, 2024

WeaselSetup.exe 就只有两种搭配, 参数识别到正确路径就修改用户目录, 另一个参数也可默认选择性填写

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants