[Launch]
ProgramExecutable=LazPaint32\lazpaint.exe
ProgramExecutable64=LazPaint\lazpaint.exe
DirectoryMoveOK=yes
SupportsUNC=yes
CleanTemp=false
SingleAppInstance=false
WaitForProgram=false

[Language]
Base=%PortableApps.comLocaleCode2%
CheckIfExists=%PAL:AppDir%\LazPaint\i18n\lazpaint.%PAL:LanguageCustom%.po
DefaultIfNotExists=en

[LanguageFile]
Type=INI
File=%PAL:DataDir%\Config\LazPaint.cfg
Section=General
Key=Language

[FileWrite1]
Type=INI
File=%PAL:DataDir%\Config\LazPaint.cfg
Section=General
Key=Language
Value=%PAL:LanguageCustom%

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\Config\LazPaint.cfg
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\Config\LazPaint.cfg
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite4]
Type=Replace
File=%PAL:DataDir%\Config\LazPaint.cfg
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\
