| How to make a cross platform install on a usb disk or memory card |
|
|
| Monday, 14 April 2008 | |
|
It is pretty easy, and can be very neat. There is portable firefox, so why not portable tcpfile?
This is currently not officially supported, so it is not 100% convenient. But I guess we will look at that in the coming releases because I am interested in that myself :) First you install the program, extract the zip to a usb disk. I would recommend creating starters for both windows and linux, the windows one is already there but the linux one is missing. So lets write a bash script: <Script> #!/bin/bash java -jar tcpfile.jar . </Script> Now this will start tcpfile with java and tell it to use the current directory to load/save the config files. If you miss the dot at the end, all configuration files will be searched in ~/.tcpfile. So now go through the wizard, choose a wise port and dont choose the mysql Setting (Unless you also have a cross platfrom portable mysql server on the disk, then maybe you can). Now when it has done loading, select a skin which will work on both Platforms. Either Java or one from the Skinpack (The System skin still breaks under linux). Basically you have now everything you need to chat and transfer files (in one go) to another person. It will log to the same place and everything. For accepting file transfers, you need to go into the Settings tab on the User Entry and enter as default save directory a simple "." (without ""). Now after pressing save, it will rewrite the default save directory to its current location. So each time you change the computer you have to redo this again to set it to the current directory. With this you will even be able to receive files. Creating shares is even more tricky, even if they are located right on the disk. You will have to go into the database debug mode and rewrite the pathes in the shares table to be relative. I have not tried this out yet, but it should work. So with coming versions we will maybe increase support for this usage scenario. It should not be a problem to do this, so stay tuned! |
| < Prev | Next > |
|---|



