A single ".polApp" file contains the whole program. You can only have one prefix per polApp file.
It contains :
A polApp file is a c501tar archive, please read c501tar section.
Example tar ball content:
version
config
prefix.tar.bz2
installed
|==> Notepad++
|==> Notepad++ update
\==> Notepad++ another exe
icons_32x32
|==> Notepad++
\==> Notepad++ update
A c501tar file is a container for files.
I created it because I was unable to send pipe results directly to tar.
The first 4k of this file contains the archive header. The permissions are not managed by this format.
Header example:
#C501tar_HEADER_v1.0.0#The rest of the c501tar file contains the files content.
filename_1|position (in 512 bytes blocs)|file size (bytes)
file2.tar.bz2|position (in 512 bytes blocs)|file size (bytes)
filename_3|position (in 512 bytes blocs)|file size (bytes)
#END_OF_HEADER#
Charset: utf-8
Name: "version"
It only contains "0.0.1", the current version.
Charset: utf-8
Name: "config"
Structure: field=value
Example:
name=Notepad++
comment=A good text editor.
prefixSize=5.6G
prefixCompressionMethod=bz2
Field | Value |
---|---|
name | The application's name. |
comment | A small description. |
prefixSize | The humain readable prefix size (uncompressed). |
prefixCompressionMethod | The prefix compression method. Only bz2 is avaible. |
Name: prefix.tar.bz2
The wine prefix.
It contains the PlayOnLinux lunch scripts. /home/$USER/.PlayOnLinux should be replaced with %PLAYONLINUX_HOME%.
Example:
#!/bin/bash
export WINEPREFIX="%PLAYONLINUX_HOME%/wineprefix/NotepadPlusPlus"
export WINEDEBUG="-all"
cd "%PLAYONLINUX_HOME%/wineprefix/NotepadPlusPlus/drive_c/Program Files/Notepad++"
wine "notepad++.exe" $@
It contains the 32x32 icons and the full sized icons. They are named before the script name. If no icon exists for a script, the default icon will be used.
Format: png, jpg, xpm...