From 036cf1108974e09cdf1b4befdb03fe9e92b0fcf4 Mon Sep 17 00:00:00 2001 From: akruphi <92621645+akruphi@users.noreply.github.com> Date: Sat, 30 Sep 2023 10:31:57 +0300 Subject: [PATCH 1/2] macOS workaround for #1754 & #1869 described in README.md & Help FAR2L features - Getting Started --- README.md | 9 +++++++++ far2l/bootstrap/scripts/FarEng.hlf.m4 | 4 ++++ far2l/bootstrap/scripts/FarRus.hlf.m4 | 4 ++++ 3 files changed, 17 insertions(+) diff --git a/README.md b/README.md index 6b9a3f577..f8b19e90a 100644 --- a/README.md +++ b/README.md @@ -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: ``` diff --git a/far2l/bootstrap/scripts/FarEng.hlf.m4 b/far2l/bootstrap/scripts/FarEng.hlf.m4 index 21c649d5d..57da035fe 100644 --- a/far2l/bootstrap/scripts/FarEng.hlf.m4 +++ b/far2l/bootstrap/scripts/FarEng.hlf.m4 @@ -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 ] diff --git a/far2l/bootstrap/scripts/FarRus.hlf.m4 b/far2l/bootstrap/scripts/FarRus.hlf.m4 index 1c2d13a3b..76822e819 100644 --- a/far2l/bootstrap/scripts/FarRus.hlf.m4 +++ b/far2l/bootstrap/scripts/FarRus.hlf.m4 @@ -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#)->Параметры->Настройки интерфейса->[ Выбрать шрифт ] From 316e7db0f2d44a2ac49d03d91436eca5b8b48829 Mon Sep 17 00:00:00 2001 From: akruphi <92621645+akruphi@users.noreply.github.com> Date: Sat, 30 Sep 2023 10:33:30 +0300 Subject: [PATCH 2/2] small fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f8b19e90a..bf7739889 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ 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 +##### macOS workaround if far2l in macOS regularly asks permission to folders After command ``` sudo codesign --force --deep --sign - /Applications/far2l.app