Skip to content

Commit 884bea0

Browse files
authored
CM-30491 - Fix working on Windows (#33)
1 parent e63cce0 commit 884bea0

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,24 @@
44

55
## [Unreleased]
66

7+
## [1.1.1] - 2023-12-21
8+
9+
- Fix working on Windows
10+
711
## [1.1.0] - 2023-12-13
812

9-
- Add Company Guidelines.
10-
- Fix the severity of detected secrets.
13+
- Add Company Guidelines
14+
- Fix the severity of detected secrets
1115

1216
## [1.0.1] - 2023-12-12
1317

14-
- Fix the creation of many scan jobs on many on-save events for a short period of time.
18+
- Fix the creation of many scan jobs on many on-save events for a short period of time
1519

1620
## [1.0.0] - 2023-12-05
1721

1822
The first public release of the plugin.
1923

24+
[1.1.1]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.1.1
2025
[1.1.0]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.1.0
2126
[1.0.1]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.0.1
2227
[1.0.0]: https://github.com/cycodehq/intellij-platform-plugin/releases/tag/v1.0.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Cycode IntelliJ Platform Plugin
1+
# Cycode IntelliJ Platform Plugin (beta)
22

33
<!-- Plugin description -->
44

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
22

33
pluginGroup = com.cycode.plugin
4-
pluginName = Cycode (beta)
4+
pluginName = Cycode
55
pluginRepositoryUrl = https://github.com/cycodehq/intellij-platform-plugin
66
# SemVer format -> https://semver.org
7-
pluginVersion = 1.1.0
7+
pluginVersion = 1.1.1
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
pluginSinceBuild = 211.1

src/main/kotlin/com/cycode/plugin/cli/CliWrapper.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class CliWrapper(val executablePath: String, val workDirectory: String? = null)
4141
): CliResult<T> {
4242
val commandLine = GeneralCommandLine()
4343
commandLine.charset = Charset.forName("UTF-8")
44+
commandLine.exePath = executablePath
4445

4546
if (workDirectory != null) {
4647
commandLine.workDirectory = File(workDirectory)
@@ -49,12 +50,6 @@ class CliWrapper(val executablePath: String, val workDirectory: String? = null)
4950
commandLine.environment["CYCODE_API_URL"] = pluginSettings.cliApiUrl
5051
commandLine.environment["CYCODE_APP_URL"] = pluginSettings.cliAppUrl
5152

52-
if (SystemInfo.isWindows) {
53-
commandLine.addParameter("/c")
54-
} else {
55-
commandLine.exePath = executablePath
56-
}
57-
5853
commandLine.addParameters(*defaultCliArgs)
5954

6055
val additionalArgs = pluginSettings.cliAdditionalParams.split(" ").filterNot { it.isBlank() }.toTypedArray()

src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222

2323
<extensions defaultExtensionNs="com.intellij">
2424
<postStartupActivity implementation="com.cycode.plugin.activities.PostStartupActivity"/>
25-
<toolWindow factoryClass="com.cycode.plugin.components.toolWindow.CycodeToolWindowFactory" id="Cycode"
25+
<toolWindow factoryClass="com.cycode.plugin.components.toolWindow.CycodeToolWindowFactory" id="Cycode (beta)"
2626
anchor="bottom"/>
2727
<projectConfigurable instance="com.cycode.plugin.settings.ApplicationSettingsConfigurable" groupId="tools"
28-
displayName="Cycode"/>
28+
displayName="Cycode (beta)"/>
2929
<notificationGroup id="Cycode" displayType="BALLOON"/>
3030
</extensions>
3131

src/main/resources/messages/CycodeBundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ scanFileResultNotification=Cycode has detected {0} {1} issues in your file. Chec
1616
scanFileNoResultNotification=No {0} issues were found.
1717
openProblemsTabAction=Open "Problems" tab
1818
# tool window
19-
toolWindowId=Cycode
19+
toolWindowId=Cycode (beta)
2020
howToUseLabel=<html>To learn more about how to use Cycode in the IDE by JetBrains, please visit <a href="https://github.com/cycodehq/intellij-platform-plugin/blob/main/README.md">our docs</a>.</html>
2121
# auth content tab
2222
authBtn=Authenticate

0 commit comments

Comments
 (0)