From 421e4be399ce57c6376d0bbd00f238c1723c1c56 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 31 Jul 2019 16:33:30 +0200 Subject: [PATCH] Remove root directory from Windows zip releases Put the scrcpy files at the root of the zip archive. This avoids an unnecessary level of directories when extracting. --- Makefile.CrossWindows | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.CrossWindows b/Makefile.CrossWindows index 49adcfb7..6c68c387 100644 --- a/Makefile.CrossWindows +++ b/Makefile.CrossWindows @@ -125,12 +125,12 @@ dist-win64: build-server build-win64 build-win64-noconsole cp prebuilt-deps/SDL2-2.0.8/x86_64-w64-mingw32/bin/SDL2.dll "$(DIST)/$(WIN64_TARGET_DIR)/" zip-win32: dist-win32 - cd "$(DIST)"; \ - zip -r "$(WIN32_TARGET)" "$(WIN32_TARGET_DIR)" + cd "$(DIST)/$(WIN32_TARGET_DIR)"; \ + zip -r "../$(WIN32_TARGET)" . zip-win64: dist-win64 - cd "$(DIST)"; \ - zip -r "$(WIN64_TARGET)" "$(WIN64_TARGET_DIR)" + cd "$(DIST)/$(WIN64_TARGET_DIR)"; \ + zip -r "../$(WIN64_TARGET)" . sums: cd "$(DIST)"; \