I'd like to have AMSN profile in the same place for both Windows XP and Ubuntu, like it's possible with mozilla apps. I already have the FAT32 partition for those.
On Windows, I couldn't find the conf file to change the profile's location.
I'd like to have AMSN profile in the same place for both Windows XP and Ubuntu, like it's possible with mozilla apps. I already have the FAT32 partition for those.
On Windows, I couldn't find the conf file to change the profile's location.
yep, that should work fine.
/home/you/.amsn or /usr/share/amsn on linux
/program files/amsn on windows
I would also like to know how to do that.
Acer 5101 - AMD Turion64 MK36 2.0GHz - ATI Radeon Xpress 1100 128MB - 1.36GB DDR2 - 60 GB HDD - Atheros AR5BMB5 802.11b/g wireless LAN
Xubuntu 11.10 64-bit - kernel 3.0.0-12-generic - Xfce 4.8 - Firefox 7.0.1
I have discovered how to do it!
Basically, open the file "C:\Program Files\aMSN\scripts\amsn" and copy what has been done below:
Replace "Z:" with the name of the drive containing your ubuntu msn profiles, and replace "daniel" with your own username.
At this stage, if you try and run amsn in windows, it wont log on due to missing tls.################################################## ##########
### Setup other important directory paths
### depending on the platform
################################################## ##########
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 Z: daniel .amsn]"
} else {
set HOME "[file join [pwd] amsn_config]"
}
} else {
set HOME "[file join [pwd] amsn_config]"
}
set HOME2 $HOME
to overcome this problem, in the same file, change it to:
Hope this helps!################################################## ##########
### And setup where to find optional packages
################################################## ##########
proc lprepend {varName args} {
upvar $varName var
set var [eval [list linsert $var 0] $args]
}
lprepend auto_path [file join C: "Program Files" aMSN lib]
#Specific folder to check for package on platforms
if { [OnDarwin] } {
lprepend auto_path [file join utils macosx]
} elseif { [OnWin] } {
lprepend auto_path [file join utils windows]
} elseif { [OnLinux] } {
lprepend auto_path [file join utils linux]
} elseif { [OnBSD] } {
lprepend auto_path [file join utils linux]
}
lprepend auto_path [file join utils]
set libtls ""
catch { source [file join $HOME tlsconfig.tcl] }
if { $libtls != "" && [lsearch $auto_path $libtls] == -1 } {
lprepend auto_path $libtls
}
Last edited by Kwunman; January 27th, 2008 at 04:38 PM. Reason: Answer found!
Bookmarks