Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5d37e33
added Assassin's Creed (#384)
ImperatorS79 Aug 28, 2017
4de1fe0
avoid setup wizard crash if application miniature cannot be found (#385)
plata Aug 30, 2017
c56d9e2
updated Tomb Raider: Legend (start trl.exe directly) (#386)
plata Aug 30, 2017
5e1a75a
prevent running 64bit binary in 32bit Wine prefix (#388)
plata Aug 31, 2017
3331724
use ExeAnalyser to check if executable is 64bits (#389)
plata Sep 1, 2017
abafd18
Wine: ensure that only .exe are checked with ExeAnalyser (#390)
plata Sep 1, 2017
f63aa26
define Wine tools in JS (#391)
plata Sep 1, 2017
f3d1fae
added tool to kill running Wine processes (#393)
plata Sep 2, 2017
1fa69a3
added tool to repair a Wine prefix (#394)
plata Sep 2, 2017
4e4942c
Added Heroes of the Storm (#392)
ImperatorS79 Sep 2, 2017
c6d709e
added tool to open a terminal in a Wine prefix (#395)
plata Sep 3, 2017
df68fc1
Added Far cry (#398)
ImperatorS79 Sep 3, 2017
b24c76c
added jsons for Wine tools (#397)
plata Sep 4, 2017
98651c1
added Tomb Raider: The Dagger Of Xian (#399)
plata Sep 4, 2017
214fa3a
added icons for Wine tools (#396)
plata Sep 4, 2017
ff6e9f8
added Batman: Arkham Asylum (#401)
ImperatorS79 Sep 6, 2017
236daa1
added Batman: Arkham City (#402)
ImperatorS79 Sep 6, 2017
6ba1442
added Batman: Arkam Origins (#400)
ImperatorS79 Sep 6, 2017
e0e2cfd
added Mass Effect 2 (#404)
ImperatorS79 Sep 7, 2017
27b64b9
added Borderlands (#406)
ImperatorS79 Sep 8, 2017
482201f
added Mass Effect (#403)
ImperatorS79 Sep 8, 2017
c4fa1f4
updated Epic Games Launcher (#407)
plata Sep 8, 2017
b3ca423
updated Mp3tag (new version) (#405)
ImperatorS79 Sep 9, 2017
c9b4c49
updated Tomb Raider: Anniversary (start via Steam) (#409)
plata Sep 10, 2017
4ef5538
added Tom Clancy's The Division (#410)
plata Sep 12, 2017
5100b55
updated Uplay (games) with Wine staging 2.16 (#408)
plata Sep 12, 2017
5e8e4da
added Trackmania Turbo (#411)
plata Sep 12, 2017
ab88e47
Wine: added LATEST_DEVELOPMENT_VERSION and LATEST_STAGING_VERSION (#412)
plata Sep 13, 2017
6ea5d44
added TRON RUN/r (#414)
plata Sep 13, 2017
be28193
Wine shortcut: use shortcut ID (#413)
plata Sep 13, 2017
fcf7649
use LATEST_DEVELOPMENT_VERSION and LATEST_STAGING_VERSION (#415)
plata Sep 13, 2017
35810cd
use ShortcutInfoDTO (#416)
plata Sep 13, 2017
14c0ed1
updated Microsoft Office 2013 (fixed prefix for Excel shortcut) (#418)
ImperatorS79 Sep 14, 2017
5f5357b
added Microsoft Office 2010 (#417)
ImperatorS79 Sep 14, 2017
2c8dda9
added Orwell: Keeping an Eye On You (#420)
plata Sep 14, 2017
4da5afb
added StarCraft II (#419)
ImperatorS79 Sep 15, 2017
24b9eed
added quartz verb (#422)
ImperatorS79 Sep 16, 2017
0024c73
Updated Wine LATEST_DEVELOPMENT_VERSION to 2.17 (#424)
plata Sep 16, 2017
e5c97dd
Added dotnet45 and dotnet452 (#423)
ImperatorS79 Sep 16, 2017
030ee74
updated Wine dotnet40 verb (allow for 64bit) (#425)
plata Sep 16, 2017
561a35d
added Overwatch (#421)
ImperatorS79 Sep 16, 2017
39bf9c4
updated Epic Games Launcher (new checksum) (#427)
Amosar Sep 17, 2017
6769719
updated Wine LATEST_STAGING_VERSION to 2.17 (#429)
plata Sep 21, 2017
5118f39
updated German translations (#430)
plata Sep 22, 2017
c4677a0
do not add line numbers in translation files (#431)
plata Sep 22, 2017
ee2a970
added Pro Evolution Soccer 2018 (#432)
plata Sep 22, 2017
245eba8
updated ZipScript to install also local .zip files (#433)
plata Sep 23, 2017
60f261e
updated Tomb Raider: The Dagger Of Xian (installer available) (#434)
plata Sep 23, 2017
b4170ff
added Guild Wars 2 (#435)
plata Sep 23, 2017
5a5ff37
updated translations for Guild Wars 2 (#436)
plata Sep 24, 2017
0d61bf5
translate script names (#437)
plata Sep 24, 2017
ea33b95
added xact verb (#438)
ImperatorS79 Sep 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added tool to open a terminal in a Wine prefix (PhoenicisOrg#395)
  • Loading branch information
plata authored Sep 3, 2017
commit c6d709ee0c3b7c351254cd0abc9e866388ab94bf
8 changes: 8 additions & 0 deletions Engines/Wine/Engine/Object/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ Wine.prototype.installed = function () {
return fileExists(this._fetchLocalDirectory());
};

/**
* returns the path to the engine binary directory
* @returns {String}
*/
Wine.prototype.binPath = function () {
return this._fetchLocalDirectory() + "/bin/";
};

/**
*
* @param executable
Expand Down
22 changes: 22 additions & 0 deletions Engines/Wine/Tools/WineTerminalOpener/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
include(["Engines", "Wine", "Engine", "Object"]);

/**
* tool to open a terminal in a Wine prefix
* @constructor
*/
var WineTerminalOpener = function() {
this._TerminalOpener = Bean("terminalOpener");
};

/**
* runs the tool
* @param {String} container name
*/
WineTerminalOpener.prototype.run = function (container) {
var wine = new Wine()
.prefix(container);
var environment = [];
environment["WINEPREFIX"] = wine.prefixDirectory;
environment["PATH"] = wine.binPath() + ":$PATH";
this._TerminalOpener.openTerminal(wine.prefixDirectory, environment);
};