Package standalone app and automate MySQL setup
This commit is contained in:
@@ -76,7 +76,16 @@ def build_install_command(tool_name: str, version: str | None = None) -> list[st
|
||||
package_id = WINGET_PACKAGES.get(tool_name)
|
||||
if not package_id:
|
||||
raise ValueError(f"\u4e0d\u652f\u6301\u81ea\u52a8\u5b89\u88c5: {tool_name}")
|
||||
return ["winget", "install", "-e", "--id", package_id]
|
||||
return [
|
||||
"winget",
|
||||
"install",
|
||||
"--exact",
|
||||
"--id",
|
||||
package_id,
|
||||
"--accept-source-agreements",
|
||||
"--accept-package-agreements",
|
||||
"--disable-interactivity",
|
||||
]
|
||||
|
||||
|
||||
def default_maven_install_root() -> Path:
|
||||
|
||||
Reference in New Issue
Block a user