Skip to content

Commit b1c8378

Browse files
committed
update error msg
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
1 parent 6d6bcf3 commit b1c8378

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Bitrate Visualizer is a tool to visualize the bitrate of an audio file in realti
88

99
Q: Why the prebuilt binary is so big?
1010

11-
A: I bundled `ffprobe` in the app so you don't need to install it manually. Over 90%+ of the size is from `ffprobe`. The app itself is using Tauri, which is a very small framework and only have a few megabytes in size. You can build one without `ffprobe` if you want a smaller binary.
11+
A: I bundled `ffprobe` in the app so you don't need to install it manually. Over 90% of the size is from `ffprobe`. The app itself is built using Tauri, which has only a few megabytes in size. It is possible to build one without `ffprobe` to significantly reduce disk size footprint but that would sacrifice convenience since the user need to install `ffprobe` by himself.

src/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,15 +204,15 @@ async function getPackets(file) {
204204
try {
205205
ret = await command.execute();
206206
} catch (e) {
207-
elTitle.innerText = "ffprobe failed! Do you have ffprobe installed or did you put a valid audio file?"
207+
elTitle.innerText = "ffprobe failed! Did you put a valid audio file?"
208208
elExtra.innerText = ret.stderr
209209
return
210210
}
211211

212212
console.log("done");
213213

214214
if (ret.code !== 0) {
215-
elTitle.innerText = "ffprobe failed! Do you have ffprobe installed or did you put a valid audio file?"
215+
elTitle.innerText = "ffprobe failed! Did you put a valid audio file?"
216216
elExtra.innerText = ret.stderr
217217
return
218218
}

0 commit comments

Comments
 (0)