Skip to content

Commit

Permalink
[vscode_projects:1.5] Update to interface version 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharsie committed Aug 30, 2024
1 parent 814b7bf commit f2c4700
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions vscode_projects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from albert import *

md_iid = "2.3"
md_version = "1.4"
md_version = "1.5"
md_name = "VSCode projects"
md_description = "Open VSCode projects"
md_url = "https:/albertlauncher/python/tree/master/vscode_projects"
Expand Down Expand Up @@ -340,11 +340,7 @@ def _createItem(self, project: Project, query: Query) -> StandardItem:
Action(
id="open-terminal",
text=f"Run terminal command in project's workdir: {self.terminalCommand}",
callable=lambda: runTerminal(
close_on_exit=True,
script=self.terminalCommand,
workdir=project.path,
)
callable=lambda: runTerminal(f"cd {project.path} && {self.terminalCommand}")
)
)

Expand Down

0 comments on commit f2c4700

Please sign in to comment.