Skip to content

Commit

Permalink
Merge pull request #179 from devchat-ai/fix-workflow-init
Browse files Browse the repository at this point in the history
Never overwrite workflows
  • Loading branch information
pplam authored Jun 20, 2024
2 parents 2ae1b49 + 936094b commit 197ec1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/ai/devchat/installer/DevChatSetupThread.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class DevChatSetupThread : Thread() {
private fun setup(envManager: PythonEnvManager) {
val overwrite = devChatVersion != DevChatState.instance.lastVersion
PathUtils.copyResourceDirToPath("/tools/site-packages", PathUtils.sitePackagePath, overwrite)
PathUtils.copyResourceDirToPath("/workflows", PathUtils.workflowPath, overwrite)
PathUtils.copyResourceDirToPath("/workflows", PathUtils.workflowPath)
"python_for_chat".let{k ->
if (OSInfo.isWindows) {
val installDir = Paths.get(PathUtils.workPath, "python-win").toString()
Expand Down

0 comments on commit 197ec1a

Please sign in to comment.