Commit 73fed3e
Make file writable before applying strip (#12)
Fixes elixir-desktop/desktop-example-app#31
The strip command modifies files in-place and fails with 'Permission denied'
when files (e.g. .so NIF libraries) have read-only permissions. Ensure the
file is writable with File.chmod! before running strip, matching the pattern
already used in file_replace/3.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>1 parent eaa5760 commit 73fed3e
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
0 commit comments