add signing exe
This commit is contained in:
@@ -16,7 +16,13 @@
|
||||
sudo apt install mingw-w64
|
||||
rustup target add x86_64-pc-windows-gnu
|
||||
echo windows
|
||||
cargo build --release --target x86_64-pc-windows-gnu && ls target/x86_64-pc-windows-gnu/release/rusty-pipe.exe
|
||||
cargo build --release --target x86_64-pc-windows-gnu
|
||||
rm target/x86_64-pc-windows-gnu/release/rusty-pipe-signed.exe
|
||||
read -p ".crt? " CERT
|
||||
osslsigncode sign \
|
||||
-certs ${CERT%.crt}.crt -key ${CERT%.crt}.key \
|
||||
-n Rusty-Pipe -i https://whois.home.blapointe.com \
|
||||
-in target/x86_64-pc-windows-gnu/release/rusty-pipe.exe -out target/x86_64-pc-windows-gnu/release/rusty-pipe-signed.exe
|
||||
echo local
|
||||
cargo install --path ./
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user