Skip to content

Commit

Permalink
Merge pull request #1872 from akruphi/master
Browse files Browse the repository at this point in the history
macOS workaround for #1754 & #1869 described in README.md & Help FAR2L features - Getting Started
  • Loading branch information
elfmz authored Sep 30, 2023
2 parents f9b63e4 + 316e7db commit d269180
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ Note that this step sometimes fails and may succeed from not very first attempt.
Its recommended not to do anything on machine while cpack is in progress.
After .dmg successfully created, you may install it by running `open ...path/to/created/far2l-*.dmg`
##### macOS workaround if far2l in macOS regularly asks permission to folders
After command
```
sudo codesign --force --deep --sign - /Applications/far2l.app
```
it is enough to confirm permission only once.
Details see in [`issue`](https://github.com/elfmz/far2l/issues/1754).
#### Building on Gentoo (and derivatives)
For absolute minimum you need:
```
Expand Down
4 changes: 4 additions & 0 deletions far2l/bootstrap/scripts/FarEng.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ $ #FAR2L features - Getting Started#
- inside desktop entry #/usr/share/applications/far2l.desktop# replace #Exec=far2l# with #Exec=env GDK_BACKEND=x11 far2l#


#macOS workaround# if far2l in macOS regularly asks permission to folders
After command #sudo codesign --force --deep --sign - /Applications/far2l.app# it is enough to confirm permission only once.


#Changing font for FAR2L-GUI#
- Menu(#F9#)->Options->Interface settings->[ Change font ]

Expand Down
4 changes: 4 additions & 0 deletions far2l/bootstrap/scripts/FarRus.hlf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ $ #Особенности FAR2L - начало работы#
- внутри ярлыка #/usr/share/applications/far2l.desktop# заменить #Exec=far2l# на #Exec=env GDK_BACKEND=x11 far2l#


#Костыль для macOS#, если far2l в macOS рагулярно запрашивает доступ к папкам
После команды #sudo codesign --force --deep --sign - /Applications/far2l.app# достаточно один раз предоставить разрешение.


#Изменение шрифта для FAR2L-GUI#
- Меню(#F9#)->Параметры->Настройки интерфейса->[ Выбрать шрифт ]

Expand Down

0 comments on commit d269180

Please sign in to comment.