Difference between revisions of "Lastversion file"

From AMule Project FAQ
Jump to: navigation, search
 
Line 35: Line 35:
 
''1.2.1''<br>
 
''1.2.1''<br>
 
''1.1.1''
 
''1.1.1''
 +
 +
 +
[[Category:Program Files]]

Latest revision as of 18:51, 11 January 2011

File

Name: lastversion

Location: ~/.aMule/

Description

This file contains a list of the latest aMule versions that have been launched.

Format

LastVersionLaunched
aMuleVersionLaunchedBeforeTheLastVersionLaunched
aMuleVersionLaunchedBeforeTheVersionLaunchedBeforeTheLastVersionLaunched

Simple enough, just listing one version after the other in different lines. Some things to have in mind anyway:

  • The last version listed must also be followed with a newline character (/).
  • One version should never appear twice.
  • There is no need for the versions to be listed in order. Right the opposite, they are inteded to be listed in the order that they were launched, beggining with the latest launched version (first line) and ending with the oldest launched version recorded (last line).
  • Only the last 10 versions launched are stored. When 10 versions are already listed and another version is launched, the last line stored is deleted and the new version is added to the top of the file.

Example

The following is the contents of a valid lastversion file:

CVS
1.2.5
1.2.6
2.0.0
1.1.0
1.2.0
1.2.2
1.0.1
1.2.1
1.1.1