diff --git a/Makefile b/Makefile
index b15bed4e943552755caa6341a7342187bcfd7479..21a58795a8d104e83dcccccea03b06933952976b 100644
--- a/Makefile
+++ b/Makefile
@@ -123,7 +123,7 @@ build_all_providers:
 prepare: prepare_templates gen_pkg_win gen_pkg_osx gen_pkg_snap gen_pkg_deb prepare_done
 
 prepare_templates: generate relink_default tgz
-	@mkdir -p build/${PROVIDER}/bin/
+	@mkdir -p build/${PROVIDER}/bin/ deploy
 	@cp ${TEMPLATES}/makefile/Makefile build/${PROVIDER}/Makefile
 	@VERSION=${VERSION} PROVIDER_CONFIG=${PROVIDER_CONFIG} ${SCRIPTS}/generate-vendor-make.py build/${PROVIDER}/vendor.mk
 ifeq (${SKIP_CACHECK}, no)
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 8acb01a887d8eb13ef772891b376927285099861..e272095ad3d9801cbd37deccdcef9b92c2223a5a 100755
--- a/branding/templates/makefile/Makefile
+++ b/branding/templates/makefile/Makefile
@@ -44,7 +44,7 @@ endif
 
 sign_win:
 	echo "[+] signing windows build"
-	python windowns/sign.py $(WIN_CERT_PATH) $(WIN_CERT_PASS)
+	python windows/sign.py $(WIN_CERT_PATH) $(WIN_CERT_PASS)
 
 # -----------------------------------------------------------------------------
 # OSX
@@ -67,7 +67,7 @@ ifeq ($(SYSTEM), Darwin)
 else
 	cd osx && APPNAME=$(APPNAME) VERSION=$(VERSION) ./cross-quickpkg
 endif
-	mv dist/$(APPNAME)-$(VERSION)_unsigned.pkg ../../deploy/
+	mv dist/$(APPNAME)-$(VERSION)*.pkg ../../deploy/
 
 # -----------------------------------------------------------------------------
 # Linux