312 |
312 |
313 @return directory name of the config dir (string) |
313 @return directory name of the config dir (string) |
314 """ |
314 """ |
315 if sys.platform.startswith("win"): |
315 if sys.platform.startswith("win"): |
316 cdn = "_eric6" |
316 cdn = "_eric6" |
317 return os.path.join(os.path.expanduser("~"), cdn) |
|
318 else: |
317 else: |
319 cdn = ".eric6" |
318 cdn = ".eric6" |
320 return os.path.join( |
319 return os.path.join(os.path.expanduser("~"), cdn) |
321 os.path.expanduser("~{0}".format(os.getlogin())), cdn) |
|
322 |
320 |
323 |
321 |
324 def main(argv): |
322 def main(argv): |
325 """ |
323 """ |
326 The main function of the script. |
324 The main function of the script. |