Skip to content

Commit

Permalink
fix: editor name
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierMary committed Feb 3, 2023
1 parent 2bb492b commit 1f86654
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'fr.mary.olivier'
version '2.0.2'
version '2.0.3'

repositories {
mavenCentral()
Expand Down Expand Up @@ -83,6 +83,8 @@ intellij {
}
patchPluginXml {
setChangeNotes """
2.0.3<br>
- Fix unknown editor name in final version<br>
2.0.2<br>
- Add more compatibility<br>
2.0.1<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class ReportActivity implements Disposable {
private static final String TYPE = "app.editor.activity";
private static final String AW_WATCHER = "aw-watcher-";

private static final String IDE_NAME = System.getProperty("idea.platform.prefix", "unknown").toLowerCase();
private static final String IDE_NAME = ApplicationInfo.getInstance().getVersionName().toLowerCase().replaceAll("\\s", "-");
private static final String IDE_VERSION = ApplicationInfo.getInstance().getFullVersion();
public static final int HEARTBEAT_PULSETIME = 20;
public static final int CHECK_CONNEXION_DELAY = 10;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<id>fr.mary.olivier.aw-watcher</id>
<name>Activity Watcher</name>
<vendor email="[email protected]" url="https://github.com/OlivierMary">OlivierMARY</vendor>
<version>2.0.2</version>
<version>2.0.3</version>

<description><![CDATA[
This extension allows the open source tracking tool ActivityWatch to keep track of the projects and coding languages you use in jetbrains IDEs.
Expand Down

0 comments on commit 1f86654

Please sign in to comment.