fix: command fail on linux system (#1731)

This commit is contained in:
Nathan.fooo 2023-01-20 14:02:12 +08:00 committed by GitHub
parent 5d125091d9
commit 128bf02ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,22 @@
[tasks.install_tauri_protobuf] [tasks.install_tauri_protobuf.windows]
script = """ script = """
npm install -g protoc-gen-ts npm install -g protoc-gen-ts
""" """
script_runner = "@duckscript" script_runner = "@duckscript"
[tasks.install_tauri_protobuf.mac]
script = """
npm install -g protoc-gen-ts
"""
script_runner = "@shell"
[tasks.install_tauri_protobuf.linux]
script = """
npm install -g protoc-gen-ts
"""
script_runner = "@shell"
[tasks.install_flutter_protobuf] [tasks.install_flutter_protobuf]
mac_alias = "install-protobuf" mac_alias = "install-protobuf"
windows_alias = "install-protobuf-windows" windows_alias = "install-protobuf-windows"