Portable aMSN

From AMSN
Jump to: navigation, search

In order to get aMSN as a portable application, in other words, installing it on a usb key for example and your profiles/configuration stays in the usb key, all you have to do is modify a few lines in the 'amsn' file of the installation of aMSN. Open the file 'amsn' with your favorite text editor (emacs, vi, notepad, etc...) and search for the lines that look like this :

 if { [OnDarwin] } {
    set HOME "[file join $env(HOME) Library/Application\ Support/amsn]"
 } elseif { [OnUnix] } {
    set HOME "[file join $env(HOME) .amsn]"
 } elseif { [OnWin] } {
   if {[info exists env(USERPROFILE)]} {
      set HOME "[file join $env(USERPROFILE) amsn]"
   } else {
    set HOME "[file join [pwd] amsn_config]"
   }
 } else {
    set HOME "[file join [pwd] amsn_config]"
 }

And replace all those lines by :

 set HOME "[file join [pwd] amsn_config]"

You can find the file 'amsn' in your installation directory of aMSN (under the 'script/' directory for Windows users).


Personal tools