You are here

FileWriteN file without extension

2 posts / 0 new
Last post
P@S@f
Offline
Last seen: 7 years 4 months ago
Joined: 2014-10-31 15:46
FileWriteN file without extension

Does FileWriteN function properly holds files without extension? Or maybe I'm missing something else?

Now I am trying to get working language handling with no success yet.

The contains of launcher.ini is:
[Launch]
AppName=INSTEAD
ProgramExecutable=INSTEAD\sdl-instead.exe
[Language]
Base=%PortableApps.comLocaleCode2%
CheckIfExists=%PAL:FullAppDir%\lang\%PAL:LanguageCustom%.ini
DefaultIfNotExists=en
[LanguageFile]
Type=ConfigRead
File=%PAL:FullAppDir%\appdata\insteadrc
Entry='lang = '
[FileWrite1]
Type=ConfigWrite
File=%PAL:FullAppDir%\appdata\insteadrc
Entry='lang = '
Value=%PAL:LanguageCustom%

The insteadrc contents:
lang = en

P@S@f
Offline
Last seen: 7 years 4 months ago
Joined: 2014-10-31 15:46
Ok, checked it, it holds

Ok, checked it, it holds right, but I don't understand why if I selected some language during installation but got this lines
Language/Init (line 185.12.6.27): PortableApps.com Platform language variables are missing.
Language/Init (line 185.12.8.96.27): Setting environment variable PAL:_IgnoreLanguage to true (internal representations: s, s)

Log in or register to post comments