flatpak #13

Merged
elmau merged 5 commits from AmourSpirit/zaz-pip:flatpak into develop 2023-11-01 19:18:50 -06:00
Contributor

Now works with Flatpak on Linux.

Flatpak will not allow get-pip.py to run. This solution download pip from a wheel (zip) file and install pip.
After wheel file is unzip and installed it is use to the call python -m pip install --upgrade pip to ensure the latested version if pip is installed.

A new job runs on startup that add the FlatPak site-packages folder to the sys.path if extension is running in a flatpak environment.

There is a small fix that sets the edit box text color to black. On dark themes the text was still white and not readable with the yellow background.

I tested the changes on the following:

  • Mac Os
  • Windows
  • Linux, sudo installed LibreOffice
  • Linux, Snap installed LibreOffice
  • Linux, Flatpak installed LibreOffice
  • Linux, AppImage LibreOffice
Now works with Flatpak on Linux. Flatpak will not allow `get-pip.py` to run. This solution download pip from a wheel (zip) file and install pip. After wheel file is unzip and installed it is use to the call `python -m pip install --upgrade pip` to ensure the latested version if pip is installed. A new job runs on startup that add the FlatPak `site-packages` folder to the `sys.path` if extension is running in a flatpak environment. There is a small fix that sets the edit box text color to black. On dark themes the text was still white and not readable with the yellow background. I tested the changes on the following: - Mac Os - Windows - Linux, sudo installed LibreOffice - Linux, Snap installed LibreOffice - Linux, Flatpak installed LibreOffice - Linux, AppImage LibreOffice
AmourSpirit added 5 commits 2023-10-31 18:17:10 -06:00
elmau merged commit c93c182953 into develop 2023-11-01 19:18:50 -06:00
Owner

What a great job, thank you very much.

What a great job, thank you very much.
AmourSpirit deleted branch flatpak 2023-11-02 16:47:21 -06:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: elmau/zaz-pip#13
No description provided.