Logtalk 2.28.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1711 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
// =================================================================
|
||||
// Logtalk - Object oriented extension to Prolog
|
||||
// Release 2.27.1
|
||||
// Release 2.28.2
|
||||
//
|
||||
// Copyright (c) 1998-2006 Paulo Moura. All Rights Reserved.
|
||||
// =================================================================
|
||||
|
||||
if (ScriptEngineMajorVersion() < 5 || ScriptEngineMajorVersion() == 5 && ScriptEngineMinorVersion() < 6) {
|
||||
WScript.Echo('Error! WSH 5.6 or later version needed for running this script.');
|
||||
WScript.Quit(1);
|
||||
}
|
||||
|
||||
var prolog_path = "C:\\Yap\\bin\\yap.exe";
|
||||
|
||||
if (WScript.Arguments.Unnamed.Length > 0) {
|
||||
@@ -68,9 +73,9 @@ if (!FSObject.FolderExists(ProgramsPath + "\\Logtalk"))
|
||||
FSObject.CreateFolder(ProgramsPath + "\\Logtalk");
|
||||
|
||||
var link = WshShell.CreateShortcut(ProgramsPath + "\\Logtalk\\Logtalk - YAP.lnk");
|
||||
link.Arguments = "-l %LOGTALKHOME%\\bin\\logtalk_yap.pl";
|
||||
link.Description = "Runs Logtalk with YAP";
|
||||
link.IconLocation = "app.exe,1";
|
||||
link.Arguments = '-l "%LOGTALKHOME%\\bin\\logtalk_yap.pl"';
|
||||
link.Description = 'Runs Logtalk with YAP';
|
||||
link.IconLocation = 'app.exe,1';
|
||||
link.TargetPath = prolog_path;
|
||||
link.WindowStyle = 1;
|
||||
link.WorkingDirectory = logtalk_home;
|
||||
|
Reference in New Issue
Block a user