Skip to content

Commit 72cf42e

Browse files
committed
Update build.bat
1 parent ba90815 commit 72cf42e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ set GOARCH=%2
55
set EXT=
66

77
if "%GOOS%" == "" (
8-
FOR /F "delims=" %i IN ('go env GOOS') DO set GOOS=%%i
8+
FOR /F "delims=" %%i IN ('go env GOOS') DO set GOOS=%%i
99
)
1010

1111
if "%GOARCH%" == "" (
12-
FOR /F "delims=" %i IN ('go env GOARCH') DO set GOARCH=%%i
12+
FOR /F "delims=" %%i IN ('go env GOARCH') DO set GOARCH=%%i
1313
)
1414

1515

@@ -22,7 +22,7 @@ echo Building from .\src\ to .\bin\portables\GoFileEncoder_portable_%GOOS%_%GOAR
2222

2323
mkdir .\bin\portables\
2424

25-
rsrc -arch=%GOARCH% -ico icons\icon_16.ico,icons\icon_32.ico,icons\icon_64.ico,icons\icon_128.ico,icons\icon_256.ico -o .\src\rsrc.syso
25+
rsrc -arch=%GOARCH% -ico icons\icon_16.ico,icons\icon_32.ico,icons\icon_64.ico,icons\icon_128.ico,icons\icon_256.ico -o .\pkg\rsrc.syso
2626

2727
go-bindata -pkg assets -o assets/bindata.go LICENSE
28-
go build -o .\bin\portables\GoFileEncoder_portable_%GOOS%_%GOARCH%%EXT% .\src\
28+
go build -o .\bin\portables\GoFileEncoder_portable_%GOOS%_%GOARCH%%EXT% .\pkg\

0 commit comments

Comments
 (0)