[Launch]
ProgramExecutable=XYplorer\XYplorer.exe
WorkingDirectory="%PAL:AppDir%\XYplorer"
SinglePortableAppInstance=true
DirectoryMoveOK=yes 
SupportsUNC=yes

[DirectoriesMove]
Data=%PAL:AppDir%\XYplorer\Data
AppData=%APPDATA%\XYplorer

[FilesMove]
Startup.ini=%APPDATA%\XYplorer

[Language]
Base=%PortableApps.comLocaleName%
Default=English
CheckIfExists=%PAL:AppDir%\XYplorer\Lang\%PAL:LanguageCustom%.lng
DefaultIfNotExists=English	

[LanguageStrings]
ENGLISH=English
SIMPCHINESE=ChineseSimplified
TRADCHINESE=ChineseTraditional
CROATIAN=Croatian
CZECH=Czech
DANISH=Danish
DUTCH=Dutch
FRENCH=French
GERMAN=German
HUNGARIAN=Hungarian
INDONESIAN=Indonesian
ITALIAN=Italian
JAPANESE=Japanese
KOREAN=Korean
POLISH=Polish
PORTUGUESEBR=PortugueseBrazil
RUSSIAN=Russian
SPANISH=Spanish
TURKISH=Turkish
VIETNAMESE=Vietnamese

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

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

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\settings\XYplorer.ini
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\settings\XYplorer.ini
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite4]
Type=Replace
File=%PAL:DataDir%\settings\XYplorer.ini
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\


