mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 00:29:25 +01:00
pas2js: run params: set working directory
This commit is contained in:
parent
b38b88bdb5
commit
ba509cfde3
@ -1717,6 +1717,7 @@ begin
|
||||
RunMode:=AProject.RunParameters.GetOrCreate('default');
|
||||
RunMode.UseLaunchingApplication:=true;
|
||||
RunMode.LaunchingApplicationPathPlusParams:='"$(Pas2jsElectron)" .';
|
||||
RunMode.WorkingDirectory:='$(ProjPath)';
|
||||
|
||||
Result:=mrOk;
|
||||
end;
|
||||
|
||||
@ -99,6 +99,7 @@ Procedure SetDefaultNodeRunParams(RunParams : TAbstractRunParamsOptionsMode);
|
||||
begin
|
||||
ResetRunParams(RunParams);
|
||||
RunParams.LaunchingApplicationPathPlusParams:='"$(Pas2JSNodeJS)" "$MakeDir($(ProjPath))$NameOnly($(ProjFile)).js"';
|
||||
RunParams.WorkingDirectory:='$(ProjPath)';
|
||||
end;
|
||||
|
||||
Procedure SetPasJSCompileOptions(CompOpts: TLazCompilerOptions;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user