From 5833234cdc0a43aa7118d6cfafa22a70149cc195 Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Tue, 11 Feb 2025 19:03:51 +0700 Subject: [PATCH 1/2] fix: remove runtime_hooks from the spec --- mapillary_tools.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/mapillary_tools.spec b/mapillary_tools.spec index 92a594f28..b44a49589 100644 --- a/mapillary_tools.spec +++ b/mapillary_tools.spec @@ -10,8 +10,6 @@ a = Analysis( binaries=[], datas=[], hiddenimports=[], - hookspath=["./pyinstaller/hooks"], - runtime_hooks=["./pyinstaller/runtime-hooks/ssl.py"], excludes=[], win_no_prefer_redirects=False, win_private_assemblies=False, From 6fdc4ed6970f4f89738cd6ccec9d81512b7c92aa Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Tue, 11 Feb 2025 19:07:48 +0700 Subject: [PATCH 2/2] list archive with archive_viewer --- script/build_linux | 1 + script/build_osx | 1 + script/build_win.ps1 | 1 + 3 files changed, 3 insertions(+) diff --git a/script/build_linux b/script/build_linux index fde43bc86..50c117994 100755 --- a/script/build_linux +++ b/script/build_linux @@ -15,6 +15,7 @@ $SOURCE --version VERSION=$($SOURCE --version | awk '{print $3}') ARCH=$(uname -m) TARGET=dist/releases/mapillary_tools-${VERSION}-${OS}-${ARCH} +pyi-archive_viewer --list "$SOURCE" # package mkdir -p dist/releases diff --git a/script/build_osx b/script/build_osx index d9a22fbc3..81c670a79 100755 --- a/script/build_osx +++ b/script/build_osx @@ -15,6 +15,7 @@ $SOURCE --version VERSION=$($SOURCE --version | awk '{print $3}') ARCH=$(uname -m) TARGET=dist/releases/mapillary_tools-${VERSION}-${OS}-${ARCH}.zip +pyi-archive_viewer --list "$SOURCE" # package mkdir -p dist/releases diff --git a/script/build_win.ps1 b/script/build_win.ps1 index 0096e1704..1194d17e5 100644 --- a/script/build_win.ps1 +++ b/script/build_win.ps1 @@ -20,6 +20,7 @@ dist\win\mapillary_tools.exe --version $VERSION_OUTPUT=dist\win\mapillary_tools.exe --version $VERSION=$VERSION_OUTPUT.split(' ')[2] $TARGET="dist\releases\mapillary_tools-$VERSION-$OS-$ARCH.exe" +pyi-archive_viewer --list "$SOURCE" # package mkdir -Force dist\releases