[
  {
    "path": ".gitignore",
    "content": "*.DS_Store"
  },
  {
    "path": "README-rus.md",
    "content": "# YouType для macOS\n### Может отображать текущую раскладку клавиатуры в строке состояния в виде флагов в macOS 12.4+\n![Screenshot1.png](Screenshot1.png)\n[**Поддержать**](https://www.buymeacoffee.com/freefelt)  |  [**Обратная связь**](https://github.com/freefelt/YouType/issues/new)  |  [Обзоры / упоминания](reviews.md)  |  [Скачать](https://github.com/freefelt/YouType/raw/main/YouType.zip) |  [YouType for Windows](Windows/README-rus.md)  |  This page is also available in: [english](../..)\n\n**YouType** это полезная программа, которая позволит тебе сохранить нервы и работать на компьютере более эффективно. При наведении курсора мыши на любое текстовое поле, YouType показывает рядом с указателем флажок текущей раскладки клавиатуры. Ты будешь видеть текущий язык как раз перед вводом текста, и в том месте экрана, куда ты смотришь в данный момент. Это очень удобно! Это позволит тебе делать меньше ошибок ввода и не терять время на исправление уже напечатанного.\n\nТакже YouType будет удобна при работе в **полноэкранном режиме**, когда индикатор текущей раскладки скрывается вместе с главной панелью. Флажок возле курсора в нужном месте подскажет какой сейчас выбран язык ввода.\n\n# Установка / Удаление\n\n## С помощью [Homebrew](https://github.com/Homebrew/homebrew-cask)\nДля установки YouType откройте Terminal.app и выполните команду:\n```bash\nbrew install youtype --no-quarantine\n```\n`--no-quarantine` - параметр помогает избежать всплывающего окна Gatekeeper при первом запуске (опционально).\n\nДля удаления:\n```bash\nbrew uninstall youtype --zap\n```\n`--zap` - параметр удаляет настройки и кэш приложения (опционально).\n\n## С помощью [скриптов](https://github.com/freefelt/YouType/raw/main/Scripts)\nДля установки YouType откройте Terminal.app и выполните команду:\n```bash\n/bin/bash -c \"$(curl -fsSL https://github.com/freefelt/YouType/raw/main/Scripts/Installer.sh)\"\n```\nДля удаления:\n```bash\n/bin/bash -c \"$(curl -fsSL https://github.com/freefelt/YouType/raw/main/Scripts/Uninstaller.sh)\"\n```\nЕсли нужно запустить скрипты неинтерактивно, можно добавить параметр `NONINTERACTIVE=1` перед командами:\n```bash\nNONINTERACTIVE=1 /bin/bash -c \"$(curl -fsSL http...\n```\n"
  },
  {
    "path": "README.md",
    "content": "# YouType for macOS\n### Can display the current keyboard layout in the status bar as flags in macOS 12.4+\n![Screenshot1.png](Screenshot1.png)\n[**Donate**](https://www.buymeacoffee.com/freefelt)  |  [**Feedback**](https://github.com/freefelt/YouType/issues/new)  |  [Reviews / references](reviews.md)  |  [Download](https://github.com/freefelt/YouType/raw/main/YouType.zip)  |  [YouType for Windows](Windows/README.md) |  Страница доступна на: [русском](README-rus.md)\n\n**YouType** is a cool app that will allow you to work on your computer more efficiently and save your nerves. When you hover your mouse cursor over any text field, YouType shows you the current keyboard layout as a flag next to the pointer. You will see the current language at the location on the screen where you are working just before you enter the text. It is incredibly convenient! This will allow you to commit fewer typing errors and not waste time on a fix already printed.\n\nAlso YouType will be useful when working in **full-screen mode**, when indicator of the current keyboard layout is hidden. The indicator next to the cursor in the right place will tell you what keyboard layout is now selected.\n\n# Installation / Uninstallation\n\n## Using [Homebrew](https://github.com/Homebrew/homebrew-cask)\nTo install YouType open Terminal.app and run the command:\n```bash\nbrew install youtype --no-quarantine\n```\n`--no-quarantine` param is to avoid a Gatekeeper popup on first launch (optional).\n\nTo uninstall:\n```bash\nbrew uninstall youtype --zap\n```\n`--zap` param is to remove app settings and cache (optional).\n\n## Using [scripts](https://github.com/freefelt/YouType/raw/main/Scripts)\nTo install YouType open Terminal.app and run the command:\n```bash\n/bin/bash -c \"$(curl -fsSL https://github.com/freefelt/YouType/raw/main/Scripts/Installer.sh)\"\n```\nTo uninstall:\n```bash\n/bin/bash -c \"$(curl -fsSL https://github.com/freefelt/YouType/raw/main/Scripts/Uninstaller.sh)\"\n```\nIf you want to run a script non-interactively, you can use option `NONINTERACTIVE=1` before the commands:\n```bash\nNONINTERACTIVE=1 /bin/bash -c \"$(curl -fsSL http...\n```\n"
  },
  {
    "path": "ReleaseNotes.html",
    "content": "YouType 0.7.3\n• YouType needs your help! We need 75 stars on GitHub to make YouType available for installation via Homebrew (https://github.com/Homebrew/homebrew-cask).\n• Please, go https://github.com/freefelt/YouType and give YouType a star. Thank you!\n• some minor changes\n\nYouType 0.7.2\n• fixed rendering flags with black/white stripes (thanks swayhead)\n• some fixes and impovements\n\nYouType 0.7\n• added a \"Open Keyboard Preferences\" menu item\n• added a \"Show Keyboard Viewer\" menu item\n• added a \"Show Emoji & Symbols\" menu item\n• added an option of enable/disable the cursor indicator\n• fixed crash on M1 with launch at login\n• some fixes and impovements\n\nYouType 0.6\n• the flags are coming back! (relevant for macOS 12.4, you can disable feature in settings)\n• fixed crash on macOS < 10.14 (thanks MaximvsStorm)\n• increased indicator quality on retina displays\n• increased tinted indicator quality on non retina displays\n• minor fixes\n\nYouType 0.5\n• fixed a case where the indicator did not change after changing the input source\n• now you can change the current input source\n• the name of the current input source can be displayed next to the indicator in the status bar\n\nYouType 0.4.1\n• minor fixes\n\nYouType 0.4\n• new method of getting the input source icon (now the Gureum input source supported)\n\nYouType 0.3\n• fixed Grey language block instead of lang flag\n• better quality for statusbar flag icon\n\nYouType 0.2\n• redused energy consumption\n• added feature that fixes translucent indicator appearance\n• fixed the method of moving the flag behind the cursor (before it could appear and not run after the cursor)\n• fixed the method of displaying the current layout (the wrong flag could be shown before)\n\nYouType 0.1.9\n• if the indicator is hidden when entering text or scrolling, it appears again when switching the input source\n• some fixes to improve performance\n\nYouType 0.1.8\n• fixed support URL\n\nYouType 0.1.7\n• added checking for updates\n"
  },
  {
    "path": "Scripts/Installer.sh",
    "content": "RED='\\033[1;31m'\nGREEN='\\033[1;32m'\nCYAN='\\033[1;36m'\nYELLOW=\"\\033[0;33m\"\nWHITE='\\033[1;37m'\nNOCOLOR='\\033[0m'\n\nARCHURL=\"https://github.com/freefelt/YouType/raw/main/YouType.zip\"\nAPPDESTINATION=\"/Applications\"\nARCHFILENAME=\"/tmp/YouType.zip\"\nAPPFILENAME=\"$APPDESTINATION/YouType.app\"\n\n#---------------------------------------------------------------------------------------------------\n\nif test -d $APPFILENAME; then\n    if [[ $NONINTERACTIVE != 1 ]]; then\n        printf \"${WHITE}YouType is already installed. Would you like to reinstall? ${CYAN}(y/n): \"\n        read REINSTALL\n        if [[ $REINSTALL == \"y\" || $REINSTALL == \"Y\" ]]; then\n            CONTINUE=1\n            tput cuu 1; tput el;\n        else\n            CONTINUE=0\n        fi\n    else\n        CONTINUE=0\n        printf \"${WHITE}YouType is already installed\\n\"\n    fi\nelse\n    CONTINUE=1\nfi\n\nif [[ $CONTINUE == 0 ]]; then\n    exit\nfi\n\nprintf \"${CYAN}============================ Installing YouType =============================\\n\"\n\nprintf \"${WHITE}- Downloading ${YELLOW}$ARCHURL ${RED}\"\ncurl -fsSL -o $ARCHFILENAME $ARCHURL\n\nif test -f $ARCHFILENAME; then\n    printf \"${GREEN}DONE\\n\"\n    printf \"${WHITE}- Unarchiving to ${YELLOW}$APPFILENAME \"\n    \n    pkill -x YouType\n    \n    unzip -qq -o $ARCHFILENAME -d $APPDESTINATION\n    if test -d $APPFILENAME; then\n        printf \"${GREEN}DONE\\n\"\n        \n        printf \"${WHITE}- Removing ${YELLOW}com.apple.quarantine ${WHITE}attribute \"\n        if [[ $(xattr $APPFILENAME) = *com.apple.quarantine* ]]; then\n        \n            xattr -d com.apple.quarantine $APPFILENAME\n            \n            if [[ $(xattr $APPFILENAME) = *com.apple.quarantine* ]]; then\n                printf \"${RED}FAILED\\n\"\n            else\n                printf \"${GREEN}DONE\\n\"\n            fi\n        else\n            printf \"${GREEN}NO\\n\"\n        fi\n            \n        if [[ $NONINTERACTIVE != 1 ]]; then\n#            printf \"${NOCOLOR}Would you like to run YouType? (y/n): \"\n#            read RUN\n#            if [[ $RUN == \"y\" || $RUN == \"Y\" ]]; then\n#                open -a YouType\n#            fi\n            open -R $APPFILENAME\n        fi\n    else\n        printf \"${RED}FAILED\\n\"\n    fi\n    \n    rm $ARCHFILENAME\nfi\n\nprintf \"${CYAN}=============================================================================\\n\"\n"
  },
  {
    "path": "Scripts/Uninstaller.sh",
    "content": "RED='\\033[1;31m'\nGREEN='\\033[1;32m'\nCYAN='\\033[1;36m'\nYELLOW=\"\\033[0;33m\"\nWHITE='\\033[1;37m'\nNOCOLOR='\\033[0m'\n\nAPPFILENAME=\"/Applications/YouType.app\"\nPLISTFILENAME=\"$(echo ~)/Library/Preferences/com.AVKorotkov.YouType.plist\"\nCACHEPATH=\"$(echo ~)/Library/Caches/com.AVKorotkov.YouType\"\n\n#---------------------------------------------------------------------------------------------------\n\nif test -d $APPFILENAME; then\n    if [[ $NONINTERACTIVE != 1 ]]; then\n        printf \"${WHITE}Are you sure you want to uninstall YouType? ${CYAN}(y/n): \"\n        read UNINSTALL\n        if [[ $UNINSTALL == \"y\" || $UNINSTALL == \"Y\" ]]; then\n            CONTINUE=1\n            tput cuu 1; tput el;\n        else\n            CONTINUE=0\n        fi\n    else\n        CONTINUE=1\n    fi\nelse\n    CONTINUE=0\n    printf \"${WHITE}YouType is not installed\\n\"\nfi\n\nif [[ $CONTINUE == 0 ]]; then\n    exit\nfi\n\nprintf \"${CYAN}=========================== Uninstalling YouType ============================\\n\"\n\nprintf \"${WHITE}- Removing ${YELLOW}$APPFILENAME \"\nif test -d $APPFILENAME; then\n    pkill -x YouType\n    rm -r $APPFILENAME\n    if test -d $APPFILENAME; then\n        printf \"${RED}FAILED\\n\"\n    else\n        printf \"${GREEN}DONE\\n\"\n    fi\nelse\n    printf \"${GREEN}NO\\n\"\nfi\n\nprintf \"${WHITE}- Removing ${YELLOW}$PLISTFILENAME \"\nif test -f $PLISTFILENAME; then\n    rm $PLISTFILENAME\n    if test -f $PLISTFILENAME; then\n        printf \"${RED}FAILED\\n\"\n    else\n        printf \"${GREEN}DONE\\n\"\n    fi\nelse\n    printf \"${GREEN}NO\\n\"\nfi\n\nprintf \"${WHITE}- Removing ${YELLOW}$CACHEPATH \"\nif test -d $CACHEPATH; then\n    rm -r $CACHEPATH\n    if test -d $CACHEPATH; then\n        printf \"${RED}FAILED\\n\"\n    else\n        printf \"${GREEN}DONE\\n\"\n    fi\nelse\n    printf \"${GREEN}NO\\n\"\nfi\n\nprintf \"${CYAN}=============================================================================\\n\"\n"
  },
  {
    "path": "Windows/README-rus.md",
    "content": "# YouType для Windows (проект больше не поддерживается)\n![77b0a01cefcd12c9354c7a5d465668e6_gallery.jpg](Screenshot1.png)\n[Скачать](https://github.com/freefelt/YouType/raw/main/Windows/YouTypeSetup.zip)  |  [YouType для macOS](../README-rus.md)  |  This page is also available in: [english](README.md)\n\n**YouType** это полезная программа, которая позволит тебе сохранить нервы и работать на компьютере более эффективно. При наведении курсора мыши на любое текстовое поле, YouType показывает рядом с указателем флажок текущей раскладки клавиатуры. Ты будешь видеть текущий язык как раз перед вводом текста, и в том месте экрана, куда ты смотришь в данный момент. Это очень удобно! Это позволит тебе делать меньше ошибок ввода и не терять время на исправление уже напечатанного.\n\nТакже YouType будет удобна при **автоматическом скрытии панели задач**, на которой расположен индикатор текущей раскладки. Флажок возле курсора в нужном месте подскажет какой сейчас выбран язык ввода.\n"
  },
  {
    "path": "Windows/README.md",
    "content": "# YouType for Windows (the project is no longer supported)\n![77b0a01cefcd12c9354c7a5d465668e6_gallery.jpg](Screenshot1.png)\n[Download](https://github.com/freefelt/YouType/raw/main/Windows/YouTypeSetup.zip)  |  [YouType for macOS](../../..)  |  Страница так же доступна на: [русском](README-rus.md)\n\n**YouType** is a cool app that will allow you to work on your computer more efficiently and save your nerves. When you hover your mouse cursor over any text field, YouType shows you the current keyboard layout as a flag next to the pointer. You will see the current language at the location on the screen where you are working just before you enter the text. It is incredibly convenient! This will allow you to commit fewer typing errors and not waste time on a fix already printed.\n\nAlso YouType will be useful when you use **automatically hiding the taskbar mode**. The indicator next to the cursor in the right place will tell you what keyboard layout is now selected.\n"
  },
  {
    "path": "appcast.xml",
    "content": "<?xml version=\"1.0\" standalone=\"yes\"?>\n<rss xmlns:sparkle=\"http://www.andymatuschak.org/xml-namespaces/sparkle\" version=\"2.0\">\n    <channel>\n        <title>YouType</title>\n        <item>\n            <title>0.7.3</title>\n            <pubDate>Mon, 26 Dec 2022 10:16:26 +0500</pubDate>\n            <link>https://github.com/freefelt/YouType</link>\n            <sparkle:version>0.7.3</sparkle:version>\n            <sparkle:shortVersionString>0.7.3</sparkle:shortVersionString>\n            <sparkle:minimumSystemVersion>10.10</sparkle:minimumSystemVersion>\n            <sparkle:releaseNotesLink>https://github.com/freefelt/YouType/raw/main/ReleaseNotes.html</sparkle:releaseNotesLink>\n            <enclosure url=\"https://github.com/freefelt/YouType/raw/main/YouType.zip\" length=\"6673820\" type=\"application/octet-stream\" sparkle:edSignature=\"EwGv8n4omK6/Vz++SwiDrABqxs7YTaRVU64ysLiFgph0WyLs9ReRRAQjYmk+uzrS424MmE8vnyJ2tqDlBhuTBQ==\"/>\n        </item>\n    </channel>\n</rss>"
  },
  {
    "path": "reviews.md",
    "content": "- [**trashbox.ru** - 10 неизвестных, но очень полезных приложений для mac. С ними намного удобнее](https://trashbox.ru/link/10-neizvestnyh-prilozhenij-dlya-mac)\n\n- [**os-helper.ru** - 10 полезных приложений для Mac, о которых мало кто знает](https://os-helper.ru/macos/poleznye-prilozheniya-dlya-mac.html)\n\n- [**iphones.ru** - Мне надоело переключать языки при печати на Mac. Нашёл 4 способа удобнее менять раскладку, в том числе автоматически](https://www.iphones.ru/iNotes/4-sposoba-uluchshit-pereklyuchenie-yazykov-vvoda-na-mac-ot-prostogo-nazhatiya-knopki-do-avtomaticheskogo-09-04-2022)\n\n- [**thequestion.ru** - Какими интересными приложениями для Mac OS вы пользуетесь?](https://thequestion.ru/questions/73698/answer-anchor/answer/82889)\n\n- [**iphones.ru** - Как удобнее всего переключать язык на Mac](https://www.iphones.ru/iNotes/652097)\n\n- [**iphones.ru** - Что установить на MacBook сразу после покупки](https://www.iphones.ru/iNotes/733886)\n\n- [**blog.skaplichniy.ru** - Флажки](http://blog.skaplichniy.ru/all/flazhki/)\n\n- [**macworld.com** - The Week in Mac Apps: Apps for geography, file management, and more](http://www.macworld.com/article/2884944/the-week-in-mac-apps-apps-for-geography-file-management-and-more.html#slide10)\n\n- [**minatokobe.com** - 「Iビーム」の側に入力ソースを表示「YouType」が無料](http://minatokobe.com/wp/it情報/sale/post-22616.html)\n\n- [**macnews.tistory.com** - 오타 방지 유틸리티 'YouType'... 현재 사용 중인 입력기를 마우스 커서 옆에 표시합니다](http://macnews.tistory.com/4373)\n\n- [**youtube.com** - Контроль за языком набора на клавиатуре Mac OS X (МакЛикбез Советы)](https://www.youtube.com/watch?v=ned5D3sQPgo)\n\n*Уже недоступно (No longer available)*\n\n- [**macdigger.ru** - Новое приложение для Mac отображает индикатор языковой раскладки рядом с курсором](http://www.macdigger.ru/macall/macsoft/novoe-prilozhenie-dlya-mac-otobrazhaet-indikator-yazykovoj-raskladki-ryadom-s-polem-vvoda-5-promo.html)\n- [**macilove.com** - Как с помощью утилиты YouType узнать активную раскладку в OS X](http://macilove.com/news/how-to-use-youtype-see-the-active-keyboard-layout-in-os-x/)\n\n- [**macosworld.ru** - YouType — занимательные флаги](http://macosworld.ru/youtype/)\n\n- [**lifehacker.ru** - НщгЕнзу gjvj;tn c hfcrkflrjq rkfdbfnehs](http://lifehacker.ru/2015/04/01/nshhgenzu-gjvj-tn-c-hfcrkflrjq-rkfdbfnehs/)\n\n- [**pavel.miroshnichen.co** - Моя подборка программ для Mac за 2014 год](http://pavel.miroshnichen.co/2015/01/17/setup-2015/)\n"
  }
]