[Launch]
ProgramExecutable=QupZilla\QupZilla.exe
CommandLineArguments=--portable --profile=default
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[QtKeysCleanup]
1=Qt Plugin Cache 4.8.false
2=Qt Factory Cache 4.8\com.trolltech.Qt.QImageIOHandlerFactoryInterface:

[DirectoriesMove]
QupZillaLocalAppData=%LOCALAPPDATA%\QupZilla
profile=%PAL:AppDir%\QupZilla\profiles\default

[Language]
Base=%PortableApps.comLocaleName%
CheckIfExists=%PAL:AppDir%\QupZilla\locale\%PAL:LanguageCustom%.qm
DefaultIfNotExists=en_US

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

[LanguageStrings]
English=en_US
EnglishGB=en_US
Arabic=ar_SA
Bulgarian=bg_BG
Catalan=ca_ES
Czech=cs_CZ
Dutch=nl_NL
Farsi=fa_IR
Finnish=fi_FI
French=fr_FR
German=de_DE
Greek=el_GR
Hebrew=he_IL
Hungarian=hu_HU
Indonesian=id_ID
Italian=it_IT
Japanese=ja_JP
Latvian=lv_LV
Polish=pl_PL
Portuguese=pt_PT
PortugueseBR=pt_BR
Romanian=ro_RO
Russian=ru_RU
Slovak=sk_SK
Serbian=sr_RS
SerbianLatin=sr_RS@latin
SimpChinese=zh_CN
Spanish=es_ES
SpanishInternational=es_MX
Swedish=sv_SE
TradChinese=zh_TW
Turkish=tr_TR
Ukrainian=uk_UA

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\profile\settings.ini
Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%/
Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%/

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\profile\settings.ini
Find=file:///%PAL:LastPortableAppsBaseDir:ForwardSlash%/
Replace=file:///%PAL:PortableAppsBaseDir:ForwardSlash%/

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\profile\settings.ini
Find=file:///%PAL:LastDrive%/
Replace=file:///%PAL:Drive%/

[FileWrite4]
Type=Replace
File=%PAL:DataDir%\profile\settings.ini
Find==%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%/
Replace==%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%/

[FileWrite5]
Type=Replace
File=%PAL:DataDir%\profile\settings.ini
Find==%PAL:LastPortableAppsBaseDir:ForwardSlash%/
Replace==%PAL:PortableAppsBaseDir:ForwardSlash%/

[FileWrite6]
Type=Replace
File=%PAL:DataDir%\profile\settings.ini
Find==%PAL:LastDrive%/
Replace==%PAL:Drive%/

[FileWrite7]
Type=Replace
File=%PAL:DataDir%\profile\session.dat
Find=file:///%PAL:LastDrive%/
Replace=file:///%PAL:Drive%/

[FileWrite8]
Type=INI
File=%PAL:DataDir%\profile\settings.ini
Section=Language
Key=language
Value=%PAL:LanguageCustom%

[FileWrite9]
Type=INI
File=%PAL:DataDir%\profile\settings.ini
Section=Web-Browser-Settings
Key=CachePath
Value=%PAL:AppDir:ForwardSlash%/QupZilla/profiles/default/networkcache/
