View Issue Details

IDProjectCategoryView StatusLast Update
0018996MMW 5Extensions frameworkpublic2022-05-25 16:38
Reporterzvezdan Assigned To 
PriorityurgentSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version5.0.3 
Target Version5.0.3Fixed in Version5.0.3 
Summary0018996: Method to get folder of installed addon needed
DescriptionMethod to get folder of installed addon needed, to be used inside the install.js/uninstall.js files.

It should return value correspondingly for regular and portable installations.

By the way, getApplicationPath is not documented in the API, 7 years after its introduction.
TagsNo tags attached.
Fixed in build2617

Relationships

related to 0019009 closedLudek localRequirejs doesn't work correctly in install.js/uninstall.js 

Activities

Ludek

2022-04-25 12:36

developer   ~0067761

OK, added window.__currentAddonPath in build 2617.

@drakinite: Please document this.

peke

2022-04-26 01:47

developer   ~0067790

Verified window.__currentAddonPath in 2617

drakinite

2022-05-25 16:38

developer   ~0068244

Documented window.__currentAddonPath in https://www.mediamonkey.com/wiki/Getting_Started_(Addons).