Skip to content

Commit 31caee8

Browse files
committed
https://ci.appveyor.com/tools/encrypt / Change VirusTotal JSON report filename extension to .jsn to make it HTA iframe friendly / Make builds reproducible with help of https://github.com/jasonwhite/ducible
1 parent f697a0b commit 31caee8

File tree

6 files changed

+28
-10
lines changed

6 files changed

+28
-10
lines changed

.gitmodules

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "Extras"]
22
path = Extras
3-
url = git@github.com:hmphus/there-edge-extras.git
3+
url = https://github.com/hmphus/there-edge-extras
4+
[submodule "UnityDoorstop-BSIPA"]
5+
path = UnityDoorstop-BSIPA
6+
url = https://github.com/nike4613/UnityDoorstop-BSIPA

BrowserProxy/BrowserProxy.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ END
5858
//
5959

6060
VS_VERSION_INFO VERSIONINFO
61-
FILEVERSION 1,1,2,4
62-
PRODUCTVERSION 1,1,2,4
61+
FILEVERSION 1,01,02,04
62+
PRODUCTVERSION 1,01,02,04
6363
FILEFLAGSMASK 0x3fL
6464
#ifdef _DEBUG
6565
FILEFLAGS 0x1L

Installer/MakeSetup.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
@echo off
22
cd "%~dp0"
3+
set ducible.exe="..\UnityDoorstop-BSIPA\BuildUtils\ducible.exe"
4+
for /f "tokens=*" %%G in ('where git.exe') do (set git.exe="%%G")
5+
set touch.exe=%git.exe:cmd\git.exe=usr\bin\touch.exe%
36
REM Read the version number from the resource file
47
for /f "tokens=1,2" %%G in (..\BrowserProxy\BrowserProxy.rc) do if "%%G" == "FILEVERSION" set FILEVERSION=%%H
58
echo FILEVERSION=%FILEVERSION:,=.%
9+
%ducible.exe% ..\BrowserProxy\Release\OpennessWebView2.dll
10+
for /f delims^=^"^ tokens^=2 %%G in (OpennessWebView2.ddf) do %touch.exe% -t 20230%FILEVERSION:,=% %~dp0%%G
11+
set FILEVERSION=%FILEVERSION:,0=,%
612
REM Create the CAB
713
makecab /f OpennessWebView2.ddf
814
REM Create the SFX

Installer/OpennessWebView2.ddf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
.Set Cabinet=on
66
.Set Compress=on
77
.Set CompressionType=LZX
8-
98
.Set CompressionMemory=18
10-
"..\LICENSE.md" "LICENSE.md"
11-
"..\BrowserProxy\Release\OpennessWebView2.dll" "OpennessWebView2.dll"
12-
"setup.bat" "setup.bat"
13-
"..\BrowserProxy\Release\WebView2Loader.dll" "WebView2Loader.dll"
9+
10+
"..\LICENSE.md" "LICENSE.md"
11+
"..\BrowserProxy\Release\OpennessWebView2.dll" "OpennessWebView2.dll"
12+
"setup.bat" "setup.bat"
13+
"..\BrowserProxy\Release\WebView2Loader.dll" "WebView2Loader.dll"

UnityDoorstop-BSIPA

Submodule UnityDoorstop-BSIPA added at 7fc2aee

appveyor.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
version: 1.0.{build}
22
image: Visual Studio 2022
33

4+
clone_script:
5+
- git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
6+
- git checkout -qf %APPVEYOR_REPO_COMMIT%
7+
8+
environment:
9+
VIRUSTOTAL_API_KEY:
10+
secure: 6VgzXytQY3l+cUPsvEuhSqu/E8JqJQPOK1Kh7mViN0SJ1M3ZHzteSpC56q3HbWXSUCAhk7ynS0BVBYDWVxi5XSXdRLCRiWaAgG7zeNoNk6Q=
11+
412
configuration:
513
- Release
614

@@ -15,9 +23,9 @@ build:
1523

1624
after_build:
1725
- Installer\MakeSetup.bat
18-
- bash.exe %APPVEYOR_BUILD_FOLDER%\virustotal_upload %APPVEYOR_BUILD_FOLDER%\Installer\OpennessWebView2.exe %APPVEYOR_BUILD_FOLDER%\Installer\virustotal_report.json
26+
- bash.exe %APPVEYOR_BUILD_FOLDER%\virustotal_upload %APPVEYOR_BUILD_FOLDER%\Installer\OpennessWebView2.exe %APPVEYOR_BUILD_FOLDER%\Installer\virustotal_report.jsn
1927

2028
artifacts:
2129
- path: BrowserProxy\$(configuration)\OpennessWebView2.dll
2230
- path: Installer\OpennessWebView2.exe
23-
- path: Installer\virustotal_report.json
31+
- path: Installer\virustotal_report.jsn

0 commit comments

Comments
 (0)