Skip to content

Commit 2d0f57d

Browse files
authored
fix pyc detection
1 parent 3bd3ed5 commit 2d0f57d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ python_dir=$(echo ./AppDir/shared/lib/python*)
3535
cd "$python_dir"
3636
for f in $(find ./ -type f -name '*.pyc' -print); do
3737
case "$f" in
38-
gsecrets) :;;
39-
secrets) :;;
38+
*/"secrets"*) :;;
39+
*/"gsecrets"*) :;;
4040
*) [ ! -f "$f" ] || rm -f "$f";;
4141
esac
4242
done

0 commit comments

Comments
 (0)