Use Windows 10 SDK instead of Virtual Studio.
This commit is contained in:
parent
821e361e97
commit
babd06d2d6
|
@ -98,20 +98,19 @@ Put this certificate in the same folder as your `server.exe` file.
|
||||||
|
|
||||||
### Signing the File
|
### Signing the File
|
||||||
|
|
||||||
Next, you will need to install Visual Studio. You can download Visual Studio here: https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community
|
Next, you will need to install the Windows 10 SDK. You can download that here: https://go.microsoft.com/fwlink/p/?linkid=2083338&clcid=0x409
|
||||||
|
|
||||||
In the install process, you will be greeted with this screen:
|
Click through the installer until you get to:
|
||||||
|
|
||||||
![](windowsdev.png)
|
![](Signtool.png)
|
||||||
|
|
||||||
|
Click install.
|
||||||
|
|
||||||
Choose the "Universal Windows Platform Development" workload. After you have finished installing Visual Studio, open a "Developer Command Prompt for VS". Navigate to the folder your `server.exe` file is in.
|
You'll want to replace `signtool.exe` in the example below with a path to `signtool.exe` on your machine. It should look like `"C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe"` but you may well have a different number for `10.0.18362.0`. Run the following in a command prompt:
|
||||||
|
|
||||||
![](developerprompt.png)
|
|
||||||
|
|
||||||
```
|
```
|
||||||
# Sign a file with your certificate. Replace the code-signing certificate and password values with your own.
|
# Sign a file with your certificate. Replace the code-signing certificate and password values with your own.
|
||||||
SignTool sign /t http://timestamp.comodoca.com /f codesigning.p12 /p <Password> server.exe
|
signtool.exe sign /t http://timestamp.comodoca.com /f codesigning.p12 /p <Password> server.exe
|
||||||
```
|
```
|
||||||
|
|
||||||
![](signfile.png)
|
![](signfile.png)
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
Binary file not shown.
Before Width: | Height: | Size: 50 KiB |
Binary file not shown.
Before Width: | Height: | Size: 104 KiB |
6
todo.txt
6
todo.txt
|
@ -1,6 +0,0 @@
|
||||||
1. goversioninfo / manifest
|
|
||||||
|
|
||||||
2. go-powershell
|
|
||||||
(setup.go & serve.go are in this repository, build them seperately.
|
|
||||||
3. fileb0x usage.
|
|
||||||
4. How it all goes together.
|
|
|
@ -1,5 +0,0 @@
|
||||||
SILENCE!
|
|
||||||
start serve.exe
|
|
||||||
Launch default browser
|
|
||||||
|
|
||||||
Document fileb0x and last touches
|
|
Loading…
Reference in New Issue