Quote:
Originally Posted by TJ27
kartuМне, что скопировать prsp.js в папку Beta из каталога с исходниками?
|
Yep. This is what startup script is doing (prspBetaStartupFile is set to /Data/Beta/prsp.js):
Code:
if (FileSystem.getFileInfo(System.applyEnvironment('[prspSafeModeFile]')) === undefined) {
betaPath = System.applyEnvironment('[prspBetaStartupFile]');
if (FileSystem.getFileInfo(betaPath)) {
path = betaPath;
} else {
path = System.applyEnvironment('[prspStartupFile]');
}
if (FileSystem.getFileInfo(path)) {
file = new Stream.File(path);
code = file.toString();
file.close();
f = new Function("", code);
f();
delete f;
}
}
} catch (ignore) {
}