update my magic dev.sh script with apt

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
Add proper float support for window width/height percentages (fix #381)

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>