Compare commits

...

2 Commits

Author SHA1 Message Date
3007993ad2 minor fix 2026-05-08 10:35:47 +08:00
e578c31c28 minor fix 2026-05-08 10:18:12 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ function main(profiles, args, status=null, error=null) {
$('#dateto').valueAsNumber = date.setHours(24 * 7) + date.getTimezoneOffset() * 60 * 1000;
$('#all').dispatchEvent(new Event('change'));
if (Object.hasOwn(args, 'account')) {
if (args['account'] && args['password']) {
let account = new String(args['account']);
let name = account.split('@', 1).pop();
name = name.charAt(0).toLocaleUpperCase() + name.slice(1);

View File

@@ -1,4 +1,4 @@
cd /D .\..\
set SE_PROXY=http://127.0.0.1:10809
.\venv\Scripts\pythonw.exe .\main.py "user@example.com" "example" --profile "Example-1" --token "TOKEN" --subdomain "eg" --remise "100"
.\venv\Scripts\pythonw.exe .\main.py "user@example.com" "example" --profile "name=example" "token=TOKEN" "subdomain=eg"
@pause