-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* spx-gui: delay input URL processing in RemoveBackground component (#669) * fix required prop warnings (#673) * feat: add build script to support windows (#675) * spx-gui: prevent event propagation on UICornerIcon click (#674) --------- Co-authored-by: ComfyFluffy <24245520+ComfyFluffy@users.noreply.github.com> Co-authored-by: molinla <61045398+molinla@users.noreply.github.com>
- Loading branch information
1 parent
3b29cee
commit 106ab28
Showing
8 changed files
with
64 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@echo off | ||
setlocal | ||
echo Run this script from 'spx-gui' directory | ||
|
||
REM Change directory to ../tools/fmt | ||
cd ..\tools\fmt | ||
|
||
REM Call build script | ||
call build.bat | ||
|
||
REM Change directory to ../ispx | ||
cd ..\ispx | ||
|
||
REM Call build script | ||
call build.bat | ||
|
||
REM Change directory to .. | ||
cd .. | ||
|
||
REM Copy files to the destination | ||
copy fmt\static\main.wasm ..\spx-gui\src\assets\format.wasm | ||
copy ispx\main.wasm ..\spx-gui\src\assets\ispx\main.wasm | ||
|
||
REM Get GOROOT environment variable | ||
for /f "tokens=*" %%i in ('go env GOROOT') do set GOROOT=%%i | ||
|
||
REM Copy the wasm_exec.js file | ||
copy "%GOROOT%\misc\wasm\wasm_exec.js" ..\spx-gui\src\assets\wasm_exec.js | ||
|
||
echo Build WASM complete | ||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@echo off | ||
setlocal | ||
|
||
set GOOS=js | ||
set GOARCH=wasm | ||
|
||
go build -o static\main.wasm main.go | ||
|
||
endlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@echo off | ||
setlocal | ||
|
||
set GOOS=js | ||
set GOARCH=wasm | ||
|
||
go build -tags canvas -o main.wasm main.go | ||
|
||
endlocal |