aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3 4 5

Author Topic: aMule binaries for macOS  (Read 148835 times)

pepepinto

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule binaries for macOS
« Reply #15 on: February 10, 2021, 02:06:17 PM »

The binary is for aMuleGUI and it includes amuled (amule daemon).

/Applications/aMuleGUI.app/Contents/MacOS/amuled

I recommend to take a look on the documentation on regards amuled usage. You can start by:

https://www.systutorials.com/docs/linux/man/1-amuled/

Just take into consideration that the binaries are also "sandboxed", and by default, confined visibility to (search for Apple sandbox mechanism for details):

$HOME/Library/Containers/org.amule.aMuleGUI/Data

Sorry, but I just compiled the binaries. I am not the program developer.

Thanks for your help, PepitoGrilloX. I took a look at the link you posted. To be honest, I know nothing about programming and I don’t understand what these commands do. I know how to use commands in terminal, but not these ones. The thing is that I thought this version you compiled had the normal version which is just as simple as opening it and start using it.

I know that I can use the one which isn’t adapted to M1 processors, but I’m trying to use just native apps. Don’t you have the version which isn’t the aMuleGUI version?

Thanks for your support and patience.

Pepepinto
Logged

cepots

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule binaries for macOS
« Reply #16 on: February 11, 2021, 01:38:31 PM »

Updated binaries for Big Sur upgraded to the recent aMule 2.3.3 version just released!

These binaries have been code-signed, and notarized by Apple, and support Intel and M1 architectures natively. Take into consideration that to achieve that, the binaries have to follow also the tight sandboxing rules in place.

macOS 11 (Big Sur) -- wxWidgets 3.1.4, with support for Dark Mode! UNIVERSAL (x86_64 / ARM64):
aMuleGUI / amuled 2.3.3: https://www.dropbox.com/s/79wawwtui8hvka7/aMuleGUI-amuled-2.3.3-wxWidgets-3.1.4-macos11-universal.dmg?dl=0

Thank you, maybe there is something wrong with my operation, the software can't be used?
I am from China and this text is generated by a translator. Hopefully that makes sense to you
macOS 11 + m1
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #17 on: February 13, 2021, 08:52:39 AM »

Try to copy amuled outside de app container:


cp /Applications/aMuleGUI.app/Contents/MacOS/amuled <OTHER_PATH>
xattr -cr <OTHER_PATH>/amuled
codesign -fs - <OTHER_PATH>/amuled


You will need XCode for the commands (I guess), but, after that:

$ <OTHER_PATH>/amuled
 2021-02-13 08:49:53: Initialising aMuleD 2.3.3 compiled with wxBase(OSX Cocoa) v3.1.4
!2021-02-13 08:49:53: WARNING: The check for other instances is currently disabled in amuled.
!2021-02-13 08:49:53: Please make sure that no other instance of aMule is running or your files might be corrupted.
!2021-02-13 08:49:53: Attempting to use default directory at location
!2021-02-13 08:49:53: '/Users/<USER>/Library/Application Support/aMule/Temp'.
!2021-02-13 08:49:53: Attempting to use default directory at location
!2021-02-13 08:49:53: '/Users/<USER>/Library/Application Support/aMule/Incoming'.
 2021-02-13 08:49:53: ListenSocket: Ok.
 2021-02-13 08:49:53: Loading temp files from /Users/<USER>/Library/Application Support/aMule/Temp.
 2021-02-13 08:49:53: All PartFiles Loaded.
 2021-02-13 08:50:03: amuled: OnInit - starting timer
!2021-02-13 08:50:03: ERROR: aMule daemon cannot be used when external connections are disabled. To enable External Connections, use either a normal aMule, start amuled with the option --ec-config or set the key "AcceptExternalConnections" to 1 in the file ~/.aMule/amule.conf
 2021-02-13 08:50:04: Now, exiting main app...
 2021-02-13 08:50:04: aMule OnExit: Terminating core.
 2021-02-13 08:50:04: aMule shutdown completed.


 And then, you will need to setup the aMule config files as required by amuled.
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #18 on: February 13, 2021, 09:19:17 AM »

I just compiled, signed & notarized an aMule (regular) M1 version (ed2kHelpScript it has been removed to get GateKeeper to accept the binary, thanks Apple!)

macOS 11 (Big Sur) -- wxWidgets 3.0.5, M1 (ARM64):
aMule 2.3.3: https://www.dropbox.com/s/l0l3j35glwr8ytk/aMule-2.3.3-wxWidgets-3.0.5-macOS_11_arm64.dmg?dl=0
Logged

pepepinto

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule binaries for macOS
« Reply #19 on: February 14, 2021, 02:18:18 PM »

I just compiled, signed & notarized an aMule (regular) M1 version (ed2kHelpScript it has been removed to get GateKeeper to accept the binary, thanks Apple!)

macOS 11 (Big Sur) -- wxWidgets 3.0.5, M1 (ARM64):
aMule 2.3.3: https://www.dropbox.com/s/l0l3j35glwr8ytk/aMule-2.3.3-wxWidgets-3.0.5-macOS_11_arm64.dmg?dl=0

Thanks PepitoGrilloX for your help! It seems to work right now and there is a new interface which is really beautiful :)

The only problem that I have now is that I can't change Amule downloads directory, as it shows the error shown before. Do you know how can I fix this?

Thanks a lot for your hard work :)
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #20 on: February 14, 2021, 03:16:49 PM »

As I said, to comply with Apple rules, the binaries needs to be "sandboxed", that means that they cannot freely access arbitrary paths on the system (unless specifically managed by the program).

As far as aMule do not have those restrictions in mind (Apple rules new rules requirements are not considered by the aMule program), it is recommended to use paths inside the sandbox (container) of the app:

$HOME/Library/Containers/org.amule.aMule/Data

Maybe soft "links" inside the container to the real folders can do the trick (but I never personally tested).
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #21 on: February 14, 2021, 03:20:54 PM »

Btw, if you look at the error message, it is exactly what it is suggesting the aMule program (pay attention to the suggested default location) ... so pressing OK is safe ...
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #22 on: February 14, 2021, 03:30:41 PM »

I see that inside the "sandbox" there are already links to the user common folders:

[/Users/<USER>/Library/Containers/org.amule.aMule/Data]
% ls -la
total 0
drwx------  12 jgd  staff  384  8 feb 12:36 .
drwx------@  4 jgd  staff  128 13 feb 09:14 ..
lrwxr-xr-x   1 jgd  staff   31  8 feb 12:36 .CFUserTextEncoding -> ../../../../.CFUserTextEncoding
lrwxr-xr-x   1 jgd  staff   19  8 feb 12:36 Desktop -> ../../../../Desktop
drwx------   3 jgd  staff   96  8 feb 12:36 Documents
lrwxr-xr-x   1 jgd  staff   21  8 feb 12:36 Downloads -> ../../../../Downloads
drwx------  30 jgd  staff  960  8 feb 12:36 Library
lrwxr-xr-x   1 jgd  staff   18  8 feb 12:36 Movies -> ../../../../Movies
lrwxr-xr-x   1 jgd  staff   17  8 feb 12:36 Music -> ../../../../Music
lrwxr-xr-x   1 jgd  staff   20  8 feb 12:36 Pictures -> ../../../../Pictures
drwx------   2 jgd  staff   64  8 feb 12:36 SystemData
drwx------   2 jgd  staff   64  8 feb 12:36 tmp


And so, I guess that using this folder for the downloads is the same, and it is not forbidden from the sandbox point of view:

/Users/<USER>/Library/Containers/org.amule.aMule/Data/Downloads
« Last Edit: February 14, 2021, 04:09:30 PM by PepitoGrilloOSX »
Logged

pepepinto

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule binaries for macOS
« Reply #23 on: February 14, 2021, 05:05:19 PM »

I see that inside the "sandbox" there are already links to the user common folders:

[/Users/<USER>/Library/Containers/org.amule.aMule/Data]
% ls -la
total 0
drwx------  12 jgd  staff  384  8 feb 12:36 .
drwx------@  4 jgd  staff  128 13 feb 09:14 ..
lrwxr-xr-x   1 jgd  staff   31  8 feb 12:36 .CFUserTextEncoding -> ../../../../.CFUserTextEncoding
lrwxr-xr-x   1 jgd  staff   19  8 feb 12:36 Desktop -> ../../../../Desktop
drwx------   3 jgd  staff   96  8 feb 12:36 Documents
lrwxr-xr-x   1 jgd  staff   21  8 feb 12:36 Downloads -> ../../../../Downloads
drwx------  30 jgd  staff  960  8 feb 12:36 Library
lrwxr-xr-x   1 jgd  staff   18  8 feb 12:36 Movies -> ../../../../Movies
lrwxr-xr-x   1 jgd  staff   17  8 feb 12:36 Music -> ../../../../Music
lrwxr-xr-x   1 jgd  staff   20  8 feb 12:36 Pictures -> ../../../../Pictures
drwx------   2 jgd  staff   64  8 feb 12:36 SystemData
drwx------   2 jgd  staff   64  8 feb 12:36 tmp


And so, I guess that using this folder for the downloads is the same, and it is not forbidden from the sandbox point of view:

/Users/<USER>/Library/Containers/org.amule.aMule/Data/Downloads

So what do you suggest then? As you said, downloads folder seems to be included.

Should I select other location like documents folder or something like that?

Thanks for all your support 😉
« Last Edit: February 14, 2021, 05:09:20 PM by pepepinto »
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #24 on: February 14, 2021, 05:49:39 PM »

Another option is to do it on reverse, and create a link from your standard "Downloads" folder. This will work for sure (from the Terminal command line):

$ ln -s "/Users/<USER>/Library/Containers/org.amule.aMule/Data/Documents/aMule Downloads" "/Users/<USER>/Downloads/aMule"

As far as I see this is the default location when you start from scratch. You will see inside the standard "Downloads" folder a direct alias to the aMule downloads folder inside the sandbox (which is safer).
« Last Edit: February 14, 2021, 07:01:20 PM by PepitoGrilloOSX »
Logged

pepepinto

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule binaries for macOS
« Reply #25 on: February 15, 2021, 02:29:51 AM »

Another option is to do it on reverse, and create a link from your standard "Downloads" folder. This will work for sure (from the Terminal command line):

$ ln -s "/Users/<USER>/Library/Containers/org.amule.aMule/Data/Documents/aMule Downloads" "/Users/<USER>/Downloads/aMule"

As far as I see this is the default location when you start from scratch. You will see inside the standard "Downloads" folder a direct alias to the aMule downloads folder inside the sandbox (which is safer).
Done, PepitoGrilloX! I’ve just created an alias from “Incoming” folder on my downloads folder so I can access all my files easily. It’s such a great idea. By the way, it’s such a pity that aMule isn’t ready for the new Apple changes.

I have another more question: Are you Spanish? 😁

Thanks for your support and patience 😊
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #26 on: February 15, 2021, 09:42:08 AM »

I'm glad that worked for you.

N.B: Yes, I am spanish  ;)
Logged

cepots

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule binaries for macOS
« Reply #27 on: February 17, 2021, 12:29:26 AM »

I just compiled, signed & notarized an aMule (regular) M1 version (ed2kHelpScript it has been removed to get GateKeeper to accept the binary, thanks Apple!)

macOS 11 (Big Sur) -- wxWidgets 3.0.5, M1 (ARM64):
aMule 2.3.3: https://www.dropbox.com/s/l0l3j35glwr8ytk/aMule-2.3.3-wxWidgets-3.0.5-macOS_11_arm64.dmg?dl=0

 ;D Thank you. The software is working now。But the UPNP button is gray
« Last Edit: February 17, 2021, 12:59:13 AM by cepots »
Logged

PepitoGrilloOSX

  • Official OSX Packager
  • Global Moderator
  • Approved Newbie
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 47
Re: aMule binaries for macOS
« Reply #28 on: February 17, 2021, 10:07:33 PM »

Yes, UPNP is disabled for security concerns.
Logged

i0ntempest

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule binaries for macOS
« Reply #29 on: February 18, 2021, 05:07:38 AM »

I just compiled, signed & notarized an aMule (regular) M1 version (ed2kHelpScript it has been removed to get GateKeeper to accept the binary, thanks Apple!)

macOS 11 (Big Sur) -- wxWidgets 3.0.5, M1 (ARM64):
aMule 2.3.3: https://www.dropbox.com/s/l0l3j35glwr8ytk/aMule-2.3.3-wxWidgets-3.0.5-macOS_11_arm64.dmg?dl=0
Thank you for releasing the binaries, but I'm on an Intel Mac so is there a universal or x86_64 version of the monolithic aMule app?
Logged
Pages: 1 [2] 3 4 5