ci: update signCommand for tauri config windows
This commit is contained in:
parent
6c83580283
commit
7a15c2646d
@ -102,6 +102,13 @@ jobs:
|
|||||||
echo "---------Cargo.toml---------"
|
echo "---------Cargo.toml---------"
|
||||||
cat ./src-tauri/Cargo.toml
|
cat ./src-tauri/Cargo.toml
|
||||||
|
|
||||||
|
# Add sign commands to tauri.windows.conf.json
|
||||||
|
jq '.bundle.windows.signCommand = "powershell -ExecutionPolicy Bypass -File ./sign.ps1 %1"' ./src-tauri/tauri.windows.conf.json > /tmp/tauri.windows.conf.json
|
||||||
|
mv /tmp/tauri.windows.conf.json ./src-tauri/tauri.windows.conf.json
|
||||||
|
|
||||||
|
echo "---------tauri.windows.conf.json---------"
|
||||||
|
cat ./src-tauri/tauri.windows.conf.json
|
||||||
|
|
||||||
# Temporarily enable devtool on prod build
|
# Temporarily enable devtool on prod build
|
||||||
ctoml ./src-tauri/Cargo.toml dependencies.tauri.features[] "devtools"
|
ctoml ./src-tauri/Cargo.toml dependencies.tauri.features[] "devtools"
|
||||||
cat ./src-tauri/Cargo.toml
|
cat ./src-tauri/Cargo.toml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user