2020-02-23 11:21:31 +01:00
|
|
|
## Development building / running
|
|
|
|
|
2021-01-18 22:19:06 +01:00
|
|
|
This app is built using Electron.
|
|
|
|
Make sure you have at least Node v12. The app uses ffmpeg from PATH when developing.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm install -g yarn
|
2020-02-23 11:21:31 +01:00
|
|
|
```
|
2021-01-18 22:19:06 +01:00
|
|
|
|
|
|
|
```bash
|
2020-02-23 11:21:31 +01:00
|
|
|
git clone https://github.com/mifi/lossless-cut.git
|
|
|
|
cd lossless-cut
|
2020-05-06 08:06:06 +02:00
|
|
|
yarn
|
2020-02-23 11:21:31 +01:00
|
|
|
```
|
2021-01-18 22:19:06 +01:00
|
|
|
Note: `yarn` may take some time to complete.
|
2020-02-23 11:21:31 +01:00
|
|
|
|
|
|
|
### Running
|
2021-07-25 06:48:15 +02:00
|
|
|
```bash
|
|
|
|
npm run download-ffmpeg # on MacOS only
|
2020-05-06 08:06:06 +02:00
|
|
|
|
2020-02-23 11:21:31 +01:00
|
|
|
npm start
|
|
|
|
```
|
|
|
|
|
2018-05-22 23:32:54 +02:00
|
|
|
## Release
|
|
|
|
|
|
|
|
### Release new version
|
|
|
|
|
2020-02-10 08:24:30 +01:00
|
|
|
- Commit changed
|
|
|
|
- `npm version ...`
|
|
|
|
- `git push && git push --tags`
|
|
|
|
- Wait for build and draft in Github actions
|
|
|
|
- Release draft at github
|
2021-08-25 11:04:32 +02:00
|
|
|
- Bump [snap version](https://snapcraft.io/losslesscut/listing)
|
2021-08-28 17:14:15 +02:00
|
|
|
- `npm run scan-i18n` to get the newest Englist strings and push so weblate gets them
|