objective c - OSX How to display only one icon in dockbar for same application launched from 2 different locations -


i have application findersync extension support.

i want achieve silent update application. approach came @ moment, installing new version of app ~/library/application support/../..., , whenever clicks app /applications, redirect user application support one.

that means end 2 versions same app. 1 in /applications , other 1 in application support.

i have issues after launching application both above locations.

  1. if user first starts app /applications, selects keep in dock, closes app, updates app copying new app app support , after starts app app support, end 2 dock icons.
  2. whenever start application, findersync extension automatically installed os. can viewed in system preferences->extensions. once user quits app , deletes bundle, os automatically deletes extension, no longer available in extensions pref pane. if opened application both above locations, deleting app /applications not remove entirely findersync extension extensions pref pane. after remove second application(the 1 app support), findersync extension removed extensions pref pane.

are there ways overcome above issues?

please note have question posted on similar topic, while attempting rid of above behavior using technique, gave using approach while ago: osx 2 dock icons same application

thanks


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -