Skip to content

Commit 4a11f65

Browse files
authored
Merge pull request #8 from PhoenicisOrg/master
Merge master
2 parents 6da4a59 + c902af5 commit 4a11f65

783 files changed

Lines changed: 30376 additions & 9009 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.yml

Lines changed: 64 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,68 @@
1+
---
2+
extends:
3+
- eslint:recommended
4+
5+
env:
6+
nashorn: true
7+
18
rules:
2-
indent: 4
3-
9+
valid-jsdoc: 2
10+
comma-spacing:
11+
- 2
12+
- {before: false, after: true}
13+
keyword-spacing:
14+
- 2
15+
- {before: true, after: true}
16+
space-before-function-paren:
17+
- 2
18+
- {anonymous: always, named: never, asyncArrow: always}
19+
no-trailing-spaces: 2
20+
indent:
21+
- 2
22+
- 4
23+
- {SwitchCase: 1, ArrayExpression: first}
24+
425
globals:
5-
include: true
26+
include: false
27+
TYPE_ID: false
28+
CATEGORY_ID: false
29+
APPLICATION_ID: false
30+
# java
31+
Bean: false
632
# files
7-
mkdir: true
8-
fileExists: true
9-
cat: true
10-
cp: true
11-
getFileSize: true
12-
fileName: true
13-
lns: true
14-
remove: true
15-
touch: true
16-
writeToFile: true
17-
createTempFile: true
33+
mkdir: false
34+
fileExists: false
35+
cat: false
36+
cp: false
37+
getFileSize: false
38+
fileName: false
39+
lns: false
40+
remove: false
41+
touch: false
42+
tr: false
43+
writeToFile: false
44+
createTempFile: false
45+
# classes
46+
AppResource: false
47+
CabExtract: false
48+
Checksum: false
49+
Downloader: false
50+
Extractor: false
51+
Resource: false
52+
SetupWizard: false
53+
Wine: false
54+
WineShortcut: false
55+
# quick scripts
56+
CustomInstallerScript: false
57+
InstallerScript: false
58+
LocalInstallerScript: false
59+
OnlineInstallerScript: false
60+
QuickScript: false
61+
SteamScript: false
62+
UplayScript: false
63+
ZipScript: false
1864
# wine
19-
LATEST_DEVELOPMENT_VERSION: true
20-
LATEST_STABLE_VERSION: true
21-
LATEST_STAGING_VERSION: true
65+
LATEST_DEVELOPMENT_VERSION: false
66+
LATEST_STABLE_VERSION: false
67+
LATEST_STAGING_VERSION: false
68+
WINE_PREFIX_DIR: false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.idea/

.travis.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,36 @@
1-
before_install:
2-
- sudo apt-get -qq update
3-
- sudo apt-get install -y python-jsonschema python-pil gettext
1+
# avoid double builds on pull requests
2+
branches:
3+
only:
4+
master
45

5-
script:
6-
- python ./validate.py
6+
matrix:
7+
include:
8+
- stage: Update translations
9+
before_install:
10+
- sudo apt-get -qq update
11+
- sudo apt-get install -y python-jsonschema python-pil gettext
12+
script:
13+
- python ./validate.py
14+
after_success:
15+
# push translation updates only for master (PR changes must be committed to master before they are taken into account)
16+
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./i18n/push_translations.sh; fi
717

8-
after_success:
9-
# push translation updates only for master (PR changes must be committed to master before they are taken into account)
10-
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./i18n/push_translations.sh; fi
18+
# Update JSDoc
19+
- stage: Update JSDoc
20+
script:
21+
# push JSDoc updates only for master (PR changes must be committed to master before they are taken into account)
22+
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./push_jsdoc.sh; fi
23+
24+
# Check GitHub Pages
25+
- stage: Check GitHub Pages
26+
os: linux
27+
language: ruby
28+
rvm:
29+
- 2.1
30+
before_install: cd docs
31+
script:
32+
- bundle exec jekyll build
33+
- bundle exec htmlproofer ./_site --only-4xx --check-favicon --check-html --assume-extension --file-ignore=/jsdoc/
1134

1235
env:
1336
global:
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
1+
include(["engines", "wine", "quick_script", "online_installer_script"]);
22

33
new OnlineInstallerScript()
4-
.name("7-zip")
5-
.editor("Igor Pavlov")
6-
.applicationHomepage("http://www.7-zip.org/")
7-
.author("ImperatorS79")
8-
.url("http://www.7-zip.org/a/7z1604.exe")
9-
.checksum("dd1cb1163c5572951c9cd27f5a8dd550b33c58a4")
10-
.category("Accessories")
11-
.executable("7zFM.exe")
12-
.go();
4+
.name("7-zip")
5+
.editor("Igor Pavlov")
6+
.applicationHomepage("http://www.7-zip.org/")
7+
.author("ImperatorS79")
8+
.url("https://www.7-zip.org/a/7z1801.exe")
9+
.checksum("d56bca4973b1d1aa5915c41dce318b077ce8b5b2")
10+
.category("Accessories")
11+
.executable("7zFM.exe")
12+
.go();

Applications/Accessories/7-zip/Online/script.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"scriptName": "Online",
3+
"id": "online",
34
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
45
"testingOperatingSystems": [],
56
"free": true,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"name": "7-zip",
3+
"id": "7zip",
34
"description": "7-Zip is a file archiver with a high compression ratio. 7-Zip is open source software. Most of the source code is under the GNU LGPL license. The unRAR code is under a mixed license: GNU LGPL + unRAR restrictions. You can use 7-Zip on any computer, including a computer in a commercial organization. You don't need to register or pay for 7-Zip."
45
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
1+
include(["engines", "wine", "quick_script", "online_installer_script"]);
22

33
new OnlineInstallerScript()
4-
.name("ImgBurn")
5-
.editor("Lightning UK!")
6-
.applicationHomepage("http://www.imgburn.com/")
7-
.author("ImperatorS79")
8-
.url("http://download.imgburn.com/SetupImgBurn_2.5.8.0.exe")
9-
.checksum("6fc013ed5944b13efc54648699ea80f304e37ad0")
10-
.category("Accessories")
11-
.executable("ImgBurn.exe")
12-
.go();
4+
.name("ImgBurn")
5+
.editor("Lightning UK!")
6+
.applicationHomepage("http://www.imgburn.com/")
7+
.author("ImperatorS79")
8+
.url("http://download.imgburn.com/SetupImgBurn_2.5.8.0.exe")
9+
.checksum("6fc013ed5944b13efc54648699ea80f304e37ad0")
10+
.category("Accessories")
11+
.executable("ImgBurn.exe")
12+
.go();

Applications/Accessories/ImgBurn/Online/script.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"scriptName": "Online",
3+
"id": "online",
34
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
45
"testingOperatingSystems": [],
56
"free": true,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"name": "ImgBurn",
3+
"id": "img_burn",
34
"description": "ImgBurn is a lightweight CD / DVD / HD DVD / Blu-ray burning application."
45
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
1+
include(["engines", "wine", "quick_script", "online_installer_script"]);
22

33
new OnlineInstallerScript()
4-
.name("Soundplant")
5-
.editor("Marcel Blum")
6-
.applicationHomepage("http://soundplant.org/")
7-
.author("ImperatorS79")
8-
.url("http://soundplant.org/downloads/Soundplant45_Win_setup.exe")
9-
.checksum("df17f942189618219cd504beee1be0712f4e4e4e")
10-
.category("Accessories")
4+
.name("Soundplant")
5+
.editor("Marcel Blum")
6+
.applicationHomepage("http://soundplant.org/")
7+
.author("ImperatorS79")
8+
.url("http://soundplant.org/downloads/Soundplant45_Win_setup.exe")
9+
.checksum("df17f942189618219cd504beee1be0712f4e4e4e")
10+
.category("Accessories")
1111
.executable("Soundplant45.exe")
12-
.preInstall(function (wine, wizard) {
12+
.preInstall(function (wine/*, wizard*/) {
1313
wine.windowsVersion("win7");
1414
})
15-
.go();
15+
.go();

0 commit comments

Comments
 (0)