Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4bfe620

Browse files
authored
Remove function to get plugin loader directory (#8344)
This was added in#5882for tests and older versions of IJ that are not relevant now.
1 parent4c7dcef commit4bfe620

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

‎src/io/flutter/jxbrowser/JxBrowserManager.java

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,9 @@
5252
publicclassJxBrowserManager {
5353
privatestaticJxBrowserManagermanager;
5454

55-
privatestaticStringgetPluginLoaderDir() {
56-
try {
57-
finalApplicationInfoinfo =ApplicationInfo.getInstance();
58-
assertinfo !=null;
59-
if (Objects.equals(info.getMajorVersion(),"2021")) {
60-
if (Objects.equals(info.getMinorVersion(),"3")) {
61-
return"flutter-idea";
62-
}
63-
else {
64-
return"flutter-intellij";
65-
}
66-
}
67-
elseif (Objects.equals(info.getMajorVersion(),"2020")) {
68-
return"flutter-intellij";
69-
}
70-
}
71-
catch (NullPointerExceptionex) {
72-
// ignored; unit tests
73-
}
74-
return"flutter-idea";
75-
}
76-
7755
@NotNull
7856
protectedstaticfinalStringDOWNLOAD_PATH =
79-
PathManager.getPluginsPath() +File.separatorChar +getPluginLoaderDir() +File.separatorChar +"jxbrowser";
57+
PathManager.getPluginsPath() +File.separatorChar +"flutter-intellij" +File.separatorChar +"jxbrowser";
8058
@NotNull
8159
privatestaticfinalAtomicReference<JxBrowserStatus>status =newAtomicReference<>(JxBrowserStatus.NOT_INSTALLED);
8260
@NotNull

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp