https://github.com/peterroe/login-hnust-auto
Automatically log in by compiling the generated `.exe` file
https://github.com/peterroe/login-hnust-auto
Last synced: 11 months ago
JSON representation
Automatically log in by compiling the generated `.exe` file
- Host: GitHub
- URL: https://github.com/peterroe/login-hnust-auto
- Owner: peterroe
- Created: 2022-03-24T15:45:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:56:38.000Z (over 2 years ago)
- Last Synced: 2023-12-15T06:54:11.229Z (over 2 years ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Login-Hnust-Auto
Automatically log in by compiling the generated `.exe` file
## Try it out!
Suppose you have prepared the `node` environment
### Clone and install
```shell
$ git clone https://github.com/peterroe/login-hnust-auto.git
$ cd login-hnust-auto
$ pnpm i # or npm i
```
### Config your account
edit `src/config.js`:
```js
module.exports = {
userName: '1905010504', // input your userName
passWord: 'xxxxx', // input your password
ISP: 2 // 0:校园网 | 1:电信 | 2:联通 | 3:移动
}
```
### Generate exe program
Just run:
```shell
$ pnpm build # or npm run build
```
You will get the exclusive `login.exe` program of your account, and you can put it on the desktop.