mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-11-24 10:52:47 +08:00
feat(web): bring the Senbei workbench to the browser
Add folder scanning, Android library and package recovery, and the localized desktop-style workbench. Keep browser-refused outputs in a fallback ZIP and include logs with folder and ZIP exports. Align the desktop and web modal transitions and polish the desktop About and legal dialogs.
This commit is contained in:
1 parent
20a68b1c73
commit
21236e8b98
59 files changed
+11612
-3436
No files matched your search
@@ -114,14 +114,11 @@ jobs:
|
||||
run: cargo test --release -p senbei-cli --test wasm_parity
|
||||
env:
|
||||
SENBEI_WASM_PARITY: '1'
|
||||
- name: Stage static site
|
||||
run: node web/tools/stage.mjs dist
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: senbei-web
|
||||
path: |
|
||||
web/index.html
|
||||
web/app.js
|
||||
web/report.js
|
||||
web/worker.js
|
||||
web/style.css
|
||||
web/pkg/
|
||||
path: dist/
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
@@ -73,10 +73,7 @@ jobs:
|
||||
- run: wasm-pack build --target web --release --out-dir ../web/pkg -- --locked
|
||||
working-directory: senbei-wasm
|
||||
- name: Stage static site
|
||||
run: |
|
||||
mkdir dist
|
||||
cp web/index.html web/app.js web/report.js web/worker.js web/style.css dist/
|
||||
cp -r web/pkg dist/pkg
|
||||
run: node web/tools/stage.mjs dist
|
||||
- uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
|
||||
Reference in new issue
Block a user