mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 23:31:05 +07:00
[project] non-runtime code should not use directly use runtime classes
Reverting SystemInfo -> SystemInfoRt change GitOrigin-RevId: a4a8c2b339e037cbf9209f9730c2ae30db485932
This commit is contained in:
committed by
intellij-monorepo-bot
parent
067948033a
commit
e6abc7158f
@@ -15,7 +15,7 @@ import com.intellij.openapi.projectRoots.Sdk;
|
||||
import com.intellij.openapi.ui.DialogWrapper;
|
||||
import com.intellij.openapi.ui.Messages;
|
||||
import com.intellij.openapi.ui.TextFieldWithBrowseButton;
|
||||
import com.intellij.openapi.util.SystemInfoRt;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.vfs.LocalFileSystem;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.jetbrains.python.PythonHelper;
|
||||
@@ -130,7 +130,7 @@ public class SphinxBaseCommand {
|
||||
|
||||
GeneralCommandLine cmd = new GeneralCommandLine();
|
||||
if (sdkHomePath != null) {
|
||||
final String runnerName = "sphinx-quickstart" + (SystemInfoRt.isWindows ? ".exe" : "");
|
||||
final String runnerName = "sphinx-quickstart" + (SystemInfo.isWindows ? ".exe" : "");
|
||||
String executablePath = PythonSdkType.getExecutablePath(sdkHomePath, runnerName);
|
||||
if (executablePath != null) {
|
||||
cmd.setExePath(executablePath);
|
||||
|
||||
Reference in New Issue
Block a user