Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
138f50f
Update Wildlife Park 2 (fix preInstall) (#528)
Zemogiter Apr 2, 2018
3350b9d
Fix League of Legends (#468)
marysaka Apr 6, 2018
71c88db
updated translations
Apr 6, 2018
c82041b
ESLint: force indentation with 4 spaces (#539)
plata Apr 6, 2018
13df06d
Add missing application.json (#541)
plata Apr 6, 2018
a20ddf3
updated translations
Apr 6, 2018
f8788ce
Add ID to json (#535)
plata Apr 6, 2018
26d796c
Update League of Legends (rename script) (#547)
plata Apr 6, 2018
4b84062
updated translations
Apr 6, 2018
a371587
Add script.json for verbs (#540)
plata Apr 6, 2018
80b722b
updated translations
Apr 6, 2018
6d40f0e
Add missing script.json (#542)
plata Apr 6, 2018
a9d9e93
updated translations
Apr 6, 2018
2ed6fba
Use lower case IDs (#548)
plata Apr 6, 2018
9ba530c
New Crowdin translations (#502)
plata Apr 6, 2018
d6329c8
Fix Travis CI badge (#549)
plata Apr 6, 2018
5be81f7
Use GitHub Pages for documentation (#551)
plata Apr 7, 2018
d2a6145
Validate all scripts (#552)
plata Apr 7, 2018
4a31f3a
updated translations
Apr 7, 2018
afe2810
Fix Travis CI translations update (#554)
plata Apr 7, 2018
8affd27
Travis CI: update JSDoc (#553)
plata Apr 7, 2018
5358861
Document Verbs (#559)
plata Apr 7, 2018
bddb9c8
Update translations
Apr 7, 2018
ce83cb4
Document global filesystem functions (#557)
plata Apr 7, 2018
fd7a4cc
Update translations
Apr 7, 2018
24c4506
Fix includes (#560)
plata Apr 8, 2018
6bee018
Make Checksum etc. a class (#561)
plata Apr 8, 2018
419e4b0
ESLint: avoid trailing whitespace (#563)
plata Apr 8, 2018
f8ff4ee
Update translations
Apr 8, 2018
8131d60
Fix Codacy badge (#567)
plata Apr 8, 2018
25abda2
ESLint: add comma spacing rule (#564)
plata Apr 8, 2018
0997df5
ESLint: add keyword spacing rule (#566)
plata Apr 8, 2018
01ac2b2
Add DXVK verb (#512)
ImperatorS79 Apr 8, 2018
cf4d380
Update translations
Apr 8, 2018
ca6740e
Add .gitignore (#569)
plata Apr 8, 2018
12f0555
Clean up translation process + files (#500)
plata Apr 8, 2018
9945fda
Fix engine tools handling (#570)
plata Apr 8, 2018
51c61a0
ESLint: add space-before-function-paren rule (#568)
plata Apr 8, 2018
656ec66
Update Crowdin commit message (#571)
plata Apr 8, 2018
c902af5
[Crowdin] Update translations (#555)
plata Apr 8, 2018
8fc3b04
Update League of Legends (win->wine in preInstall) (#572)
ImperatorS79 Apr 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 16 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,22 @@ extends:
env:
nashorn: true

valid-jsdoc: 2
rules:
valid-jsdoc: 2
comma-spacing:
- 2
- {before: false, after: true}
keyword-spacing:
- 2
- {before: true, after: true}
space-before-function-paren:
- 2
- {anonymous: always, named: never, asyncArrow: always}
no-trailing-spaces: 2
indent:
- 2
- 4
- {SwitchCase: 1, ArrayExpression: first}

globals:
include: false
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea/
34 changes: 26 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,34 @@ branches:
only:
master

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

script:
- python ./validate.py
# Update JSDoc
- stage: Update JSDoc
script:
# push JSDoc updates only for master (PR changes must be committed to master before they are taken into account)
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./push_jsdoc.sh; fi

after_success:
# push translation updates only for master (PR changes must be committed to master before they are taken into account)
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./i18n/push_translations.sh; fi
# Check GitHub Pages
- stage: Check GitHub Pages
os: linux
language: ruby
rvm:
- 2.1
before_install: cd docs
script:
- bundle exec jekyll build
- bundle exec htmlproofer ./_site --only-4xx --check-favicon --check-html --assume-extension --file-ignore=/jsdoc/

env:
global:
Expand Down
20 changes: 10 additions & 10 deletions Applications/Accessories/7-zip/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
include(["engines", "wine", "quick_script", "online_installer_script"]);

new OnlineInstallerScript()
.name("7-zip")
.editor("Igor Pavlov")
.applicationHomepage("http://www.7-zip.org/")
.author("ImperatorS79")
.url("https://www.7-zip.org/a/7z1801.exe")
.checksum("d56bca4973b1d1aa5915c41dce318b077ce8b5b2")
.category("Accessories")
.executable("7zFM.exe")
.go();
.name("7-zip")
.editor("Igor Pavlov")
.applicationHomepage("http://www.7-zip.org/")
.author("ImperatorS79")
.url("https://www.7-zip.org/a/7z1801.exe")
.checksum("d56bca4973b1d1aa5915c41dce318b077ce8b5b2")
.category("Accessories")
.executable("7zFM.exe")
.go();
1 change: 1 addition & 0 deletions Applications/Accessories/7-zip/Online/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
"id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
Expand Down
1 change: 1 addition & 0 deletions Applications/Accessories/7-zip/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "7-zip",
"id": "7zip",
"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."
}
20 changes: 10 additions & 10 deletions Applications/Accessories/ImgBurn/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
include(["engines", "wine", "quick_script", "online_installer_script"]);

new OnlineInstallerScript()
.name("ImgBurn")
.editor("Lightning UK!")
.applicationHomepage("http://www.imgburn.com/")
.author("ImperatorS79")
.url("http://download.imgburn.com/SetupImgBurn_2.5.8.0.exe")
.checksum("6fc013ed5944b13efc54648699ea80f304e37ad0")
.category("Accessories")
.executable("ImgBurn.exe")
.go();
.name("ImgBurn")
.editor("Lightning UK!")
.applicationHomepage("http://www.imgburn.com/")
.author("ImperatorS79")
.url("http://download.imgburn.com/SetupImgBurn_2.5.8.0.exe")
.checksum("6fc013ed5944b13efc54648699ea80f304e37ad0")
.category("Accessories")
.executable("ImgBurn.exe")
.go();
1 change: 1 addition & 0 deletions Applications/Accessories/ImgBurn/Online/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
"id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
Expand Down
1 change: 1 addition & 0 deletions Applications/Accessories/ImgBurn/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "ImgBurn",
"id": "img_burn",
"description": "ImgBurn is a lightweight CD / DVD / HD DVD / Blu-ray burning application."
}
18 changes: 9 additions & 9 deletions Applications/Accessories/Soundplant/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
include(["engines", "wine", "quick_script", "online_installer_script"]);

new OnlineInstallerScript()
.name("Soundplant")
.editor("Marcel Blum")
.applicationHomepage("http://soundplant.org/")
.author("ImperatorS79")
.url("http://soundplant.org/downloads/Soundplant45_Win_setup.exe")
.checksum("df17f942189618219cd504beee1be0712f4e4e4e")
.category("Accessories")
.name("Soundplant")
.editor("Marcel Blum")
.applicationHomepage("http://soundplant.org/")
.author("ImperatorS79")
.url("http://soundplant.org/downloads/Soundplant45_Win_setup.exe")
.checksum("df17f942189618219cd504beee1be0712f4e4e4e")
.category("Accessories")
.executable("Soundplant45.exe")
.preInstall(function (wine/*, wizard*/) {
wine.windowsVersion("win7");
})
.go();
.go();
1 change: 1 addition & 0 deletions Applications/Accessories/Soundplant/Online/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
"id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
Expand Down
1 change: 1 addition & 0 deletions Applications/Accessories/Soundplant/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Soundplant",
"id": "soundplant",
"description": "Soundplant turns your computer keyboard into a versatile, low latency sound trigger and playable instrument.<br><br>Via drag & drop, easily assign sound files of any format and length onto 72 keyboard keys, creating custom soundboards that put hours of instantly-playing audio at your fingertips with no extra hardware needed.<br><br>Soundplant is used for live music and sound effects, as a drum pad, as a unique electronic instrument, as an educational aid, and just for fun - in radio, television, theater, podcasting, presentations, studios, stadiums, classrooms, clubs, museums, and churches - by DJs, musicians, engineers, sound designers, composers, artists, teachers, magicians, puppeteers, comedians, public speakers, gamers, and more.<br><br> N.B.: Free version has some features unavailable, see http://soundplant.org/support.htm/"
}
1 change: 1 addition & 0 deletions Applications/Accessories/category.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Accessories",
"id": "accessories",
"type": "INSTALLERS"
}
4 changes: 2 additions & 2 deletions Applications/Custom/LocalInstaller/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
include(["engines", "wine", "quick_script", "local_installer_script"]);

new LocalInstallerScript()
.editor("PlayOnLinux")
.applicationHomepage("https://www.playonlinux.com/en/")
.author("Plata")
.category("Custom")
.wineUserSettings(true)
.preInstall(function(wine, wizard) {
.preInstall(function (wine, wizard) {
var versions = ["win7", "vista", "win2003", "winxp", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var shownVersions = ["win7", "vista", "win2003", "winxp (recommended)", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var selectedVersion = wizard.menu("Please select the wine windows version.", shownVersions, "winxp (recommended)");
Expand Down
1 change: 1 addition & 0 deletions Applications/Custom/LocalInstaller/Local/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
"id": "local",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
Expand Down
1 change: 1 addition & 0 deletions Applications/Custom/LocalInstaller/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Local Installer",
"id": "local_installer",
"description": "The Local Installer allows you to install custom applications from your local computer."
}
4 changes: 2 additions & 2 deletions Applications/Custom/OnlineInstaller/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
include(["engines", "wine", "quick_script", "online_installer_script"]);

new OnlineInstallerScript()
.editor("PlayOnLinux")
.applicationHomepage("https://www.playonlinux.com/en/")
.author("Plata")
.category("Custom")
.wineUserSettings(true)
.preInstall(function(wine, wizard) {
.preInstall(function (wine, wizard) {
var versions = ["win7", "vista", "win2003", "winxp", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var shownVersions = ["win7", "vista", "win2003", "winxp (recommended)", "win2k", "winnt", "winme", "win98", "win95", "win31"];
var selectedVersion = wizard.menu("Please select the wine windows version.", shownVersions, "winxp (recommended)");
Expand Down
1 change: 1 addition & 0 deletions Applications/Custom/OnlineInstaller/Online/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Online",
"id": "online",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
Expand Down
1 change: 1 addition & 0 deletions Applications/Custom/OnlineInstaller/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Online Installer",
"id": "online_installer",
"description": "The Online Installer allows you to install custom applications from the Internet."
}
1 change: 1 addition & 0 deletions Applications/Custom/category.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Custom",
"id": "custom",
"type": "INSTALLERS"
}
1 change: 1 addition & 0 deletions Applications/Development/Notepad++/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Notepad++",
"id": "notepad_plus_plus",
"description": "Notepad++ is a free (as in &quot;free speech&quot; and also as in &quot;free beer&quot;) source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.<br><br>Based on a powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.<br><br>Source: http://notepad-plus.sourceforge.net/uk/site.htm"
}
2 changes: 1 addition & 1 deletion Applications/Development/Notepad++/v7.2.2/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include(["Engines", "Wine", "QuickScript", "OnlineInstallerScript"]);
include(["engines", "wine", "quick_script", "online_installer_script"]);

new OnlineInstallerScript()
.name("Notepad++")
Expand Down
1 change: 1 addition & 0 deletions Applications/Development/Notepad++/v7.2.2/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "v.7.2.2",
"id": "v_7_2_2",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": true,
Expand Down
1 change: 1 addition & 0 deletions Applications/Development/category.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Development",
"id": "development",
"type": "INSTALLERS"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include(["Engines", "Wine", "QuickScript", "LocalInstallerScript"]);
include(["engines", "wine", "quick_script", "local_installer_script"]);

new LocalInstallerScript()
.name("18 Wheels of Steel: Across America")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Local",
"id": "local",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "18 Wheels of Steel: Across America",
"id": "18_wheels_of_steel_across_america",
"description": "Heed the call of the open road, throw the gears in motion and take off in a tractor trailer. Drive faster than your competition, haul your cargo across the entire United States and feel the wind in your face as you control your own destiny. Blast the horn and build a career in the fast-paced world of trucking."
}
}
6 changes: 3 additions & 3 deletions Applications/Games/Age of Empires II HD/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include(["Engines", "Wine", "QuickScript", "SteamScript"]);
include(["Utils", "Functions", "Filesystem", "Files"]);
include(["engines", "wine", "quick_script", "steam_script"]);
include(["utils", "functions", "filesystem", "files"]);

new SteamScript()
.name("Age of Empires II HD")
.editor("Skybox Labs, Hidden Path Entertainment, Ensemble Studios")
.author("Plata")
.appId(221380)
.postInstall(function(wine/*, wizard*/) {
.postInstall(function (wine/*, wizard*/) {
// skip broken launcher by replacing it with "AoK HD.exe"
var installPath = wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Steam/steamapps/common/Age2HD/";
var launcher = installPath + "Launcher.exe";
Expand Down
1 change: 1 addition & 0 deletions Applications/Games/Age of Empires II HD/Steam/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
"id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
Expand Down
1 change: 1 addition & 0 deletions Applications/Games/Age of Empires II HD/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Age of Empires II HD",
"id": "age_of_empires_2_hd",
"description": "Age of Empires II has been re-imagined in high definition with new features, trading cards, improved AI, workshop support, multiplayer, Steamworks integration and more!"
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include(["Engines", "Wine", "QuickScript", "SteamScript"]);
include(["Engines", "Wine", "Verbs", "mfc42"]);
include(["engines", "wine", "quick_script", "steam_script"]);
include(["engines", "wine", "verbs", "mfc42"]);

new SteamScript()
.name("Age of Empires® III: Complete Collection")
.editor("Microsoft Studios")
.author("Quentin PARIS")
.appId(105450)
.postInstall(function(wine/*, wizard*/) {
.postInstall(function (wine/*, wizard*/) {
wine.mfc42();
wine.overrideDLL()
.set("native, builtin", ["pidgen"])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
"id": "steam",
"compatibleOperatingSystems": ["MACOSX", "LINUX"],
"testingOperatingSystems": [],
"free": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Age of Empires® III: Complete Collection",
"id": "age_of_empires_3_complete_collection",
"description": "Immerse yourself in the award-winning strategy experience. Microsoft Studios brings you three epic Age of Empires III games in one monumental collection for the first time. Command mighty European powers looking to explore new lands in the New World; or jump eastward to Asia and determine the outcome of its struggles for power."
}
2 changes: 1 addition & 1 deletion Applications/Games/Assassin's Creed II/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include(["Engines", "Wine", "QuickScript", "SteamScript"]);
include(["engines", "wine", "quick_script", "steam_script"]);

new SteamScript()
.name("Assassin’s Creed II")
Expand Down
1 change: 1 addition & 0 deletions Applications/Games/Assassin's Creed II/Steam/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
"id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
Expand Down
1 change: 1 addition & 0 deletions Applications/Games/Assassin's Creed II/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Assassin’s Creed II",
"id": "assassins_creed_2",
"description": "An epic story of family, vengeance and conspiracy set in the pristine, yet brutal, backdrop of a Renaissance Italy."
}
2 changes: 1 addition & 1 deletion Applications/Games/Assassin's Creed III/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include(["Engines", "Wine", "QuickScript", "SteamScript"]);
include(["engines", "wine", "quick_script", "steam_script"]);

new SteamScript()
.name("Assassin’s Creed® III")
Expand Down
1 change: 1 addition & 0 deletions Applications/Games/Assassin's Creed III/Steam/script.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scriptName": "Steam",
"id": "steam",
"compatibleOperatingSystems": ["LINUX"],
"testingOperatingSystems": [],
"free": false,
Expand Down
1 change: 1 addition & 0 deletions Applications/Games/Assassin's Creed III/application.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "Assassin’s Creed® III",
"id": "assassins_creed_3",
"description": "The American Colonies, 1775. It’s a time of civil unrest and political upheaval in the Americas. As a Native American assassin fights to protect his land and his people, he will ignite the flames of a young nation’s revolution.<br>Assassin’s Creed® III takes you back to the American Revolutionary War, but not the one you’ve read about in history books..."
}
Loading