You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/PACKAGING.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,55 +10,55 @@ Perl Distribution Compactor depends on [Module::ScanDeps](https://metacpan.org/p
10
10
11
11
## AppImage Support
12
12
13
-
PEB or any PEB-based application can be easily packed as a 64-bit single-file Linux [AppImage](https://appimage.org/) executable by the [AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script, which has two modes of operation:
13
+
PEB or any PEB-based application can be easily packed as a 64-bit single-file Linux [AppImage](https://appimage.org/) executable by the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script, which has two modes of operation:
14
14
15
15
* packing a Perl application together with a PEB executable, its Qt libraries and a relocatable Perl distribution:
16
16
17
17
```bash
18
-
appimage-maker.sh --include-resources
18
+
./appimage-maker.sh --include-resources
19
19
```
20
20
21
-
In this case the [AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) invokes the [Perl Distribution Compactor](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/compactor.pl), which finds all dependencies of all Perl scripts in the ``{PEB_executable_directory}/resources/app`` directory and copies only the necessary Perl modules.
21
+
In this case the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) invokes the [Perl Distribution Compactor](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/compactor.pl), which finds all dependencies of all Perl scripts in the ``{PEB_executable_directory}/resources/app`` directory and copies only the necessary Perl modules.
22
22
23
23
* packing only a PEB executable with its Qt libraries:
24
24
25
25
```bash
26
-
appimage-maker.sh --no-resources
26
+
./appimage-maker.sh --no-resources
27
27
```
28
28
29
29
In this case a PEB executable from an AppImage will try to find its application files and folders in the directory of the AppImage.
30
30
31
-
In both modes of operation, the [AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) uses the [linuxdeployqt](https://github.com/probonopd/linuxdeployqt/releases/) tool to detect all Qt dependencies of PEB and build the final image.
31
+
In both modes of operation, the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) uses the [linuxdeployqt](https://github.com/probonopd/linuxdeployqt/releases/) tool to detect all Qt dependencies of PEB and build the final image.
32
32
33
-
[AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script must be started from the ``{PEB_executable_directory}/sdk`` directory.
33
+
The [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script must be started from the ``{PEB_executable_directory}/sdk`` directory.
34
34
35
-
An easy building environment for PEB AppImage executables is the provided [AppImage Builder Docker container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile).
36
-
To build it type the following command from the ``{PEB_executable_directory}/sdk``directory:
35
+
An easy building environment for PEB AppImage executables is the provided [PEB AppImage Builder Docker Container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile).
36
+
To build it, type the following command in the PEB project root directory (the directory of the README.md):
37
37
38
38
```bash
39
-
sudo docker build -t appimage-builder .
39
+
sudo docker build -t peb-appimage-builder .
40
40
```
41
41
42
-
To start the AppImage Builder container type the following command from the ``{PEB_executable_directory}/sdk``directory:
42
+
To start the PEB AppImage Builder Docker Container, type the following command in the PEB project root directory (the directory of the README.md):
0 commit comments