Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

macOS: ask for Accessibility once, clear quarantine, replace a stale filee link

KnifeLemon4c8d18c905c1
diff --git a/installer/macos/INSTALL.txt b/installer/macos/INSTALL.txt
index a4016388..156ff4f4 100644
--- a/installer/macos/INSTALL.txt
+++ b/installer/macos/INSTALL.txt
@@ -6,11 +6,18 @@ You can also move Filee.app into Applications manually. Keep its location stable
so Accessibility and Finder Automation permissions continue to identify it.
Test packages are ad-hoc signed and are not notarized. For a downloaded test
-build, use System Settings > Privacy & Security > Open Anyway when macOS blocks
-the first launch. Only open a build whose source and checksum you trust.
+build from the .dmg or moved by hand, use System Settings > Privacy & Security >
+Open Anyway when macOS blocks the first launch (install.sh clears the download
+flag of the copy it installs). Only open a build whose source and checksum you
+trust.
Allow Filee in System Settings > Privacy & Security > Accessibility for global
-gestures. Allow Finder under Automation when using a selection shortcut.
+gestures. Filee asks once; until it is allowed, its Home page says so.
+After an update or a reinstall, from the .dmg or with install.sh, macOS may
+still list Filee switched on while gestures wait for the permission: it belongs
+to the earlier copy, which was signed differently. Select Filee there, remove it
+with the - button, then add Filee.app again with + and switch it on.
+Allow Finder under Automation when using a selection shortcut.
Enable the Finder Quick Action in Filee settings. Services can also be managed
under System Settings > Keyboard > Keyboard Shortcuts > Services.
diff --git a/installer/macos/install.sh b/installer/macos/install.sh
index e7c7fda8..9ca8cad1 100644
--- a/installer/macos/install.sh
+++ b/installer/macos/install.sh
@@ -8,13 +8,29 @@ if [ -e "$install_dir" ] || [ -L "$install_dir" ]; then
printf '%s\n' "An installation already exists at $install_dir. Run uninstall.sh first."
exit 1
fi
-if [ -e "$bin_dir/filee" ] || [ -L "$bin_dir/filee" ]; then
+# A filee link left by an earlier Filee whose app is gone (moved to the Trash instead of uninstall.sh) is replaced.
+# Anything else at that path isn't ours and stays.
+stale_link=false
+if [ -L "$bin_dir/filee" ] && [ ! -e "$bin_dir/filee" ]; then
+ case $(readlink "$bin_dir/filee") in
+ */Filee.app/Contents/MacOS/filee-cli) stale_link=true ;;
+ esac
+fi
+if [ "$stale_link" = false ] && { [ -e "$bin_dir/filee" ] || [ -L "$bin_dir/filee" ]; }; then
printf '%s\n' "$bin_dir/filee already exists. Remove or rename it before installing Filee."
exit 1
fi
test -x "$source_dir/Filee.app/Contents/MacOS/Filee"
mkdir -p "$HOME/Applications" "$bin_dir"
/usr/bin/ditto "$source_dir/Filee.app" "$install_dir"
+# ditto keeps the download's quarantine flag: macOS would then start Filee from a translocated copy and could stop
+# the filee command without a word (#316).
+/usr/bin/xattr -dr com.apple.quarantine "$install_dir" 2>/dev/null || true
+if [ "$stale_link" = true ]; then
+ rm -f -- "$bin_dir/filee"
+ printf '%s\n' "Replaced the filee link left by an earlier installation."
+fi
ln -s "$install_dir/Contents/MacOS/filee-cli" "$bin_dir/filee"
printf '%s\n' "Installed $install_dir" "CLI: $bin_dir/filee (add $bin_dir to PATH if needed)."
printf '%s\n' 'Open Filee from Applications. Grant Accessibility and Finder Automation access when requested.'
+printf '%s\n' 'If Filee is already listed and switched on under Accessibility, remove it with the - button and add it again with +.'
diff --git a/src/Filee.App/App.axaml.cs b/src/Filee.App/App.axaml.cs
index 618e0d55..d95be0a1 100644
--- a/src/Filee.App/App.axaml.cs
+++ b/src/Filee.App/App.axaml.cs
@@ -116,15 +116,18 @@ public partial class App : Application
TransparentWindows.Watch(log);
}
// macOS: ask for Accessibility with the system's own alert when the user opened Filee (not at sign-in) and
- // a drag gesture is on. The home page keeps a reminder until it is given. Asked once the main window is up:
- // asked earlier, the alert ends up behind it.
- if (OperatingSystem.IsMacOS() && triggers.NeedsPermission && !Program.Options.Background
+ // a drag gesture is on, once ever (see ShouldAskForPermission). The home page keeps a reminder until it is
+ // given. Asked once the main window is up: asked earlier, the alert ends up behind it.
+ if (OperatingSystem.IsMacOS() && !Program.Options.Background
&& platform is Filee.Platform.MacOS.MacOSPlatformServices mac
- && store.Settings.Triggers.Any(t => t.Enabled && t.Kind == TriggerKind.Drag))
+ && TriggerService.ShouldAskForPermission(store.Settings, triggers.NeedsPermission))
DispatcherTimer.RunOnce(() =>
{
- if (OperatingSystem.IsMacOS() && triggers.NeedsPermission)
- mac.RequestAccessibilityPermission();
+ if (!OperatingSystem.IsMacOS() || !TriggerService.ShouldAskForPermission(store.Settings, triggers.NeedsPermission))
+ return;
+ store.Settings.AccessibilityPromptShown = true;
+ store.SaveSettings();
+ mac.RequestAccessibilityPermission();
}, TimeSpan.FromSeconds(1.5));
store.SettingsChanged += (_, _) => ApplySettings(store.Settings);
diff --git a/src/Filee.App/Assets/i18n/ar.json b/src/Filee.App/Assets/i18n/ar.json
index e97ca3ee..7350a25e 100644
--- a/src/Filee.App/Assets/i18n/ar.json
+++ b/src/Filee.App/Assets/i18n/ar.json
@@ -27,7 +27,7 @@
"home.drop_hint": "أو اضغط باستمرار على {0} أثناء سحب الملفات في مستكشف الملفات. يفتح شريط الأدوات الدائري عند المؤشر.",
"home.drop_hint_macos": "أو اضغط باستمرار على {0} أثناء سحب الملفات في Finder. يفتح شريط الأدوات الدائري عند المؤشر.",
"home.drop_hint_linux": "أو اضغط باستمرار على {0} أثناء سحب الملفات في مدير الملفات. يفتح شريط الأدوات الدائري عند المؤشر.",
- "home.accessibility_needed": "لفتح الشريط الدائري بالسحب مع الضغط على ⌥ Option، اسمح لـ Filee ضمن تسهيلات الاستخدام.\nيعمل فور تفعيل الإذن.",
+ "home.accessibility_needed": "لفتح الشريط الدائري بالسحب مع الضغط على ⌥ Option، اسمح لـ Filee ضمن تسهيلات الاستخدام.\nيعمل فور تفعيل الإذن. إذا كان Filee موجودًا في القائمة ومفعّلًا بالفعل، فأزله بالزر − ثم أضفه مجددًا بالزر +: لا ينقل macOS الإذن إلى Filee بعد تحديثه أو إعادة تثبيته.",
"home.elevated": "يعمل Filee بصلاحيات المسؤول، لذلك لا يستطيع مستكشف الملفات إفلات الملفات عليه أو استخدام قائمته.\nولا يستطيع الاختصار قراءة الملفات المحددة في المستكشف.\nأعد تشغيل Filee دون صلاحيات المسؤول لحل المشكلة.",
"home.elevated_restart": "إعادة التشغيل دون صلاحيات المسؤول",
"home.elevated_restart_failed": "تعذّر على Filee إعادة تشغيل نفسه.\nأنهِ Filee من منطقة الإعلام، ثم شغّله مجددًا.",
@@ -326,7 +326,7 @@
"general.imported": "عدد العناصر المستوردة: {0}",
"triggers.title": "الاختصارات",
"triggers.description": "اختر طريقة فتح شريط الأدوات الدائري. يمكنك إضافة ما تشاء من الإيماءات.",
- "triggers.macos_permissions": "اسمح لـ Filee من إعدادات النظام > الخصوصية والأمن > تسهيلات الاستخدام.\nيطلب Finder أيضًا إذن الأتمتة عند استخدام اختصار الملفات المحددة للمرة الأولى.",
+ "triggers.macos_permissions": "اسمح لـ Filee من إعدادات النظام > الخصوصية والأمن > تسهيلات الاستخدام.\nإذا كان Filee مفعّلًا بالفعل ولم تبدأ الإيماءات، فأزله بالزر − ثم أضفه مجددًا بالزر +.\nيطلب Finder أيضًا إذن الأتمتة عند استخدام اختصار الملفات المحددة للمرة الأولى.",
"triggers.linux_x11": "تعمل إيماءات السحب على X11.\nعند تفعيل التكامل مع مدير الملفات، يشغّل أول اختصار لوحة مفاتيح إجراء Filee في Thunar (أعد فتح Thunar بعد تغييره).\nإيماءات الضغط المستمر والاختصارات في مديري الملفات الآخرين غير متاحة. استخدم قائمة Filee أو منطقة الإفلات.",
"triggers.linux_wayland": "الإيماءات التي تتبع المؤشر غير متاحة على Wayland.\nاستخدم جلسة X11، أو حوّل من قائمة مدير الملفات ومنطقة الإفلات.\nيمكن لـ Thunar استخدام أول اختصار لوحة مفاتيح بعد إعادة تشغيله.",
"triggers.linux_wayland_experimental": "الإيماءات على Wayland تجريبية وتعمل على KDE Plasma فقط.\nيقرأ Filee الماوس من ‎/dev/input ويضع نص KWin برمجي الشريط الدائري عند المؤشر (راجع INSTALL.txt). قد يتأثر Ctrl مع السحب في التطبيقات الأخرى؛ استخدم مفتاح تعديل آخر مثل Ctrl+Shift إذا تعارض ذلك مع عملك.",
diff --git a/src/Filee.App/Assets/i18n/en.json b/src/Filee.App/Assets/i18n/en.json
index a8576b23..d6da2e01 100644
--- a/src/Filee.App/Assets/i18n/en.json
+++ b/src/Filee.App/Assets/i18n/en.json
@@ -30,7 +30,7 @@
"home.drop_hint": "Or hold {0} while dragging files in Explorer. The donut toolbar opens at your cursor.",
"home.drop_hint_macos": "Or hold {0} while dragging files in Finder. The donut toolbar opens at your cursor.",
"home.drop_hint_linux": "Or hold {0} while dragging files in your file manager. The donut toolbar opens at your cursor.",
- "home.accessibility_needed": "To open the donut by dragging with ⌥ Option, allow Filee under Accessibility.\nIt works as soon as you switch it on.",
+ "home.accessibility_needed": "To open the donut by dragging with ⌥ Option, allow Filee under Accessibility.\nIt works as soon as you switch it on. If Filee is already listed and switched on, remove it with − and add it again with +: macOS doesn't carry the permission over to an updated or reinstalled Filee.",
"home.elevated": "Filee is running as administrator, so Explorer can't drop files on it or use its menu.\nThe shortcut can't read Explorer's selection either.\nRestart Filee without administrator rights to fix this.",
"home.elevated_restart": "Restart without administrator rights",
"home.elevated_restart_failed": "Filee couldn't restart itself.\nQuit Filee from the tray, then start it again.",
@@ -339,7 +339,7 @@
"triggers.title": "Shortcuts",
"triggers.description": "Choose how the donut toolbar opens. You can add as many gestures as you like.",
- "triggers.macos_permissions": "Allow Filee in System Settings > Privacy & Security > Accessibility.\nFinder also asks for Automation permission the first time you use a selection shortcut.",
+ "triggers.macos_permissions": "Allow Filee in System Settings > Privacy & Security > Accessibility.\nIf Filee is already switched on but gestures don't start, remove it with − and add it again with +.\nFinder also asks for Automation permission the first time you use a selection shortcut.",
"triggers.linux_x11": "Drag gestures work on X11.\nWith file manager integration on, the first keyboard shortcut runs Thunar's Filee action (reopen Thunar after changing it).\nHold gestures and shortcuts in other file managers aren't available. Use the Filee menu or the drop zone.",
"triggers.linux_wayland": "Gestures that follow the cursor aren't available on Wayland.\nUse an X11 session, or convert with the file manager menu and the drop zone.\nThunar can use the first keyboard shortcut after it restarts.",
"triggers.linux_wayland_experimental": "Gestures on Wayland are experimental and only work on KDE Plasma.\nFilee reads the mouse from /dev/input and a KWin script places the donut at the cursor (see INSTALL.txt). Ctrl+drag in other apps can be interrupted; use another modifier such as Ctrl+Shift if it gets in the way.",
diff --git a/src/Filee.App/Assets/i18n/es.json b/src/Filee.App/Assets/i18n/es.json
index 91298bff..46d0a29d 100644
--- a/src/Filee.App/Assets/i18n/es.json
+++ b/src/Filee.App/Assets/i18n/es.json
@@ -27,7 +27,7 @@
"home.drop_hint": "O mantén {0} mientras arrastras archivos en el Explorador. El menú circular se abre donde esté el cursor.",
"home.drop_hint_macos": "O mantén {0} mientras arrastras archivos en Finder. El menú circular se abre donde esté el cursor.",
"home.drop_hint_linux": "O mantén {0} mientras arrastras archivos en tu gestor de archivos. El menú circular se abre donde esté el cursor.",
- "home.accessibility_needed": "Para abrir el menú circular al arrastrar con ⌥ Opción, autoriza a Filee en Accesibilidad.\nFuncionará en cuanto lo actives.",
+ "home.accessibility_needed": "Para abrir el menú circular al arrastrar con ⌥ Opción, autoriza a Filee en Accesibilidad.\nFuncionará en cuanto lo actives. Si Filee ya aparece en la lista y está activado, quítalo con − y vuelve a añadirlo con +: macOS no traslada el permiso a un Filee actualizado o reinstalado.",
"home.elevated": "Filee se está ejecutando como administrador, por lo que el Explorador no puede arrastrar archivos sobre él ni usar su menú.\nEl atajo tampoco puede leer la selección del Explorador.\nReinicia Filee sin permisos de administrador para solucionar esto.",
"home.elevated_restart": "Reiniciar sin permisos de administrador",
"home.elevated_restart_failed": "Filee no pudo reiniciarse automáticamente.\nCierra Filee desde la bandeja del sistema y vuelve a iniciarlo.",
@@ -326,7 +326,7 @@
"general.imported": "Se importaron {0} elementos",
"triggers.title": "Atajos",
"triggers.description": "Elige cómo se abre el menú circular. Puedes añadir tantos gestos como quieras.",
- "triggers.macos_permissions": "Permite Filee en Ajustes del Sistema > Privacidad y seguridad > Accesibilidad.\nFinder también pide permiso de Automatización la primera vez que uses un atajo de selección.",
+ "triggers.macos_permissions": "Permite Filee en Ajustes del Sistema > Privacidad y seguridad > Accesibilidad.\nSi Filee ya está activado pero los gestos no se inician, quítalo con − y vuelve a añadirlo con +.\nFinder también pide permiso de Automatización la primera vez que uses un atajo de selección.",
"triggers.linux_x11": "Los gestos de arrastre funcionan en X11.\nCon la integración con el gestor de archivos activada, el primer atajo de teclado ejecuta la acción de Filee en Thunar (vuelve a abrir Thunar después de cambiarlo).\nLos gestos de pulsación mantenida y los atajos en otros gestores de archivos no están disponibles. Usa el menú de Filee o la zona de suelta.",
"triggers.linux_wayland": "Los gestos que siguen el cursor no están disponibles en Wayland.\nUsa una sesión X11 o convierte con el menú del gestor de archivos y la zona de suelta.\nThunar puede usar el primer atajo de teclado cuando se reinicie.",
"triggers.linux_wayland_experimental": "Los gestos en Wayland son experimentales y solo funcionan en KDE Plasma.\nFilee lee el ratón desde /dev/input y un script de KWin coloca el menú circular en el cursor (consulta INSTALL.txt). Arrastrar con Ctrl en otras aplicaciones puede verse interrumpido; si te estorba, usa otro modificador, como Ctrl+Shift.",
diff --git a/src/Filee.App/Assets/i18n/fr.json b/src/Filee.App/Assets/i18n/fr.json
index c82921d5..5e3a7d67 100644
--- a/src/Filee.App/Assets/i18n/fr.json
+++ b/src/Filee.App/Assets/i18n/fr.json
@@ -30,7 +30,7 @@
"home.drop_hint": "Ou maintenez {0} en glissant des fichiers dans l'Explorateur. Le menu circulaire s'ouvre sous le curseur.",
"home.drop_hint_macos": "Ou maintenez {0} en glissant des fichiers dans le Finder. Le menu circulaire s'ouvre sous le curseur.",
"home.drop_hint_linux": "Ou maintenez {0} en glissant des fichiers dans votre gestionnaire de fichiers. Le menu circulaire s'ouvre sous le curseur.",
- "home.accessibility_needed": "Pour ouvrir le menu circulaire en glissant avec ⌥ Option, autorisez Filee dans Accessibilité.\nCela fonctionne dès que vous l'activez.",
+ "home.accessibility_needed": "Pour ouvrir le menu circulaire en glissant avec ⌥ Option, autorisez Filee dans Accessibilité.\nCela fonctionne dès que vous l'activez. Si Filee figure déjà dans la liste et est activé, supprimez-le avec − puis ajoutez-le à nouveau avec + : macOS ne reporte pas l'autorisation sur un Filee mis à jour ou réinstallé.",
"home.elevated": "Filee s'exécute en tant qu'administrateur : l'Explorateur ne peut donc ni y déposer de fichiers ni utiliser son menu.\nLe raccourci ne peut pas non plus lire la sélection de l'Explorateur.\nRedémarrez Filee sans droits d'administrateur pour y remédier.",
"home.elevated_restart": "Redémarrer sans droits d'administrateur",
"home.elevated_restart_failed": "Filee n'a pas pu redémarrer.\nQuittez Filee depuis la zone de notification, puis relancez-le.",
@@ -339,7 +339,7 @@
"triggers.title": "Raccourcis",
"triggers.description": "Choisissez comment s'ouvre le menu circulaire. Vous pouvez ajouter autant de gestes que vous voulez.",
- "triggers.macos_permissions": "Autorisez Filee dans Réglages Système > Confidentialité et sécurité > Accessibilité.\nLe Finder demande aussi l'autorisation d'automatisation la première fois que vous utilisez un raccourci sur la sélection.",
+ "triggers.macos_permissions": "Autorisez Filee dans Réglages Système > Confidentialité et sécurité > Accessibilité.\nSi Filee est déjà activé mais que les gestes ne démarrent pas, supprimez-le avec − puis ajoutez-le à nouveau avec +.\nLe Finder demande aussi l'autorisation d'automatisation la première fois que vous utilisez un raccourci sur la sélection.",
"triggers.linux_x11": "Les gestes de glissement fonctionnent sous X11.\nAvec l'intégration au gestionnaire de fichiers activée, le premier raccourci clavier lance l'action Filee de Thunar (rouvrez Thunar après l'avoir modifié).\nLes gestes de maintien et les raccourcis dans les autres gestionnaires de fichiers ne sont pas disponibles. Utilisez le menu Filee ou la zone de dépôt.",
"triggers.linux_wayland": "Les gestes qui suivent le curseur ne sont pas disponibles sous Wayland.\nUtilisez une session X11, ou convertissez avec le menu du gestionnaire de fichiers et la zone de dépôt.\nThunar peut utiliser le premier raccourci clavier après son redémarrage.",
"triggers.linux_wayland_experimental": "Les gestes sous Wayland sont expérimentaux et ne fonctionnent que sous KDE Plasma.\nFilee lit la souris depuis /dev/input et un script KWin place le menu circulaire au curseur (voir INSTALL.txt). Ctrl+glisser dans d'autres applications peut être interrompu ; utilisez un autre modificateur comme Ctrl+Shift s'il vous gêne.",
diff --git a/src/Filee.App/Assets/i18n/hi.json b/src/Filee.App/Assets/i18n/hi.json
index d72aeadb..ee9731ca 100644
--- a/src/Filee.App/Assets/i18n/hi.json
+++ b/src/Filee.App/Assets/i18n/hi.json
@@ -27,7 +27,7 @@
"home.drop_hint": "या Explorer में फ़ाइलें खींचते समय {0} दबाए रखें। डोनट टूलबार आपके कर्सर पर खुलेगा।",
"home.drop_hint_macos": "या Finder में फ़ाइलें खींचते समय {0} दबाए रखें। डोनट टूलबार आपके कर्सर पर खुलेगा।",
"home.drop_hint_linux": "या अपने फ़ाइल मैनेजर में फ़ाइलें खींचते समय {0} दबाए रखें। डोनट टूलबार आपके कर्सर पर खुलेगा।",
- "home.accessibility_needed": "⌥ Option के साथ खींचकर डोनट खोलने के लिए, Accessibility में Filee को अनुमति दें।\nचालू करते ही यह काम करने लगेगा।",
+ "home.accessibility_needed": "⌥ Option के साथ खींचकर डोनट खोलने के लिए, Accessibility में Filee को अनुमति दें।\nचालू करते ही यह काम करने लगेगा। अगर Filee पहले से सूची में है और चालू है, तो उसे − से हटाएँ और + से फिर जोड़ें: अपडेट या दोबारा इंस्टॉल किए गए Filee पर macOS पुरानी अनुमति लागू नहीं करता।",
"home.elevated": "Filee एडमिनिस्ट्रेटर के रूप में चल रहा है, इसलिए Explorer इस पर फ़ाइलें नहीं छोड़ सकता और न ही इसका मेनू इस्तेमाल कर सकता है।\nशॉर्टकट भी Explorer में चुनी गई फ़ाइलें नहीं पढ़ सकता।\nइसे ठीक करने के लिए Filee को एडमिनिस्ट्रेटर अधिकारों के बिना दोबारा शुरू करें।",
"home.elevated_restart": "एडमिनिस्ट्रेटर अधिकारों के बिना दोबारा शुरू करें",
"home.elevated_restart_failed": "Filee खुद को दोबारा शुरू नहीं कर सका।\nट्रे से Filee को बंद करें, फिर उसे दोबारा शुरू करें।",
@@ -326,7 +326,7 @@
"general.imported": "{0} आइटम इम्पोर्ट किए गए",
"triggers.title": "शॉर्टकट",
"triggers.description": "चुनें कि डोनट टूलबार कैसे खुले। आप जितने चाहें उतने जेस्चर जोड़ सकते हैं।",
- "triggers.macos_permissions": "सिस्टम सेटिंग्स > Privacy & Security > Accessibility में Filee को अनुमति दें।\nचयन वाले शॉर्टकट पहली बार इस्तेमाल करने पर Finder Automation की अनुमति भी माँगता है।",
+ "triggers.macos_permissions": "सिस्टम सेटिंग्स > Privacy & Security > Accessibility में Filee को अनुमति दें।\nअगर Filee पहले से चालू है फिर भी जेस्चर शुरू नहीं होते, तो उसे − से हटाएँ और + से फिर जोड़ें।\nचयन वाले शॉर्टकट पहली बार इस्तेमाल करने पर Finder Automation की अनुमति भी माँगता है।",
"triggers.linux_x11": "ड्रैग जेस्चर X11 पर काम करते हैं।\nफ़ाइल मैनेजर इंटीग्रेशन चालू होने पर, पहला कीबोर्ड शॉर्टकट Thunar का Filee एक्शन चलाता है (बदलने के बाद Thunar दोबारा खोलें)।\nअन्य फ़ाइल मैनेजर में होल्ड जेस्चर और शॉर्टकट उपलब्ध नहीं हैं। Filee मेनू या ड्रॉप ज़ोन इस्तेमाल करें।",
"triggers.linux_wayland": "कर्सर का पीछा करने वाले जेस्चर Wayland पर उपलब्ध नहीं हैं।\nX11 सेशन इस्तेमाल करें, या फ़ाइल मैनेजर मेनू और ड्रॉप ज़ोन से कन्वर्ट करें।\nThunar रीस्टार्ट होने के बाद पहला कीबोर्ड शॉर्टकट इस्तेमाल कर सकता है।",
"triggers.linux_wayland_experimental": "Wayland पर जेस्चर प्रायोगिक हैं और सिर्फ़ KDE Plasma पर काम करते हैं।\nFilee माउस को /dev/input से पढ़ता है और एक KWin स्क्रिप्ट डोनट को कर्सर पर दिखाती है (INSTALL.txt देखें)। दूसरे ऐप्स में Ctrl+ड्रैग बीच में रुक सकता है; अगर इससे परेशानी हो, तो Ctrl+Shift जैसा कोई दूसरा मॉडिफ़ायर इस्तेमाल करें।",
diff --git a/src/Filee.App/Assets/i18n/ja.json b/src/Filee.App/Assets/i18n/ja.json
index 2bf8a1fa..9ebf86df 100644
--- a/src/Filee.App/Assets/i18n/ja.json
+++ b/src/Filee.App/Assets/i18n/ja.json
@@ -27,7 +27,7 @@
"home.drop_hint": "または、{0}を押しながら\nエクスプローラーでファイルをドラッグしてください。\nカーソル位置にドーナツメニューが開きます。",
"home.drop_hint_macos": "または、{0}を押しながら\nFinderでファイルをドラッグしてください。\nカーソル位置にドーナツメニューが開きます。",
"home.drop_hint_linux": "または、{0}を押しながら\nファイルマネージャーでファイルをドラッグしてください。\nカーソル位置にドーナツメニューが開きます。",
- "home.accessibility_needed": "⌥ Optionを押しながらドラッグしてドーナツメニューを開くには、「アクセシビリティ」でFileeを許可してください。\n有効にするとすぐ使えます。",
+ "home.accessibility_needed": "⌥ Optionを押しながらドラッグしてドーナツメニューを開くには、「アクセシビリティ」でFileeを許可してください。\n有効にするとすぐ使えます。Fileeがすでに一覧にあってオンになっている場合は、−で削除してから+でもう一度追加してください。更新や再インストールをしたFileeには、macOSは以前の許可を引き継ぎません。",
"home.elevated": "Fileeが管理者として実行されているため、エクスプローラーからFileeにファイルをドロップしたり、コンテキストメニューの「Fileeで変換」を使用したりできません。\nまた、ショートカットからエクスプローラーで選択中の項目を読み取ることもできません。\n解決するには、Fileeを管理者権限なしで再起動してください。",
"home.elevated_restart": "管理者権限なしで再起動",
"home.elevated_restart_failed": "Fileeを再起動できませんでした。\nタスクトレイからFileeを終了し、もう一度起動してください。",
@@ -326,7 +326,7 @@
"general.imported": "{0}件をインポートしました",
"triggers.title": "ショートカット",
"triggers.description": "ドーナツメニューを開く操作を選びます。ジェスチャーはいくつでも追加できます。",
- "triggers.macos_permissions": "「システム設定」→「プライバシーとセキュリティ」→「アクセシビリティ」でFileeを許可してください。\n選択したファイルに対してショートカットを初めて使うと、Finderのオートメーションの許可も求められます。",
+ "triggers.macos_permissions": "「システム設定」→「プライバシーとセキュリティ」→「アクセシビリティ」でFileeを許可してください。\nすでにオンなのにジェスチャーが始まらない場合は、−でFileeを削除してから+でもう一度追加してください。\n選択したファイルに対してショートカットを初めて使うと、Finderのオートメーションの許可も求められます。",
"triggers.linux_x11": "X11ではドラッグジェスチャーを使えます。\nファイルマネージャー連携が有効な場合、最初のキーボードショートカットでThunarのFileeアクションを実行します(設定を変更した後はThunarを再起動してください)。\n長押しジェスチャーは使えません。ショートカットを使えるのはThunarのみです。\nほかのファイルマネージャーでは、Fileeのメニューかドロップ領域を使ってください。",
"triggers.linux_wayland": "Waylandではカーソルに追従するジェスチャーを使えません。\nX11セッションを使うか、ファイルマネージャーのメニューまたはドロップ領域から変換してください。\nThunarでは再起動後に最初のキーボードショートカットを使えます。",
"triggers.linux_wayland_experimental": "Waylandでのジェスチャー機能は実験的で、KDE Plasmaでのみ動作します。\nFileeは/dev/inputからマウス入力を読み取り、KWinスクリプトでカーソル位置にドーナツメニューを表示します(INSTALL.txtを参照)。ほかのアプリのCtrl+ドラッグ操作が妨げられることがあります。支障がある場合は、Ctrl+Shiftなど別の修飾キーを使ってください。",
diff --git a/src/Filee.App/Assets/i18n/ko.json b/src/Filee.App/Assets/i18n/ko.json
index 19aaab67..0ed433f0 100644
--- a/src/Filee.App/Assets/i18n/ko.json
+++ b/src/Filee.App/Assets/i18n/ko.json
@@ -30,7 +30,7 @@
"home.drop_hint": "또는 탐색기에서 {0} 키를 누른 채 파일을 드래그하면 커서 위치에 원형 툴바가 열려요.",
"home.drop_hint_macos": "또는 Finder에서 {0} 키를 누른 채 파일을 드래그하면 커서 위치에 원형 툴바가 열려요.",
"home.drop_hint_linux": "또는 파일 관리자에서 {0} 키를 누른 채 파일을 드래그하면 커서 위치에 원형 툴바가 열려요.",
- "home.accessibility_needed": "⌥ Option 드래그로 원형 툴바를 열려면 손쉬운 사용에서 Filee를 허용해 주세요.\n켜는 즉시 동작해요.",
+ "home.accessibility_needed": "⌥ Option 드래그로 원형 툴바를 열려면 손쉬운 사용에서 Filee를 허용해 주세요.\n켜는 즉시 동작해요. 이미 목록에 있고 켜져 있다면 − 버튼으로 지운 뒤 + 버튼으로 다시 추가해 주세요. 업데이트하거나 다시 설치한 Filee에는 macOS가 예전 권한을 적용하지 않아요.",
"home.elevated": "Filee가 관리자 권한으로 실행 중이에요.\n그래서 탐색기에서 파일을 끌어 놓거나 메뉴를 쓸 수 없어요.\n단축키도 탐색기에서 선택한 파일을 읽지 못해요.\n관리자 권한 없이 다시 시작해 주세요.",
"home.elevated_restart": "관리자 권한 없이 다시 시작",
"home.elevated_restart_failed": "Filee를 다시 시작하지 못했어요.\n트레이에서 Filee를 종료한 뒤 다시 실행해 주세요.",
@@ -339,7 +339,7 @@
"triggers.title": "단축키",
"triggers.description": "원형 툴바를 여는 방법을 정하세요. 제스처는 원하는 만큼 추가할 수 있어요.",
- "triggers.macos_permissions": "시스템 설정 > 개인정보 보호 및 보안 > 손쉬운 사용에서 Filee를 허용해 주세요.\n선택 파일 단축키를 처음 쓸 때 Finder 자동화 권한도 요청해요.",
+ "triggers.macos_permissions": "시스템 설정 > 개인정보 보호 및 보안 > 손쉬운 사용에서 Filee를 허용해 주세요.\n이미 켜져 있는데도 제스처가 시작되지 않으면 − 버튼으로 Filee를 지운 뒤 + 버튼으로 다시 추가해 주세요.\n선택 파일 단축키를 처음 쓸 때 Finder 자동화 권한도 요청해요.",
"triggers.linux_x11": "드래그 제스처는 X11에서 작동해요.\n파일 관리자 연동을 켜면 첫 번째 키보드 단축키가 Thunar의 Filee 동작에 연결돼요(바꾼 뒤 Thunar를 다시 열어 주세요).\n길게 누르기와 다른 파일 관리자의 단축키는 지원하지 않아요. Filee 메뉴나 드롭 영역을 써 주세요.",
"triggers.linux_wayland": "Wayland에서는 커서를 따라가는 제스처를 쓸 수 없어요.\nX11 세션을 쓰거나, 파일 관리자 메뉴와 드롭 영역으로 변환해 주세요.\nThunar는 다시 시작하면 첫 번째 키보드 단축키를 쓸 수 있어요.",
"triggers.linux_wayland_experimental": "Wayland에서 제스처는 실험 기능이고 KDE Plasma에서만 동작해요.\nFilee가 /dev/input에서 마우스 입력을 읽고, KWin 스크립트가 원형 툴바를 커서 위치로 옮겨요(INSTALL.txt 참고). 다른 앱에서 Ctrl+드래그가 방해받을 수 있으니, 불편하면 Ctrl+Shift 같은 다른 보조 키를 쓰세요.",
diff --git a/src/Filee.App/Assets/i18n/ne.json b/src/Filee.App/Assets/i18n/ne.json
index a1c291ff..b94e0043 100644
--- a/src/Filee.App/Assets/i18n/ne.json
+++ b/src/Filee.App/Assets/i18n/ne.json
@@ -27,7 +27,7 @@
"home.drop_hint": "वा Explorer मा फाइलहरू तान्दा {0} थिचिराख्नुहोस्। डोनट टुलबार कर्सरमा खुल्नेछ।",
"home.drop_hint_macos": "वा Finder मा फाइलहरू तान्दा {0} थिचिराख्नुहोस्। डोनट टुलबार कर्सरमा खुल्नेछ।",
"home.drop_hint_linux": "वा फाइल प्रबन्धकमा फाइलहरू तान्दा {0} थिचिराख्नुहोस्। डोनट टुलबार कर्सरमा खुल्नेछ।",
- "home.accessibility_needed": "⌥ Option सँग तानेर डोनट खोल्न, Accessibility मा Filee लाई अनुमति दिनुहोस्।\nअन गर्ने बित्तिकै यसले काम गर्छ।",
+ "home.accessibility_needed": "⌥ Option सँग तानेर डोनट खोल्न, Accessibility मा Filee लाई अनुमति दिनुहोस्।\nअन गर्ने बित्तिकै यसले काम गर्छ। Filee पहिले नै सूचीमा छ र अन छ भने, यसलाई − ले हटाउनुहोस् र + ले फेरि थप्नुहोस्: अपडेट गरिएको वा पुन: स्थापना गरिएको Filee मा macOS ले पुरानो अनुमति लागू गर्दैन।",
"home.elevated": "Filee प्रशासकको रूपमा चलिरहेको छ, त्यसैले Explorer ले यसमा फाइलहरू छाड्न वा यसको मेनु प्रयोग गर्न सक्दैन।\nसर्टकटले पनि Explorer मा छानिएका फाइलहरू पढ्न सक्दैन।\nयसलाई समाधान गर्न प्रशासक अधिकार बिना Filee पुनः सुरु गर्नुहोस्।",
"home.elevated_restart": "प्रशासक अधिकार बिना पुनः सुरु गर्नुहोस्",
"home.elevated_restart_failed": "Filee आफैं पुनः सुरु हुन सकेन।\nट्रेबाट Filee बन्द गर्नुहोस्, त्यसपछि फेरि सुरु गर्नुहोस्।",
@@ -326,7 +326,7 @@
"general.imported": "{0} वस्तुहरू आयात गरियो",
"triggers.title": "सर्टकटहरू",
"triggers.description": "डोनट टुलबार कसरी खुल्छ रोज्नुहोस्। तपाईंले चाहे जति जेस्चरहरू थप्न सक्नुहुन्छ।",
- "triggers.macos_permissions": "Filee लाई प्रणाली सेटिङहरू > गोपनीयता र सुरक्षा > पहुँच (Accessibility) मा अनुमति दिनुहोस्।\nतपाईंले पहिलो पटक छनोट सर्टकट प्रयोग गर्दा Finder ले Automation अनुमतिका लागि पनि सोध्नेछ।",
+ "triggers.macos_permissions": "Filee लाई प्रणाली सेटिङहरू > गोपनीयता र सुरक्षा > पहुँच (Accessibility) मा अनुमति दिनुहोस्।\nFilee पहिले नै अन छ तर जेस्चरहरू सुरु हुँदैनन् भने, यसलाई − ले हटाउनुहोस् र + ले फेरि थप्नुहोस्।\nतपाईंले पहिलो पटक छनोट सर्टकट प्रयोग गर्दा Finder ले Automation अनुमतिका लागि पनि सोध्नेछ।",
"triggers.linux_x11": "तान्ने जेस्चरहरू X11 मा काम गर्छन्।\nफाइल प्रबन्धक एकीकरण सक्रिय हुँदा, पहिलो किबोर्ड सर्टकटले Thunar को Filee कार्य चलाउँछ (यसलाई परिवर्तन गरेपछि Thunar पुन: खोल्नुहोस्)।\nअन्य फाइल प्रबन्धकहरूमा होल्ड जेस्चर र सर्टकटहरू उपलब्ध छैनन्। Filee मेनु वा ड्रप क्षेत्र प्रयोग गर्नुहोस्।",
"triggers.linux_wayland": "कर्सर पछ्याउने जेस्चरहरू Wayland मा उपलब्ध छैनन्।\nX11 सत्र प्रयोग गर्नुहोस्, वा फाइल प्रबन्धक मेनु र ड्रप क्षेत्रबाट रूपान्तरण गर्नुहोस्।\nThunar पुन: सुरु भएपछि पहिलो किबोर्ड सर्टकट प्रयोग गर्न सक्छ।",
"triggers.linux_wayland_experimental": "Wayland मा जेस्चरहरू प्रायोगिक हुन् र केवल KDE Plasma मा मात्र काम गर्छन्।\nFilee ले /dev/input बाट माउस पढ्छ र KWin लिपिले डोनटलाई कर्सरमा राख्छ (INSTALL.txt हेर्नुहोस्)। अन्य एपहरूमा Ctrl+drag अवरुद्ध हुन सक्छ; यदि समस्या भएमा Ctrl+Shift जस्तो अर्को परिमार्जक प्रयोग गर्नुहोस्।",
diff --git a/src/Filee.App/Assets/i18n/pl.json b/src/Filee.App/Assets/i18n/pl.json
index e07632dc..6dfe83f6 100644
--- a/src/Filee.App/Assets/i18n/pl.json
+++ b/src/Filee.App/Assets/i18n/pl.json
@@ -30,7 +30,7 @@
"home.drop_hint": "Albo przytrzymaj {0}, przeciągając pliki w Eksploratorze. Pasek-pierścień otworzy się przy kursorze.",
"home.drop_hint_macos": "Albo przytrzymaj {0}, przeciągając pliki w Finderze. Pasek-pierścień otworzy się przy kursorze.",
"home.drop_hint_linux": "Albo przytrzymaj {0}, przeciągając pliki w menedżerze plików. Pasek-pierścień otworzy się przy kursorze.",
- "home.accessibility_needed": "Aby otwierać pierścień przeciąganiem z ⌥ Option, zezwól Filee w Dostępności.\nZadziała od razu po włączeniu.",
+ "home.accessibility_needed": "Aby otwierać pierścień przeciąganiem z ⌥ Option, zezwól Filee w Dostępności.\nZadziała od razu po włączeniu. Jeśli Filee jest już na liście i jest włączony, usuń go przyciskiem − i dodaj ponownie przyciskiem +: macOS nie przenosi uprawnienia na zaktualizowany lub ponownie zainstalowany Filee.",
"home.elevated": "Filee działa jako administrator, więc Eksplorator nie może upuszczać na nie plików ani używać jego menu.\nSkrót też nie odczyta zaznaczenia w Eksploratorze.\nUruchom Filee ponownie bez uprawnień administratora, aby to naprawić.",
"home.elevated_restart": "Uruchom ponownie bez uprawnień administratora",
"home.elevated_restart_failed": "Filee nie mogło uruchomić się ponownie.\nZamknij Filee z zasobnika i uruchom je jeszcze raz.",
@@ -339,7 +339,7 @@
"triggers.title": "Skróty",
"triggers.description": "Wybierz, jak otwiera się pasek-pierścień. Możesz dodać dowolnie wiele gestów.",
- "triggers.macos_permissions": "Zezwól Filee w Ustawienia systemowe > Prywatność i ochrona > Dostępność.\nFinder poprosi też o uprawnienie Automatyzacji przy pierwszym użyciu skrótu zaznaczenia.",
+ "triggers.macos_permissions": "Zezwól Filee w Ustawienia systemowe > Prywatność i ochrona > Dostępność.\nJeśli Filee jest już włączony, a gesty się nie uruchamiają, usuń go przyciskiem − i dodaj ponownie przyciskiem +.\nFinder poprosi też o uprawnienie Automatyzacji przy pierwszym użyciu skrótu zaznaczenia.",
"triggers.linux_x11": "Gesty przeciągania działają w X11.\nPrzy włączonej integracji z menedżerem plików pierwszy skrót klawiszowy uruchamia akcję Filee w Thunarze (po zmianie otwórz Thunara ponownie).\nGesty przytrzymania i skróty w innych menedżerach plików są niedostępne. Użyj menu Filee lub strefy upuszczania.",
"triggers.linux_wayland": "Gesty podążające za kursorem są niedostępne w Waylandzie.\nUżyj sesji X11 albo konwertuj przez menu menedżera plików i strefę upuszczania.\nThunar może używać pierwszego skrótu klawiszowego po ponownym uruchomieniu.",
"triggers.linux_wayland_experimental": "Gesty w Waylandzie są eksperymentalne i działają tylko w KDE Plasma.\nFilee odczytuje mysz z /dev/input, a skrypt KWin umieszcza pasek-pierścień przy kursorze (zobacz INSTALL.txt). Przeciąganie z Ctrl w innych aplikacjach może zostać przerwane; jeśli to przeszkadza, użyj innego modyfikatora, np. Ctrl+Shift.",
diff --git a/src/Filee.App/Assets/i18n/pt-BR.json b/src/Filee.App/Assets/i18n/pt-BR.json
index 59614122..de22e05e 100644
--- a/src/Filee.App/Assets/i18n/pt-BR.json
+++ b/src/Filee.App/Assets/i18n/pt-BR.json
@@ -30,7 +30,7 @@
"home.drop_hint": "Ou segure {0} ao arrastar arquivos no Explorador. O menu circular abre no cursor.",
"home.drop_hint_macos": "Ou segure {0} ao arrastar arquivos no Finder. O menu circular abre no cursor.",
"home.drop_hint_linux": "Ou segure {0} ao arrastar arquivos no gerenciador de arquivos. O menu circular abre no cursor.",
- "home.accessibility_needed": "Para abrir o menu ao arrastar com ⌥ Option, permita o Filee em Acessibilidade.\nEle passa a funcionar assim que você ativar.",
+ "home.accessibility_needed": "Para abrir o menu ao arrastar com ⌥ Option, permita o Filee em Acessibilidade.\nEle passa a funcionar assim que você ativar. Se o Filee já estiver na lista e ativado, remova-o com − e adicione-o de novo com +: o macOS não mantém a permissão para um Filee atualizado ou reinstalado.",
"home.elevated": "O Filee está em execução como administrador, então o Explorador não consegue soltar arquivos nele nem usar o menu.\nO atalho também não lê a seleção do Explorador.\nReinicie o Filee sem direitos de administrador para corrigir isso.",
"home.elevated_restart": "Reiniciar sem direitos de administrador",
"home.elevated_restart_failed": "O Filee não conseguiu se reiniciar.\nSaia do Filee pela bandeja e inicie de novo.",
@@ -339,7 +339,7 @@
"triggers.title": "Atalhos",
"triggers.description": "Escolha como o menu circular abre. Você pode adicionar quantos gestos quiser.",
- "triggers.macos_permissions": "Permita o Filee em Ajustes do Sistema > Privacidade e Segurança > Acessibilidade.\nO Finder também pede permissão de Automação na primeira vez que você usa um atalho de seleção.",
+ "triggers.macos_permissions": "Permita o Filee em Ajustes do Sistema > Privacidade e Segurança > Acessibilidade.\nSe o Filee já estiver ativado, mas os gestos não iniciarem, remova-o com − e adicione-o de novo com +.\nO Finder também pede permissão de Automação na primeira vez que você usa um atalho de seleção.",
"triggers.linux_x11": "Gestos de arrastar funcionam no X11.\nCom a integração do gerenciador de arquivos ligada, o primeiro atalho de teclado executa a ação do Filee no Thunar (reabra o Thunar depois de mudar).\nGestos de segurar e atalhos em outros gerenciadores não estão disponíveis. Use o menu do Filee ou a área de soltar.",
"triggers.linux_wayland": "Gestos que seguem o cursor não estão disponíveis no Wayland.\nUse uma sessão X11, ou converta pelo menu do gerenciador de arquivos e pela área de soltar.\nO Thunar pode usar o primeiro atalho de teclado depois de reiniciar.",
"triggers.linux_wayland_experimental": "Gestos no Wayland são experimentais e só funcionam no KDE Plasma.\nO Filee lê o mouse em /dev/input e um script do KWin coloca o menu no cursor (veja INSTALL.txt). Ctrl+arrastar em outros apps pode ser interrompido; use outro modificador, como Ctrl+Shift, se atrapalhar.",
diff --git a/src/Filee.App/Assets/i18n/ru.json b/src/Filee.App/Assets/i18n/ru.json
index 5e8d9564..fdef315d 100644
--- a/src/Filee.App/Assets/i18n/ru.json
+++ b/src/Filee.App/Assets/i18n/ru.json
@@ -30,7 +30,7 @@
"home.drop_hint": "Или зажмите {0}, перетаскивая файлы в Проводнике. Круговое меню откроется у курсора.",
"home.drop_hint_macos": "Или зажмите {0}, перетаскивая файлы в Finder. Круговое меню откроется у курсора.",
"home.drop_hint_linux": "Или зажмите {0}, перетаскивая файлы в файловом менеджере. Круговое меню откроется у курсора.",
- "home.accessibility_needed": "Чтобы открывать круговое меню перетаскиванием с ⌥ Option, разрешите Filee в разделе «Универсальный доступ».\nЗаработает сразу после включения.",
+ "home.accessibility_needed": "Чтобы открывать круговое меню перетаскиванием с ⌥ Option, разрешите Filee в разделе «Универсальный доступ».\nЗаработает сразу после включения. Если Filee уже есть в списке и включён, удалите его кнопкой − и добавьте снова кнопкой +: macOS не переносит разрешение на обновлённый или переустановленный Filee.",
"home.elevated": "Filee запущен от имени администратора, поэтому Проводник не может перетаскивать на него файлы и пользоваться его меню.\nГорячая клавиша тоже не видит выделенные в Проводнике файлы.\nПерезапустите Filee без прав администратора.",
"home.elevated_restart": "Перезапустить без прав администратора",
"home.elevated_restart_failed": "Filee не смог перезапуститься сам.\nВыйдите из Filee через трей и запустите его снова.",
@@ -339,7 +339,7 @@
"triggers.title": "Горячие клавиши",
"triggers.description": "Выберите, как открывается круговое меню. Жестов можно добавить сколько угодно.",
- "triggers.macos_permissions": "Разрешите Filee в разделе «Системные настройки > Конфиденциальность и безопасность > Универсальный доступ».\nFinder также спросит разрешение на автоматизацию, когда вы впервые воспользуетесь сочетанием для выделенных файлов.",
+ "triggers.macos_permissions": "Разрешите Filee в разделе «Системные настройки > Конфиденциальность и безопасность > Универсальный доступ».\nЕсли Filee уже включён, но жесты не запускаются, удалите его кнопкой − и добавьте снова кнопкой +.\nFinder также спросит разрешение на автоматизацию, когда вы впервые воспользуетесь сочетанием для выделенных файлов.",
"triggers.linux_x11": "Жесты перетаскивания работают в X11.\nЕсли встраивание в файловый менеджер включено, первое сочетание клавиш запускает действие Filee в Thunar (после изменения перезапустите Thunar).\nЖесты удержания и сочетания в других файловых менеджерах недоступны. Пользуйтесь меню Filee или зоной перетаскивания.",
"triggers.linux_wayland": "Жесты, которые следуют за курсором, в Wayland недоступны.\nИспользуйте сессию X11 или конвертируйте через меню файлового менеджера и зону перетаскивания.\nThunar сможет использовать первое сочетание клавиш после перезапуска.",
"triggers.linux_wayland_experimental": "Жесты в Wayland экспериментальные и работают только в KDE Plasma.\nFilee читает мышь из /dev/input, а скрипт KWin ставит круговое меню у курсора (см. INSTALL.txt). Ctrl+перетаскивание в других программах может прерываться; если мешает, возьмите другой модификатор, например Ctrl+Shift.",
diff --git a/src/Filee.App/Assets/i18n/th.json b/src/Filee.App/Assets/i18n/th.json
index 21a267b9..dafee331 100644
--- a/src/Filee.App/Assets/i18n/th.json
+++ b/src/Filee.App/Assets/i18n/th.json
@@ -27,7 +27,7 @@
"home.drop_hint": "หรือกด {0} ค้างไว้ขณะลากไฟล์ใน Explorer เพื่อเปิดแถบโดนัทตรงตำแหน่งเคอร์เซอร์ของคุณ",
"home.drop_hint_macos": "หรือกด {0} ค้างไว้ขณะลากไฟล์ใน Finder เพื่อเปิดแถบโดนัทตรงตำแหน่งเคอร์เซอร์ของคุณ",
"home.drop_hint_linux": "หรือกด {0} ค้างไว้ขณะลากไฟล์ในโปรแกรมจัดการไฟล์ เพื่อเปิดแถบโดนัทตรงตำแหน่งเคอร์เซอร์ของคุณ",
- "home.accessibility_needed": "หากต้องการเปิดโดนัทโดยการลากพร้อมกด ⌥ Option ให้เปิดอนุญาต Filee ใน การช่วยการเข้าถึง (Accessibility)\nระบบจะทำงานทันทีหลังจากเปิดใช้งาน",
+ "home.accessibility_needed": "หากต้องการเปิดโดนัทโดยการลากพร้อมกด ⌥ Option ให้เปิดอนุญาต Filee ใน การช่วยการเข้าถึง (Accessibility)\nระบบจะทำงานทันทีหลังจากเปิดใช้งาน หาก Filee อยู่ในรายการและเปิดอยู่แล้ว ให้ลบออกด้วยปุ่ม − แล้วเพิ่มกลับเข้าไปใหม่ด้วยปุ่ม + เพราะ macOS จะไม่ใช้สิทธิ์เดิมกับ Filee ที่อัปเดตหรือติดตั้งใหม่",
"home.elevated": "Filee กำลังทำงานในฐานะผู้ดูแลระบบ (Administrator) ทำให้ Explorer ไม่สามารถลากไฟล์มาวางหรือใช้เมนูได้\nรวมถึงปุ่มลัดไม่สามารถอ่านไฟล์ที่เลือกใน Explorer ได้เช่นกัน\nโปรดรีสตาร์ท Filee โดยไม่ใช้สิทธิ์ผู้ดูแลระบบเพื่อแก้ไขปัญหานี้",
"home.elevated_restart": "รีสตาร์ทโดยไม่ใช้สิทธิ์ผู้ดูแลระบบ",
"home.elevated_restart_failed": "Filee ไม่สามารถรีสตาร์ทตัวเองได้\nโปรดปิด Filee จากถาดระบบ แล้วเปิดใหม่อีกครั้ง",
@@ -326,7 +326,7 @@
"general.imported": "นำเข้าแล้ว {0} รายการ",
"triggers.title": "ปุ่มลัด",
"triggers.description": "เลือกวิธีเปิดแถบโดนัท คุณสามารถเพิ่มท่าทางและปุ่มลัดได้ตามต้องการ",
- "triggers.macos_permissions": "อนุญาต Filee ใน การตั้งค่าระบบ > ความเป็นส่วนตัวและความปลอดภัย > การช่วยการเข้าถึง\nFinder จะขอสิทธิ์การควบคุมอัตโนมัติ (Automation) ในครั้งแรกที่คุณใช้ปุ่มลัดกับไฟล์ที่เลือก",
+ "triggers.macos_permissions": "อนุญาต Filee ใน การตั้งค่าระบบ > ความเป็นส่วนตัวและความปลอดภัย > การช่วยการเข้าถึง\nหาก Filee เปิดอยู่แล้วแต่ท่าทางไม่เริ่มทำงาน ให้ลบออกด้วยปุ่ม − แล้วเพิ่มกลับเข้าไปใหม่ด้วยปุ่ม +\nFinder จะขอสิทธิ์การควบคุมอัตโนมัติ (Automation) ในครั้งแรกที่คุณใช้ปุ่มลัดกับไฟล์ที่เลือก",
"triggers.linux_x11": "ท่าทางการลากทำงานบน X11\nเมื่อเปิดการทำงานร่วมกับโปรแกรมจัดการไฟล์ ปุ่มลัดแป้นพิมพ์แรกจะเรียกใช้คำสั่ง Filee ของ Thunar (เปิด Thunar ใหม่หลังเปลี่ยนค่า)\nท่าทางการกดค้างและปุ่มลัดในโปรแกรมจัดการไฟล์อื่นยังไม่รองรับ ให้ใช้เมนู Filee หรือพื้นที่วางไฟล์แทน",
"triggers.linux_wayland": "ท่าทางที่ติดตามเคอร์เซอร์ยังไม่พร้อมใช้งานบน Wayland\nโปรดใช้เซสชัน X11 หรือแปลงไฟล์ด้วยเมนูของโปรแกรมจัดการไฟล์และพื้นที่วางไฟล์\nThunar สามารถใช้ปุ่มลัดแรกได้หลังจากรีสตาร์ท",
"triggers.linux_wayland_experimental": "ท่าทางบน Wayland อยู่ในขั้นทดลองและทำงานได้บน KDE Plasma เท่านั้น\nFilee อ่านค่าเมาส์จาก /dev/input และสคริปต์ KWin จะวางโดนัทตรงเคอร์เซอร์ (ดู INSTALL.txt) การกด Ctrl+ลาก ในแอปอื่นอาจถูกรบกวน ให้ใช้ปุ่มปรับแต่งอื่น เช่น Ctrl+Shift แทนหากมีปัญหา",
diff --git a/src/Filee.App/Assets/i18n/zh-CN.json b/src/Filee.App/Assets/i18n/zh-CN.json
index cfa40e2b..04342f28 100644
--- a/src/Filee.App/Assets/i18n/zh-CN.json
+++ b/src/Filee.App/Assets/i18n/zh-CN.json
@@ -30,7 +30,7 @@
"home.drop_hint": "或在资源管理器中按住 {0} 拖动文件,环形工具栏会在光标处打开。",
"home.drop_hint_macos": "或在访达中按住 {0} 拖动文件,环形工具栏会在光标处打开。",
"home.drop_hint_linux": "或在文件管理器中按住 {0} 拖动文件,环形工具栏会在光标处打开。",
- "home.accessibility_needed": "要按住 ⌥ Option 拖动打开环形工具栏,请在“辅助功能”中允许 Filee。\n打开后立即生效。",
+ "home.accessibility_needed": "要按住 ⌥ Option 拖动打开环形工具栏,请在“辅助功能”中允许 Filee。\n打开后立即生效。如果 Filee 已在列表中且已打开,请用 − 将其移除,再用 + 重新添加:macOS 不会把原来的权限沿用到更新或重新安装后的 Filee。",
"home.elevated": "Filee 正以管理员身份运行。\n因此无法从资源管理器拖放文件,也无法使用右键菜单。\n快捷键也无法读取资源管理器中选中的文件。\n请以非管理员身份重新启动 Filee。",
"home.elevated_restart": "以非管理员身份重新启动",
"home.elevated_restart_failed": "Filee 无法自行重新启动。\n请从托盘退出 Filee,然后再次启动。",
@@ -339,7 +339,7 @@
"triggers.title": "快捷操作",
"triggers.description": "选择打开环形工具栏的方式。可以添加任意多个手势。",
- "triggers.macos_permissions": "请在系统设置 > 隐私与安全性 > 辅助功能中允许 Filee。\n首次使用选择文件的快捷键时,Finder 还会请求自动化权限。",
+ "triggers.macos_permissions": "请在系统设置 > 隐私与安全性 > 辅助功能中允许 Filee。\n如果 Filee 已打开但手势仍未启动,请用 − 将其移除,再用 + 重新添加。\n首次使用选择文件的快捷键时,Finder 还会请求自动化权限。",
"triggers.linux_x11": "拖动手势需要 X11。\n启用文件管理器集成后,第一个键盘快捷键会运行 Thunar 的 Filee 操作(修改后请重新打开 Thunar)。\n不支持长按手势和其他文件管理器的快捷键,请使用 Filee 菜单或拖放区域。",
"triggers.linux_wayland": "Wayland 下无法使用跟随光标的手势。\n请使用 X11 会话,或通过文件管理器菜单和拖放区域转换。\nThunar 重启后可以使用第一个键盘快捷键。",
"triggers.linux_wayland_experimental": "Wayland 下的手势为实验性功能,仅在 KDE Plasma 中可用。\nFilee 从 /dev/input 读取鼠标输入,并由 KWin 脚本将环形工具栏移到光标处(参见 INSTALL.txt)。在其他应用中按住 Ctrl 拖动可能会被打断,如有影响,请改用其他修饰键,例如 Ctrl+Shift。",
diff --git a/src/Filee.App/Assets/i18n/zh-TW.json b/src/Filee.App/Assets/i18n/zh-TW.json
index 3fc0e8cf..f63d6a08 100644
--- a/src/Filee.App/Assets/i18n/zh-TW.json
+++ b/src/Filee.App/Assets/i18n/zh-TW.json
@@ -30,7 +30,7 @@
"home.drop_hint": "或在檔案總管中按住 {0} 拖曳檔案,環形工具列會在游標處開啟。",
"home.drop_hint_macos": "或在 Finder 中按住 {0} 拖曳檔案,環形工具列會在游標處開啟。",
"home.drop_hint_linux": "或在檔案管理員中按住 {0} 拖曳檔案,環形工具列會在游標處開啟。",
- "home.accessibility_needed": "要按住 ⌥ Option 拖曳開啟環形工具列,請在「輔助使用」中允許 Filee。\n允許後立即生效。",
+ "home.accessibility_needed": "要按住 ⌥ Option 拖曳開啟環形工具列,請在「輔助使用」中允許 Filee。\n允許後立即生效。如果 Filee 已在清單中且已開啟,請用 − 將其移除,再用 + 重新加入:macOS 不會把原本的權限沿用到更新或重新安裝後的 Filee。",
"home.elevated": "Filee 正以系統管理員身分執行。\n因此無法從檔案總管拖放檔案,也無法使用右鍵選單。\n快速鍵也無法讀取檔案總管中選取的檔案。\n請以一般使用者身分重新啟動 Filee。",
"home.elevated_restart": "以一般使用者身分重新啟動",
"home.elevated_restart_failed": "Filee 無法自行重新啟動。\n請從系統匣結束 Filee,然後再次啟動。",
@@ -339,7 +339,7 @@
"triggers.title": "觸發方式",
"triggers.description": "選擇開啟環形工具列的方式。可以新增任意多個手勢。",
- "triggers.macos_permissions": "請在「系統設定 > 隱私權與安全性 > 輔助使用」中允許 Filee。\n首次使用「選取檔案」的快速鍵時,Finder 還會要求自動化權限。",
+ "triggers.macos_permissions": "請在「系統設定 > 隱私權與安全性 > 輔助使用」中允許 Filee。\n如果 Filee 已開啟但手勢仍未啟動,請用 − 將其移除,再用 + 重新加入。\n首次使用「選取檔案」的快速鍵時,Finder 還會要求自動化權限。",
"triggers.linux_x11": "拖曳手勢需要 X11。\n啟用檔案管理員整合後,第一個鍵盤快速鍵會執行 Thunar 的 Filee 操作(修改後請重新開啟 Thunar)。\n不支援長按手勢和其他檔案管理員的快速鍵,請使用 Filee 選單或拖放區域。",
"triggers.linux_wayland": "Wayland 下無法使用跟隨游標的手勢。\n請使用 X11 工作階段,或透過檔案管理員選單和拖放區域轉換。\nThunar 重啟後可以使用第一個鍵盤快速鍵。",
"triggers.linux_wayland_experimental": "Wayland 下的手勢為實驗性功能,僅在 KDE Plasma 中可用。\nFilee 從 /dev/input 讀取滑鼠輸入,並由 KWin 指令碼將環形工具列移到游標處(參見 INSTALL.txt)。在其他應用程式中按住 Ctrl 拖曳可能會被打斷,如有影響,請改用其他修飾鍵,例如 Ctrl+Shift。",
diff --git a/src/Filee.App/Services/Triggers/TriggerService.cs b/src/Filee.App/Services/Triggers/TriggerService.cs
index 5e25f2a9..95848e02 100644
--- a/src/Filee.App/Services/Triggers/TriggerService.cs
+++ b/src/Filee.App/Services/Triggers/TriggerService.cs
@@ -136,6 +136,16 @@ public sealed class TriggerService : IDisposable
private Timer? _permissionWatch;
+ /// <summary>
+ /// macOS: whether to show the system's Accessibility alert: gestures wait for the permission, a drag gesture is
+ /// on, and Filee hasn't asked before. Once, not at every start (#316): after an update of the ad-hoc signed app,
+ /// the list can show Filee switched on while macOS still denies it, and the alert came back at every start. The
+ /// Home reminder stays until the permission is given and says to remove Filee from the list and add it again.
+ /// </summary>
+ internal static bool ShouldAskForPermission(AppSettings settings, bool needsPermission) =>
+ needsPermission && !settings.AccessibilityPromptShown
+ && settings.Triggers.Any(t => t.Enabled && t.Kind == TriggerKind.Drag);
+
public void Start()
{
if (_hook is not null)
diff --git a/src/Filee.Core/Settings/AppSettings.cs b/src/Filee.Core/Settings/AppSettings.cs
index 1e4cbe88..6d87d983 100644
--- a/src/Filee.Core/Settings/AppSettings.cs
+++ b/src/Filee.Core/Settings/AppSettings.cs
@@ -196,6 +196,9 @@ public sealed class AppSettings
/// <summary>Set once the "Is Filee helping you?" card (GitHub star / feedback) has been shown.</summary>
public bool FeedbackPromptShown { get; set; }
+ /// <summary>macOS: set once Filee has shown the system's Accessibility alert, which it shows only once (#316).</summary>
+ public bool AccessibilityPromptShown { get; set; }
+
/// <summary>Folders whose new files are converted automatically (Settings → Watch folders).</summary>
public List<Watching.WatchRule> WatchFolders { get; set; } = [];
diff --git a/tests/Filee.App.Tests/AccessibilityPromptTests.cs b/tests/Filee.App.Tests/AccessibilityPromptTests.cs
new file mode 100644
index 00000000..c20b572f
--- /dev/null
+++ b/tests/Filee.App.Tests/AccessibilityPromptTests.cs
@@ -0,0 +1,48 @@
+// macOS asks for Accessibility with its own alert once, not at every start (#316): after an update of the ad-hoc
+// signed app the list can show Filee switched on while macOS still denies it, so the alert kept coming back.
+
+using Filee.App.Services.Triggers;
+using Filee.Core.Settings;
+
+namespace Filee.App.Tests;
+
+public class AccessibilityPromptTests
+{
+ [Fact]
+ public void The_alert_is_shown_once_and_not_at_later_starts()
+ {
+ var directory = Directory.CreateTempSubdirectory("filee-accessibility-").FullName;
+ try
+ {
+ var store = new UserDataStore(directory);
+ store.Load();
+ Assert.True(TriggerService.ShouldAskForPermission(store.Settings, needsPermission: true));
+
+ // What App does when it shows the alert.
+ store.Settings.AccessibilityPromptShown = true;
+ store.SaveSettings();
+ Assert.False(TriggerService.ShouldAskForPermission(store.Settings, needsPermission: true));
+
+ // The next start reads the flag back: still denied, but no alert again.
+ var nextStart = new UserDataStore(directory);
+ nextStart.Load();
+ Assert.True(nextStart.Settings.AccessibilityPromptShown);
+ Assert.False(TriggerService.ShouldAskForPermission(nextStart.Settings, needsPermission: true));
+ }
+ finally
+ {
+ Directory.Delete(directory, recursive: true);
+ }
+ }
+
+ [Fact]
+ public void No_alert_with_the_permission_or_without_a_drag_gesture()
+ {
+ var settings = new AppSettings();
+ Assert.False(TriggerService.ShouldAskForPermission(settings, needsPermission: false));
+
+ foreach (var gesture in settings.Triggers.Where(t => t.Kind == TriggerKind.Drag))
+ gesture.Enabled = false;
+ Assert.False(TriggerService.ShouldAskForPermission(settings, needsPermission: true));
+ }
+}