fyne-io / fyne-cross

Cross compiler tool for Fyne apps
BSD 3-Clause "New" or "Revised" License
237 stars 48 forks source link

Remove fixuid, handle user permissions directly #183

Closed squash closed 1 year ago

squash commented 1 year ago
### Description:

fixuid was sub-optimal for builds and spent a considerable amount of time doing unnecessary work. This PR removes fixuid and instead sets HOME properly so that the zig compiler is able to write its cache files. Also, if the host user's HOME is set (the general case), the host zip cache directory is mapped to the container for persistent cache between targets and subsequent builds.

Tests updated to work although tests were and continue to be broken on darwin

Fixes #181

Checklist:

Bluebugs commented 1 year ago

The git author on those commit are not properly filled, would you mind correcting it?

squash commented 1 year ago

I believe this has corrected it

Bluebugs commented 1 year ago

It seems we need to handle the -no-cache case.