diff --git a/CHANGELOG.md b/CHANGELOG.md index c24581c..cffc83b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. ## [Unreleased] -## [1.0.0-beta.5] - 2023-06-23 +## [1.0.0] - 2023-06-23 ### Bug Fixes diff --git a/gradle.properties b/gradle.properties index f07ea61..78f0051 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ pluginName = IntelliJ Tauri Plugin pluginRepositoryUrl = https://github.com/KartanHQ/intellij-tauri # SemVer format -> https://semver.org -pluginVersion = 1.0.0-beta.5 +pluginVersion = 1.0.0 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 213 diff --git a/src/main/kotlin/com/nekofar/milad/intellij/tauri/cli/TauriCliProjectGenerator.kt b/src/main/kotlin/com/nekofar/milad/intellij/tauri/cli/TauriCliProjectGenerator.kt index a3b32bc..59547f9 100644 --- a/src/main/kotlin/com/nekofar/milad/intellij/tauri/cli/TauriCliProjectGenerator.kt +++ b/src/main/kotlin/com/nekofar/milad/intellij/tauri/cli/TauriCliProjectGenerator.kt @@ -29,10 +29,10 @@ class TauriCliProjectGenerator : NpmPackageProjectGenerator() { override fun getNpxCommands() = listOf(NpxPackageDescriptor.NpxCommand(packageName, npxCommand)) - override fun generateInTemp(): Boolean = false + override fun generateInTemp(): Boolean = true - override fun generatorArgs(project: Project?, dir: VirtualFile?, settings: Settings?): Array = - arrayOf(".") + override fun generatorArgs(project: Project?, dir: VirtualFile?, settings: Settings?) = + project?.let { arrayOf(it.name) } override fun getIcon(): Icon = TauriIcons.ProjectGenerator }