Windows silently use Mio

This commit is contained in:
Mylloon 2023-08-01 09:59:29 +02:00
parent 3394e2b5f9
commit d84be4c793
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -60,7 +60,7 @@ const main = async () => {
updateMessage("Mélange des pistes audios vers la piste 1..."); updateMessage("Mélange des pistes audios vers la piste 1...");
const newFile = await internals.mergeAudio(file); const newFile = await internals.mergeAudio(file);
let finalTitle = newFile.title; let finalTitle = newFile.title;
updateMessage(`Taille calculée : ${Math.round(newFile.size)}Mo`); updateMessage(`Taille calculée : ${Math.round(newFile.size)}Mio`);
if (newFile.size > maxSizeDiscord) { if (newFile.size > maxSizeDiscord) {
const targetSize = maxSizeDiscord - 2; const targetSize = maxSizeDiscord - 2;