Compare commits
2 Commits
28a4252852
...
3007993ad2
| Author | SHA1 | Date | |
|---|---|---|---|
| 3007993ad2 | |||
| e578c31c28 |
@@ -217,7 +217,7 @@ function main(profiles, args, status=null, error=null) {
|
|||||||
$('#dateto').valueAsNumber = date.setHours(24 * 7) + date.getTimezoneOffset() * 60 * 1000;
|
$('#dateto').valueAsNumber = date.setHours(24 * 7) + date.getTimezoneOffset() * 60 * 1000;
|
||||||
$('#all').dispatchEvent(new Event('change'));
|
$('#all').dispatchEvent(new Event('change'));
|
||||||
|
|
||||||
if (Object.hasOwn(args, 'account')) {
|
if (args['account'] && args['password']) {
|
||||||
let account = new String(args['account']);
|
let account = new String(args['account']);
|
||||||
let name = account.split('@', 1).pop();
|
let name = account.split('@', 1).pop();
|
||||||
name = name.charAt(0).toLocaleUpperCase() + name.slice(1);
|
name = name.charAt(0).toLocaleUpperCase() + name.slice(1);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
cd /D .\..\
|
cd /D .\..\
|
||||||
set SE_PROXY=http://127.0.0.1:10809
|
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
|
@pause
|
||||||
Reference in New Issue
Block a user