aMule Bug Tracker - aMule | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001803 | aMule | Utilities | public | 2019-10-14 11:12 | 2020-05-18 09:36 |
Reporter | noblem | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OSX | OS Version | Catalina | |
Product Version | 2.3.2 | ||||
Target Version | 2.3.3 | Fixed in Version | 2.3.3 | ||
Fixed in Revision | 11028 | ||||
Operating System | OSX Catalina | ||||
Summary | 0001803: ed2kHelperScript.app needs to be updated for OSX Catalina | ||||
Description | ed2kHelperScript.app no longer functions in OSX Catalina due to apple dropping support for 32bit applications. ed2kHelperScript.app is essentially compiled apple script, however the binary that's currently in the Git repo only has PPC and 32bit support Additionally, even if the original apple script is exported as a 64bit binary, it silently fails, which appears to be down to the use of tell application "System Events" to determine the path to ed2k. I suspect this is down to security changes in Catalina, and is easily worked around | ||||
Steps To Reproduce | Any attempt to download ed2k:// URLs will fail as the helper application (ed2kHelperScript.app) isn't registered | ||||
Additional Information | ed2kHelperScript.app is basically just compiled AppleScript, the actual source code can be found in the below location and edited via the apple script editor, which can also be used to export a new .app file with the required 64 bit support aMule.app/Contents/MacOS/ed2kHelperScript.app/Contents/Resources/Scripts/main.scpt The below code, if exported from the script editor, doesn't require any special privilidges and restores functionality of the helper script (you may need to double click the new .app to register it) on open location theURL --error reporting shouldReport set thePath to POSIX path of ((path to me as text) & "::") set ed2kProgram to thePath & "ed2k" set theCommand to quoted form of ed2kProgram & " " & quoted form of theURL do shell script theCommand return end open location If exporting the above via the script editor, then the Info.plist in the new .app directory should be replaced with that from the original. Alternatively, the attached applet can be used to replace the original (You can use osadecompile to verify the code), although as it's was exported on Catalina, it only contains 64bit code so it may be better to export on Mojave, which I believe would produce a universal PPC/32bit/64bit binary | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | applet (8,648) 2019-10-14 11:12 https://bugs.amule.org/file_download.php?file_id=380&type=bug applet.universal (24,996) 2019-10-15 13:10 https://bugs.amule.org/file_download.php?file_id=381&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-10-14 11:12 | noblem | New Issue | |||
2019-10-14 11:12 | noblem | File Added: applet | |||
2019-10-15 13:10 | noblem | File Added: applet.universal | |||
2019-10-15 13:10 | noblem | Note Added: 0003735 | |||
2019-10-16 18:41 | noblem | Note Added: 0003736 | |||
2019-12-02 15:35 | GonoszTopi | Note Added: 0003745 | |||
2019-12-02 15:35 | GonoszTopi | Status | new => feedback | ||
2019-12-02 15:35 | GonoszTopi | Resolution | open => fixed | ||
2019-12-02 15:35 | GonoszTopi | Target Version | => 2.3.3 | ||
2020-05-18 09:34 | GonoszTopi | Status | feedback => resolved | ||
2020-05-18 09:34 | GonoszTopi | Assigned To | => GonoszTopi | ||
2020-05-18 09:36 | GonoszTopi | Fixed in Revision | => 11028 | ||
2020-05-18 09:36 | GonoszTopi | Assigned To | GonoszTopi => | ||
2020-05-18 09:36 | GonoszTopi | Fixed in Version | => 2.3.3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|