diff --git a/main.lua b/main.lua index 4a6bcbd..83ab655 100755 --- a/main.lua +++ b/main.lua @@ -1,4 +1,4 @@ -#!/usr/bin/lua5.2 +#!/usr/bin/env lua require("mandy") dofile("mandy.cfg") function main() diff --git a/mandy.lua b/mandy.lua index f606b8d..abf87c7 100644 --- a/mandy.lua +++ b/mandy.lua @@ -1,4 +1,4 @@ -#!/usr/bin/lua5.2 +#!/usr/bin/env lua require("iuplua") require("iupluacontrols") @@ -22,7 +22,7 @@ function url_entry() "Enter Youtube URL: %s\n".. "Audio Options %t\n".. "Select an audio format: %l|mp3|ogg|flac|\n".. - "Select the bitrate: %l|320 kb/s|192 kb/s|160 kb/s|128 kb/s|96 kb/s|\n".. + "Select the bitrate: %l|320 kbps|192 kbps|160 kbps|128 kbps|96 kbps|\n".. "Play file when finished?: %l|no|yes|\n".. "Changelog: %m\n", url, format, bitRate, playNow, changeLog)