Skip to content

Commit 3a191da

Browse files
committed
better AppImage support
1 parent a545148 commit 3a191da

File tree

8 files changed

+64
-2
lines changed

8 files changed

+64
-2
lines changed

CREDITS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,7 @@ https://github.com/github/linguist#overrides
247247

248248
## Travis CI
249249
http://stackoverflow.com/questions/25737062/travis-ci-for-a-qt5-project
250+
251+
## AppImage
252+
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html
253+
https://specifications.freedesktop.org/desktop-entry-spec/1.1/apa.html

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Perl Executing Browser (PEB) is an HTML5 user interface for [Perl 5](https://www
1010

1111
Inspired by [Electron](http://electron.atom.io/) and [NW.js](http://nwjs.io/), PEB is another reuse of web technologies in desktop applications with Perl doing the heavy lifting. In contrast to Electron and NW.js, PEB does not depend on [Node.js](https://nodejs.org/en/) and always runs JavaScript in a sandbox.
1212

13+
## Screenshots
14+
15+
![PEB Main Window](https://github.com/ddmitov/perl-executing-browser/raw/master/screenshots/peb-main.png "PEB Main Window")
16+
17+
![Reading Local Files](https://github.com/ddmitov/perl-executing-browser/raw/master/screenshots/peb-local-files.png "Reading Local Files")
18+
1319
## Contents
1420
* [Quick Start](#quick-start)
1521
* [Design Objectives](#design-objectives)

screenshots/peb-local-files.png

150 KB
Loading

screenshots/peb-main.png

110 KB
Loading

sdk/appimage-maker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ fi
2020

2121
cp ./sdk/peb.desktop ./peb.app/peb.desktop
2222
cp ./resources/app.png ./peb.app/peb.png
23+
mkdir -p ./peb.app/usr/share
24+
cp ./sdk/metainfo ./peb.app/usr/share/metainfo
2325

2426
cp -rf ./resources ./peb.app/resources
2527

sdk/metainfo

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
​<component type="desktop-application">
3+
<metadata_license>FSFAP</metadata_license>
4+
​ <project_license>LGPL-3.0+</project_license>
5+
​ <name>Perl Executing Browser</name>
6+
​ <summary>HTML interface for Perl 5 desktop applications</summary>
7+
8+
​ <description>
9+
​ <p>
10+
​ Perl Executing Browser (PEB) is an HTML5 user interface for Perl 5 desktop applications.
11+
By default it runs local Perl 5 scripts as child processes with no server or execution timeout and is
12+
implemented as a C++ executable based on the Qt 5 libraries.
13+
​ </p>
14+
​ <p>
15+
Inspired by Electron and NW.js, PEB is another reuse of web technologies in desktop applications with
16+
Perl doing the heavy lifting. In contrast to Electron and NW.js, PEB does not depend on Node.js and
17+
always runs JavaScript in a sandbox.
18+
​ </p>
19+
​ </description>
20+
21+
​ <screenshots>
22+
​ <screenshot type="default">
23+
​ <caption>PEB Main Window</caption>
24+
​ <image>https://github.com/ddmitov/perl-executing-browser/raw/master/screenshots/peb-main.png</image>
25+
​ </screenshot>
26+
27+
​ <screenshot>
28+
<caption>Reading Local Files</caption>
29+
​ <image>https://github.com/ddmitov/perl-executing-browser/raw/master/screenshots/peb-local-files.png</image>
30+
​ </screenshot>
31+
​ </screenshots>
32+
33+
​ <url type="homepage">https://github.com/ddmitov/perl-executing-browser</url>
34+
35+
​ <provides>
36+
​ <binary>peb</binary>
37+
​ </provides>
38+
39+
​ <releases>
40+
​ <release version="0.7.1" date="2018-06-16">
41+
​ <description>
42+
​ <p>better AppImage support</p>
43+
​ </description>
44+
​ </release>
45+
​ </releases>
46+
​</component>

sdk/peb.desktop

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
[Desktop Entry]
2+
Version=1.0
23
Type=Application
34
Name=peb
4-
Icon=peb
5+
Comment=HTML interface for Perl 5 desktop applications
6+
Exec=peb
7+
Icon=peb
8+
Categories=Development;

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ int main(int argc, char **argv)
9696
// ==============================
9797
// Application version:
9898
// ==============================
99-
application.setApplicationVersion("0.7.0");
99+
application.setApplicationVersion("0.7.1");
100100

101101
// ==============================
102102
// UTF-8 encoding application-wide:

0 commit comments

Comments
 (0)