Skip to content

Commit

Permalink
- trying to fix macOS build
Browse files Browse the repository at this point in the history
(This will probably take a long time lol)
  • Loading branch information
EchterAlsFake committed Dec 7, 2024
1 parent 13e53e0 commit 1a50d0b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/build/pysidedeploy_windows.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exec_directory = .
project_file =

# application icon
icon = src/frontend/graphics/logo_transparent.ico
icon = src/frontend/graphics/logo_transparent.icns

[python]

Expand Down Expand Up @@ -63,10 +63,10 @@ plugins =
# usage description for permissions requested by the app as found in the info.plist file
# of the app bundle
# eg = extra_args = --show-modules --follow-stdlib
macos.permissions =
macos.permissions = macos.permissions = com.apple.security.network.client, com.apple.security.files.user-selected.read-write

# (str) specify any extra nuitka arguments
extra_args = --noinclude-qt-translations --assume-yes-for-downloads --disable-cache=all --clean-cache=all --warn-unusual-code --remove-output --force-dll-dependency-cache-update --show-memory --windows-console-mode=disable --mingw64 --company-name=None --product-name=PornFetch --file-version=2.5 --product-version=2.5 --copyright=JohannesHabel
extra_args = --noinclude-qt-translations --assume-yes-for-downloads --disable-cache=all --clean-cache=all --remove-output --show-memory --company-name=None --product-name=PornFetch --file-version=3.5 --product-version=3.5 --copyright=JohannesHabel

[buildozer]

Expand Down
8 changes: 7 additions & 1 deletion src/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ git checkout # This is only temporary for testing, don't worry...
python3 -m venv /tmp/.venv # This is needed, because Qt has some issues if the virtual environment is in the same directory, as there the script gets executed in
source /tmp/.venv/bin/activate
pip install -r requirements.txt
pyside6-deploy -c src/build/pysidedeploy_linux.spec -f -v

if [ "$OS" = "darwin" ]; then
pyside6-deploy -c src/build/pysidedeploy_macos.spec -f -v
else
pyside6-deploy -c src/build/pysidedeploy_linux.spec -f -v
fi

mv "main.bin" "PornFetch_Linux_GUI_x64.bin"
deactivate
echo "Deleting the temporary created virtual environment..."
Expand Down

0 comments on commit 1a50d0b

Please sign in to comment.