Skip to content

Commit ad6354a

Browse files
committed
correct application directory for AppImage executables
1 parent d968d93 commit ad6354a

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Perl Executing Browser (PEB) is an HTML5 user interface for [Perl 5](https://www
2626
* [Perl Scripts API](./doc/SETTINGS.md#perl-scripts-api)
2727
* [Files and Folders Dialogs API](./doc/SETTINGS.md#files-and-folders-dialogs-api)
2828
* INTERACTIVE PERL SCRIPTS
29+
* [PEB Interactive Perl Scripts](./doc/INTERACTIVE.md#peb-interactive-perl-scripts)
2930
* [Requirements for Interactive Perl Scripts](./doc/INTERACTIVE.md#requirements-for-interactive-perl-scripts)
3031
* [Examples of Interactive Perl Scripts](./doc/INTERACTIVE.md#examples-of-interactive-perl-scripts)
3132
* APPIMAGE SUPPORT

doc/APPIMAGE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sudo docker container run --rm -it -v $(pwd):/opt --user $(id -u):$(id -g) peb-a
3535
When PEB AppImage Builder Docker Container is running, type:
3636

3737
```bash
38-
cd /opt/src && qmake -qt=qt5 && make && cd .. && export VERSION="1.1.0" && ./appimager.sh && exit
38+
cd /opt/src && qmake -qt=qt5 && make && cd .. && export VERSION="1.1.1" && ./appimager.sh && exit
3939
```
4040

4141
## AppImageHub

doc/INTERACTIVE.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Perl Executing Browser - Interactive Perl Scripts
22

3-
PEB interactive Perl scripts are able to receive user input multiple times after the script is started by waiting for new data on STDIN or in a temporary file. Many interactive scripts can be started simultaneously in one PEB instance. One script may be started in many instances, provided that each of them has a JavaScript settings object with an unique name.
3+
## PEB Interactive Perl Scripts
4+
5+
PEB interactive Perl scripts are able to receive user input multiple times after the script is started by waiting for new data on STDIN or in a temporary file. Many interactive scripts can be started simultaneously by one PEB instance. One script may be started in many instances, provided that each of them has a JavaScript settings object with an unique name.
46

57
## Requirements for Interactive Perl Scripts
68

src/main.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int main(int argc, char **argv)
3131
// ==============================
3232
// Application version:
3333
// ==============================
34-
application.setApplicationVersion("1.1.0");
34+
application.setApplicationVersion("1.1.1");
3535

3636
// ==============================
3737
// UTF-8 encoding application-wide:
@@ -60,7 +60,8 @@ int main(int argc, char **argv)
6060
// ==============================
6161
// Application directory:
6262
// ==============================
63-
QString applicationDirName = browserDirectory + "/resources/app";
63+
QString applicationDirName =
64+
executableDirectory.absolutePath().toLatin1() + "/resources/app";
6465
application.setProperty("appDir", applicationDirName);
6566

6667
// ==============================

src/resources/peb.rc

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ IDI_ICON1 ICON DISCARDABLE "icon/camel.ico"
33
# include <winver.h>
44

55
VS_VERSION_INFO VERSIONINFO
6-
FILEVERSION 1,1,0,0
7-
PRODUCTVERSION 1,1,0,0
6+
FILEVERSION 1,1,1,0
7+
PRODUCTVERSION 1,1,1,0
88
FILEFLAGSMASK 0x3fL
99
#ifdef _DEBUG
1010
FILEFLAGS VS_FF_DEBUG
@@ -21,7 +21,7 @@ VS_VERSION_INFO VERSIONINFO
2121
BEGIN
2222
VALUE "CompanyName", "PEB Dev Team\0"
2323
VALUE "FileDescription", "Perl Executing Browser\0"
24-
VALUE "FileVersion", "1.1.0.0\0"
24+
VALUE "FileVersion", "1.1.1.0\0"
2525
VALUE "LegalCopyright", "LGPL v.3\0"
2626
VALUE "OriginalFilename", "peb.exe\0"
2727
VALUE "ProductName", "Perl Executing Browser\0"

0 commit comments

Comments
 (0)