Merged in Senderman/voicyanski (pull request #2)

Updated readme, changed gradlew's file mode

* Updated readme, changed gradlew's file mode

* Some errors in README fixed
This commit is contained in:
Фёдор Долетов 2018-04-06 22:00:17 +00:00 committed by Victor Melnik
parent cd40e5a37c
commit 29c4e5f6f7
2 changed files with 12 additions and 7 deletions

View File

@ -9,11 +9,16 @@ JavaFX application for easy cut and send audio to Telegram chat as voice message
- `ffmpeg` with libopus encoder
## Building and running
## Building
1. Build jar with dependencies: `./gradlew shadowJar`
2. Edit `app.properties` in `build/libs/Voicyanski-all.jar` archive
3. Set `telegram-bot-token` and `telegram-chat-id` properties
4. Run application:
`java -jar Voicyanski-all.jar` and drop your audio file window
or run `java -jar Voicyanski-all.jar path-to-audio-file.mp3`
Build jar with dependencies: `./gradlew shadowJar`. The executable jar will appear as `build/libs/Voicyanski-all.jar`
## Configuration
1. Open .jar file as zip archive and edit `app.properties`.
2. Set `telegram-bot-token` and `telegram-chat-id` properties
3. Also you can copy `app.properties` to `%home%/.config/voicyanski.conf`. This file will be read first. You don't need to fill in all props because missing props will fallback to `app.properties`.
## Running
Run `java -jar Voicyanski-all.jar` and drag&drop your music file on the app's window or run `java -jar Voicyanski-all.jar <music file>`. Supported formats: MP3, AAC, WAV

0
gradlew vendored Normal file → Executable file
View File