As long it is running. But after ending fardroid or far: adb - which was started by fardroid - should stop too. I don't need it anymore and it shouldn't be there. A kind of clean coding.
farman,
I see, but what if open 2 far instances - 1st starts server and 2nd doesn't need to start. When you close 1st instance you'll brake 2nd instance - so you've to start adb and when you close 2nd instance it won't kill-server, because it wasn't started by this instance.
I think adb server is "service on demand" - it should be started when needed, but stopped manually as usually happens with Windows Services.
Last edited by dimfish on Tue 06 Sep, 2016 18:10, edited 1 time in total.
This could cause a problem. I see too. But I think most of the users only need 1 adb server running... What about an option in settings, something like "stop the instance of adb i started after closing fardroid. I know what I'm doing.". I feel much more better with an app that leaves my pc clean as it was before and doesn't leave any traces that I have to clean by myself.
Edit: I don't need adb as installed win service. Just starts it as a simple tool for the moment I want to connect with fardroid.
Last edited by farman on Tue 06 Sep, 2016 19:26, edited 1 time in total.
При вставке панельного пути (Ctrl-[ и Ctrl-]) в качестве корня вставляется имя файла/каталога хостовой ФС, на котором стоял курсор до переключения на панель FarDroid. Это происходит с самых первых версий плагина. Особенность FAR, или средствами плагина можно скорректировать?
farman,
OK I'll think about option in settings for kill-server
emusic,
Это обрабатывается фаром неправильно Ctrl+[] складывает 2 пути "Parent_PATH+FarDroid_PATH". Самое что интересное, я пользуюсь
Ctrl+Alt+Insert - и это работает правильно! Можно наверное хак сделать в самом плагине, но я считаю надо смотреть что в фаре творится.
Посмотрел в FAR - там если выставлен HostFile - то он складывается с путем. Я не знаю зафига нужен HostFile - удалил его - потыркал вроде всё работает версия 2.5.1.
zg wrote: кто-то только вчера ныл про документацию.
Опять меня не так поняли Для чего нужен HostFile в Far понятно, здесь вопросов нету. Я имел ввиду зачем изначально автор плагина его выставлял - вот это непонятно, поскольку он тут совсем не нужен.
Thank you very, very much, dimfish. Works great.
Just want to mention, that if another instance of adb is already running, kill-server from fardroid doesn't kill that instance (under my environment). So this will be great for those who need adb as a service too.
farman wrote: Just want to mention, that if another instance of adb is already running, kill-server from fardroid doesn't kill that instance (under my environment)
I implemented kill-service call only if start-service has been called so in case adb service is running - nothing happens.
zg,
А можно feature request - если выставлен в плагине флаг OPIF_USEFREESIZE, то InfoList::DisplayObject() не показывал инфу о памяти и родительском диске (то есть у плагина есть своя память и свои диски)? Или нужно новые флаги вводить типа OPIF_CUSTOMMEMINFO, OPIF_CUSTOMFSINFO?