diff --git a/src/ijkl/Main.kt b/src/ijkl/Main.kt index 12f23ba..db00bc0 100644 --- a/src/ijkl/Main.kt +++ b/src/ijkl/Main.kt @@ -16,7 +16,7 @@ class Main : AppLifecycleListener { val application = ApplicationManager.getApplication() NotificationsConfiguration.getNotificationsConfiguration().register(groupDisplayId, STICKY_BALLOON, true) - installOsxKeyLayout( + installMacosKeyLayout( bundleName = "ijkl-keys.bundle", systemPathToBundle = "/Library/Keyboard Layouts/ijkl-keys.bundle", userPathToBundle = "${System.getProperty("user.home")}/Library/Keyboard Layouts/ijkl-keys.bundle", diff --git a/src/ijkl/osx-key-layout-installer.kt b/src/ijkl/osx-key-layout-installer.kt index e8da408..c92b19f 100644 --- a/src/ijkl/osx-key-layout-installer.kt +++ b/src/ijkl/osx-key-layout-installer.kt @@ -6,7 +6,7 @@ import com.intellij.openapi.util.SystemInfo import com.intellij.openapi.util.io.FileUtil import java.io.* -fun installOsxKeyLayout( +fun installMacosKeyLayout( bundleName: String, systemPathToBundle: String, userPathToBundle: String, diff --git a/test/ijkl/Tests.kt b/test/ijkl/Tests.kt index 617adc9..2f3cf8a 100644 --- a/test/ijkl/Tests.kt +++ b/test/ijkl/Tests.kt @@ -15,7 +15,7 @@ class ReadShortcutsTests { ) } - @Test fun `osx keymap xml`() { + @Test fun `macos keymap xml`() { resourceInputStream("ijkl-macos-keymap.xml").readShortcutsData().validate( amountOfActions = 48, amountOfShortcuts = 49