1Israazul / jtorchat

Automatically exported from code.google.com/p/jtorchat
0 stars 0 forks source link

support for mac OS X #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am not sure how this can be done, but maybe we can use the same approach as 
we did for linux, and enable it via "os.indexOf("mac")" in this code

{{{
                } else if (os.indexOf("nix") >= 0 || os.indexOf("nux") >= 0) {
                    Logger.log(Logger.NOTICE, "TorLoader",
                            "Start portable tor in *nix or linux");
                    pb = new ProcessBuilder(new String[] { "tor", "-f",
                            Config.BASE_DIR + "torrc.txt" 
                    });
                }
}}}

Original issue reported on code.google.com by jtorc...@gmail.com on 7 Feb 2012 at 2:02

GoogleCodeExporter commented 8 years ago
might look like this

{{{
else if (os.indexOf("mac") >= 0) {
                    Logger.log(Logger.NOTICE, "TorLoader",
                            "Start portable tor in *nix or linux");
                    pb = new ProcessBuilder(new String[] { "tor", "-f",
                            Config.BASE_DIR + "torrc.txt" 
                    });
                }
}}}

Original comment by jtorc...@gmail.com on 7 Feb 2012 at 2:33

GoogleCodeExporter commented 8 years ago
I can try to create a version for Mac but i need much time to find a person for 
test.

Original comment by dau...@googlemail.com on 9 Feb 2012 at 6:07

GoogleCodeExporter commented 8 years ago
Okay, well, hopefully some in the future will be willing to help us test it.

Original comment by jtorc...@gmail.com on 9 Feb 2012 at 11:29

GoogleCodeExporter commented 8 years ago
I think I have a bit of an idea as to what is needed to make it work.

For the tor.app, you need to set the file permission for it to 'executable', as 
if it was a linux program.

This is just a guess however.

Original comment by jtorc...@gmail.com on 1 Mar 2012 at 11:48

GoogleCodeExporter commented 8 years ago
hmmm 
http://stackoverflow.com/questions/4361180/how-to-run-a-mac-application-from-jav
a

this seems to provide some idea what to do. Does it make sense to you?

Original comment by jtorc...@gmail.com on 1 Mar 2012 at 12:07

GoogleCodeExporter commented 8 years ago
This looks a lot more promising

http://answers.yahoo.com/question/index?qid=20070505194709AAqUnx1

Apparently Macs are very similar to Linux, as they are both based upon UNIX.

Essentially, mac can also support bash scripting.

Original comment by jtorc...@gmail.com on 1 Mar 2012 at 12:30

GoogleCodeExporter commented 8 years ago
A friend of mine uses OSX 10 and he cant use python tc.

Original comment by rikimaru...@gmail.com on 20 Mar 2012 at 9:11

GoogleCodeExporter commented 8 years ago
Can anybody with a mac write me in tor and i send him/her a test version with 
mac support? --> and when it not work the next...

Original comment by dau...@googlemail.com on 28 Mar 2012 at 8:36

GoogleCodeExporter commented 8 years ago

Original comment by dau...@googlemail.com on 28 Mar 2012 at 8:37