From c95a28270d81ed7246a85a701956d2dde1866f60 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 28 May 2023 20:53:42 +0200 Subject: [PATCH] import gi (#2330) --- bin/build-python | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/build-python b/bin/build-python index b8dd61ba9..242a609cf 100755 --- a/bin/build-python +++ b/bin/build-python @@ -23,6 +23,11 @@ if [ "$BUILD" = "osx" ]; then fi fi +if [ "$BUILD" = "linux" ]; then + pyinstaller_args+="--hidden-import gi.repository.Gtk " +fi + + if [ "$BUILD" = "windows" ]; then if [[ "$VERSION" =~ ^v[0-9][.0-9]+$ ]]; then # setting the file and product version for release