summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9ae723e..4e15ae8 100644
--- a/Makefile
+++ b/Makefile
@@ -193,6 +193,7 @@ gen_pkg_snap:
@rm build/${PROVIDER}/snap/data.json build/${PROVIDER}/snap/snapcraft-template.yaml
@mkdir -p build/${PROVIDER}/snap/gui && cp branding/assets/default/icon.svg build/${PROVIDER}/snap/gui/icon.svg
@cp branding/assets/default/icon.png build/${PROVIDER}/snap/gui/${PROVIDER}-vpn.png
+ rm build/${PROVIDER}/snap/generate.py
gen_pkg_deb:
@cp -r ${TEMPLATES}/debian build/${PROVIDER}
@@ -221,6 +222,8 @@ package_win_in_docker:
@make -C docker package_win
package_snap:
+ @unlink snap || true
+ @ln -s build/${PROVIDER}/snap snap
@make -C build/${PROVIDER} pkg_snap
package_deb: