[Launch]
ProgramExecutable=Celestia\celestia.exe
WorkingDirectory=%PAL:AppDir%\Celestia
DirectoryMoveOK=yes
SupportsUNC=yes
MinOS=Vista

[Activate]
Registry=true

[Environment]
Lang=%PAL:LanguageCustom%

[RegistryCleanupIfEmpty]
1=HKCU\Software\Shatters.net

[RegistryKeys]
celestia_portable=HKCU\Software\Shatters.net\Celestia

[DirectoriesMove]
CelestiaLocal=%APPDATA%\Celestia

[Language]
Base=%PortableApps.comLocaleglibc%
CheckIfExists=%PAL:AppDir%\Celestia\locale\%PAL:LanguageCustom%\LC_MESSAGES\celestia.mo
DefaultIfNotExists=en

[LanguageFile]
Type=INI
File=%PAL:DataDir%\settings\CelestiaPortableSettings.ini
Section=CelestiaPortableSettings
Key=Language

[FileWrite1]
Type=INI
File=%PAL:DataDir%\settings\CelestiaPortableSettings.ini
Section=CelestiaPortableSettings
Key=Language
Value=%PAL:LanguageCustom%