You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.3 KiB
Markdown

# call-client
An Electron application with Vue and TypeScript
## Recommended IDE Setup
- [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
## Project Setup
### Install
```bash
$ npm install
```
### Development
```bash
$ npm run dev
```
### Build
```bash
# For windows
$ npm run build:win
# For macOS
$ npm run build:mac
# For Linux
$ npm run build:linux
# For Kylin Desktop OS (x64)
$ npm run build:kylin:x64
# For Kylin Desktop OS (ARM64)
$ npm run build:kylin:arm64
# For Kylin Desktop OS deb only (x64)
$ npm run build:kylin:x64:deb
# For Kylin Desktop OS deb only (ARM64)
$ npm run build:kylin:arm64:deb
```
### Kylin Packaging Notes
- It is recommended to package directly on a Kylin machine with the same CPU architecture as the target machine.
- The build output is generated in `dist/`, including `.deb` and `.AppImage`.
- If you package on Windows, `.AppImage` may fail due to symlink permission and `.deb` may fail due to missing `fpm`. Packaging on Kylin/Linux avoids these issues.
- Install `.deb` with:
```bash
sudo dpkg -i dist/*.deb
sudo apt-get -f install -y
```