chore: import upstream snapshot with attribution
Build / Build (macos-latest) (push) Has been cancelled
Build / Build (ubuntu-latest) (push) Has been cancelled
Build / Build (windows-latest) (push) Has been cancelled
Build / Analyze (javascript) (push) Has been cancelled
Build / Analyze (python) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:37:45 +08:00
commit 7254f7b4d1
277 changed files with 596162 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
---
name: Bug report
about: Create a report to help us improve
labels: bug
---
- Netron app and version: <!-- For example: 3.8.2 Desktop app, 2.9.0 Website or 3.9.2 Python Server -->
- OS and browser version: <!-- For example macOS 10.15.6 (19G73) + Chrome 84.0.4147.89 -->
Steps to Reproduce:
1.
2.
Please attach or link model files to reproduce the issue.
@@ -0,0 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project
labels: feature
---
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Describe the feature you'd like. -->
+55
View File
@@ -0,0 +1,55 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="280" viewBox="0 0 1120 280">
<g transform="matrix(2.08182,0,0,2.08182,-121.251,-49.4127)">
<g transform="matrix(100,0,0,100,60.9965,126)">
<path d="M0.089,0L0.089,-0.745L0.595,-0.147L0.595,-0.715L0.656,-0.715L0.656,0.021L0.15,-0.578L0.15,0L0.089,0Z" fill="#C9D1D9" />
</g>
<g transform="matrix(100,0,0,100,164.341,126)">
<path d="M0.089,0L0.089,-0.715L0.443,-0.715L0.443,-0.654L0.154,-0.654L0.154,-0.43L0.443,-0.43L0.443,-0.369L0.154,-0.369L0.154,-0.061L0.443,-0.061L0.443,0L0.089,0Z" fill="#C9D1D9" />
</g>
<g transform="matrix(100,0,0,100,244.491,126)">
<path d="M0.216,0L0.216,-0.654L0.019,-0.654L0.019,-0.715L0.478,-0.715L0.478,-0.654L0.281,-0.654L0.281,0L0.216,0Z" fill="#C9D1D9" />
</g>
<g transform="matrix(100,0,0,100,323.031,126)">
<path d="M0.154,-0.658L0.154,-0.394L0.219,-0.394C0.28,-0.394 0.322,-0.404 0.346,-0.423C0.37,-0.442 0.382,-0.475 0.382,-0.522C0.382,-0.571 0.369,-0.606 0.345,-0.627C0.32,-0.648 0.278,-0.658 0.219,-0.658L0.154,-0.658ZM0.523,0L0.444,0L0.193,-0.341L0.154,-0.341L0.154,0L0.089,0L0.089,-0.715L0.22,-0.715C0.298,-0.715 0.356,-0.699 0.394,-0.667C0.433,-0.634 0.452,-0.585 0.452,-0.52C0.452,-0.464 0.436,-0.421 0.403,-0.389C0.37,-0.357 0.324,-0.341 0.266,-0.341L0.523,0Z" fill="#C9D1D9" />
</g>
<g transform="matrix(0.10084,0,0,0.10084,398.318,38.8234)">
<circle cx="512" cy="512" r="431" fill="none" stroke="#C9D1D9" stroke-width="42px"/>
<path d="M296,392L540,280" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M296,632L540,280" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M296,392L540,435" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M296,632L540,435" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M296,392L540,590" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M296,632L540,590" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M296,392L540,744" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M296,632L540,744" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M540,280L785,512" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M540,590L785,512" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M540,435L785,512" stroke="#C9D1D9" stroke-width="12px"/>
<path d="M540,744L785,512" stroke="#C9D1D9" stroke-width="12px"/>
<g transform="translate(296,392)">
<circle cx="0" cy="0" r="51" fill="#C9D1D9" />
</g>
<g transform="translate(296,632)">
<circle cx="0" cy="0" r="51" fill="#C9D1D9" />
</g>
<g transform="translate(540,280)">
<circle cx="0" cy="0" r="51" fill="#C9D1D9" />
</g>
<g transform="translate(540,435)">
<circle cx="0" cy="0" r="51" fill="#C9D1D9" />
</g>
<g transform="translate(540,590)">
<circle cx="0" cy="0" r="51" fill="#C9D1D9" />
</g>
<g transform="translate(540,744)">
<circle cx="0" cy="0" r="51" fill="#C9D1D9" />
</g>
<g transform="translate(785,512)">
<circle cx="0" cy="0" r="51" fill="#C9D1D9" />
</g>
</g>
<g transform="matrix(100,0,0,100,520.979,126)">
<path d="M0.089,0L0.089,-0.745L0.595,-0.147L0.595,-0.715L0.656,-0.715L0.656,0.021L0.15,-0.578L0.15,0L0.089,0Z" fill="#C9D1D9" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

+55
View File
@@ -0,0 +1,55 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="280" viewBox="0 0 1120 280">
<g transform="matrix(2.08182,0,0,2.08182,-121.251,-49.4127)">
<g transform="matrix(100,0,0,100,60.9965,126)">
<path d="M0.089,0L0.089,-0.745L0.595,-0.147L0.595,-0.715L0.656,-0.715L0.656,0.021L0.15,-0.578L0.15,0L0.089,0Z" fill="#24292F" />
</g>
<g transform="matrix(100,0,0,100,164.341,126)">
<path d="M0.089,0L0.089,-0.715L0.443,-0.715L0.443,-0.654L0.154,-0.654L0.154,-0.43L0.443,-0.43L0.443,-0.369L0.154,-0.369L0.154,-0.061L0.443,-0.061L0.443,0L0.089,0Z" fill="#24292F" />
</g>
<g transform="matrix(100,0,0,100,244.491,126)">
<path d="M0.216,0L0.216,-0.654L0.019,-0.654L0.019,-0.715L0.478,-0.715L0.478,-0.654L0.281,-0.654L0.281,0L0.216,0Z" fill="#24292F" />
</g>
<g transform="matrix(100,0,0,100,323.031,126)">
<path d="M0.154,-0.658L0.154,-0.394L0.219,-0.394C0.28,-0.394 0.322,-0.404 0.346,-0.423C0.37,-0.442 0.382,-0.475 0.382,-0.522C0.382,-0.571 0.369,-0.606 0.345,-0.627C0.32,-0.648 0.278,-0.658 0.219,-0.658L0.154,-0.658ZM0.523,0L0.444,0L0.193,-0.341L0.154,-0.341L0.154,0L0.089,0L0.089,-0.715L0.22,-0.715C0.298,-0.715 0.356,-0.699 0.394,-0.667C0.433,-0.634 0.452,-0.585 0.452,-0.52C0.452,-0.464 0.436,-0.421 0.403,-0.389C0.37,-0.357 0.324,-0.341 0.266,-0.341L0.523,0Z" fill="#24292F" />
</g>
<g transform="matrix(0.10084,0,0,0.10084,398.318,38.8234)">
<circle cx="512" cy="512" r="431" fill="none" stroke="#24292F" stroke-width="42px"/>
<path d="M296,392L540,280" stroke="#24292F" stroke-width="12px"/>
<path d="M296,632L540,280" stroke="#24292F" stroke-width="12px"/>
<path d="M296,392L540,435" stroke="#24292F" stroke-width="12px"/>
<path d="M296,632L540,435" stroke="#24292F" stroke-width="12px"/>
<path d="M296,392L540,590" stroke="#24292F" stroke-width="12px"/>
<path d="M296,632L540,590" stroke="#24292F" stroke-width="12px"/>
<path d="M296,392L540,744" stroke="#24292F" stroke-width="12px"/>
<path d="M296,632L540,744" stroke="#24292F" stroke-width="12px"/>
<path d="M540,280L785,512" stroke="#24292F" stroke-width="12px"/>
<path d="M540,590L785,512" stroke="#24292F" stroke-width="12px"/>
<path d="M540,435L785,512" stroke="#24292F" stroke-width="12px"/>
<path d="M540,744L785,512" stroke="#24292F" stroke-width="12px"/>
<g transform="translate(296,392)">
<circle cx="0" cy="0" r="51" fill="#24292F" />
</g>
<g transform="translate(296,632)">
<circle cx="0" cy="0" r="51" fill="#24292F" />
</g>
<g transform="translate(540,280)">
<circle cx="0" cy="0" r="51" fill="#24292F" />
</g>
<g transform="translate(540,435)">
<circle cx="0" cy="0" r="51" fill="#24292F" />
</g>
<g transform="translate(540,590)">
<circle cx="0" cy="0" r="51" fill="#24292F" />
</g>
<g transform="translate(540,744)">
<circle cx="0" cy="0" r="51" fill="#24292F" />
</g>
<g transform="translate(785,512)">
<circle cx="0" cy="0" r="51" fill="#24292F" />
</g>
</g>
<g transform="matrix(100,0,0,100,520.979,126)">
<path d="M0.089,0L0.089,-0.745L0.595,-0.147L0.595,-0.715L0.656,-0.715L0.656,0.021L0.15,-0.578L0.15,0L0.089,0Z" fill="#24292F" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 KiB

+86
View File
@@ -0,0 +1,86 @@
name: Build
on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- name: Clone Git repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '24.15'
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install Packages
run: npm run install
- name: Validate
run: npm run validate
- name: Build Python Server
run: npm run build python
- name: Build Electron
shell: bash
run: |
npx electron-builder install-app-deps
case "${{ matrix.os }}" in
macos*)
npm run build electron mac
;;
ubuntu*)
sudo apt-get install rpm --yes
npm run build electron linux
;;
windows*)
npm run build electron windows
;;
esac
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
steps:
- name: Clone Git repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
+96
View File
@@ -0,0 +1,96 @@
name: Publish
on:
push:
tags: [ 'v**' ]
jobs:
publish:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Git credentials
run: |
git config --global user.name ${{ secrets.PUBLISH_GITHUB_USER_NAME }}
git config --global user.email ${{ secrets.PUBLISH_GITHUB_USER_EMAIL }}
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: latest
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install Packages
run: npm run install
- name: Publish Electron
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}
APPLE_API_KEY: ~/.private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
run: |
npx electron-builder install-app-deps
case "${{ matrix.os }}" in
macos*)
mkdir -p ~/.private_keys
echo '${{ secrets.APPLE_API_KEY }}' > ~/.private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8
npm run publish electron mac
;;
ubuntu*)
sudo apt-get install rpm --yes
npm run publish electron linux
;;
windows*)
unset CSC_LINK;
unset CSC_KEY_PASSWORD;
npm run publish electron windows
;;
esac
- if: startsWith(matrix.os, 'ubuntu')
name: Publish Python
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: npm run publish python
- if: startsWith(matrix.os, 'ubuntu')
name: Publish Web
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}
GITHUB_USER: ${{ secrets.PUBLISH_GITHUB_USER }}
run: git push origin HEAD:release --force
- if: false # startsWith(matrix.os, 'macos')
name: Publish cask
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}
GITHUB_USER: ${{ secrets.PUBLISH_GITHUB_USER }}
run: npm run publish cask
- if: startsWith(matrix.os, 'windows')
name: Publish winget
env:
GITHUB_USER: ${{ secrets.PUBLISH_GITHUB_USER }}
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}
WINGET_TOKEN: ${{ secrets.WINGET_TOKEN }}
run: npm run publish winget