File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ license=('MIT')
12
12
13
13
options=(' !strip' )
14
14
15
- source=(" ${_realname} " ::" git+https://github.com/git-for-windows/WinToast#tag=g4w-20171117 -01" )
15
+ source=(" ${_realname} " ::" git+https://github.com/git-for-windows/WinToast#tag=g4w-20221103 -01" )
16
16
17
17
sha256sums=(' SKIP' )
18
18
@@ -21,15 +21,10 @@ die () {
21
21
exit 1
22
22
}
23
23
24
- test -n " $MSBUILD_DIR " ||
25
- MSBUILD_DIR=" /c/Program Files (x86)/MSBuild/14.0/Bin"
26
-
27
- test -d " $MSBUILD_DIR " ||
28
- die " Need a valid MSBUILD_DIR to point to MSBuild"
29
-
30
24
case " $CARCH " in
31
25
i686) WARCH=x86; OUTDIR=Release;;
32
26
x86_64) WARCH=x64; OUTDIR=x64/Release;;
27
+ aarch64) WARCH=ARM64; OUTDIR=ARM64/Release;;
33
28
* ) die " Unsupported architecture: $CARCH "
34
29
esac
35
30
@@ -42,7 +37,7 @@ build() {
42
37
cd " $srcdir /wintoast"
43
38
44
39
(cd example/console-example/ &&
45
- " $MSBUILD_DIR " /MSBuild.exe // p:Configuration=Release // p:Platform=" $WARCH " )
40
+ cmd //c ' ..\..\..\..\..\msbuild\hMSBuild.bat -notamd64 -vsw-version local / p:Configuration=Release /p:Platform=' " $WARCH " )
46
41
47
42
cp example/console-example/$OUTDIR /WinToast\ Console\ Example.exe wintoast.exe
48
43
You can’t perform that action at this time.
0 commit comments