Skip to content

Commit

Permalink
feat: CSPG -> CSG
Browse files Browse the repository at this point in the history
  • Loading branch information
song-xiao-lin committed Dec 27, 2024
1 parent 2aa7a9e commit 6098371
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 56 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/yakit-ee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ jobs:
run: echo ${{ steps.package_version.outputs.value }}

- run: wget -O bins/database/default-cve.db.gzip https://cve-db.oss-accelerate.aliyuncs.com/default-cve.db.gzip
name: "Download CVE(Include CWE) Data (CSPG && EnpriTraceAgent)"
name: "Download CVE(Include CWE) Data (CSG && EnpriTraceAgent)"
- run: wget -O bins/resources/local-plugins-se.yakitresource.txt https://yaklang.oss-accelerate.aliyuncs.com/yakit-ee/local-plugins-se.yakitresource.txt
name: "Download Plugin resource Files (CSPG && EnpriTraceAgent)"
name: "Download Plugin resource Files (CSG && EnpriTraceAgent)"

- run: yarn install && yarn install-render
working-directory: ./
Expand Down Expand Up @@ -162,97 +162,97 @@ jobs:
- name: View Published Content
run:
ls ./release
# CSPG-1.3.4-sp7-darwin-arm64.dmg
# CSPG-1.3.4-sp7-darwin-x64.dmg
# CSPG-1.3.4-sp7-linux-amd64.AppImage
# CSPG-1.3.4-sp7-linux-arm64.AppImage
# CSPG-1.3.4-sp7-windows-amd64.exe
# CSPG-1.3.4-sp7-darwin-legacy-arm64.dmg
# CSPG-1.3.4-sp7-darwin-legacy-x64.dmg
# CSPG-1.3.4-sp7-linux-legacy-amd64.AppImage
# CSPG-1.3.4-sp7-linux-legacy-arm64.AppImage
# CSPG-1.3.4-sp7-windows-legacy-amd64.exe
# CSG-1.3.4-sp7-darwin-arm64.dmg
# CSG-1.3.4-sp7-darwin-x64.dmg
# CSG-1.3.4-sp7-linux-amd64.AppImage
# CSG-1.3.4-sp7-linux-arm64.AppImage
# CSG-1.3.4-sp7-windows-amd64.exe
# CSG-1.3.4-sp7-darwin-legacy-arm64.dmg
# CSG-1.3.4-sp7-darwin-legacy-x64.dmg
# CSG-1.3.4-sp7-linux-legacy-amd64.AppImage
# CSG-1.3.4-sp7-linux-legacy-arm64.AppImage
# CSG-1.3.4-sp7-windows-legacy-amd64.exe

- name: Upload Yakit(EE) Artifacts Windows
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'win') && env.COMPATIBILITY_MODE == 'normal') }}
with:
# CSPG-1.3.4-sp7-windows-amd64.exe
name: CSPG-${{ steps.package_version.outputs.value }}-windows-amd64.exe
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-windows-amd64.exe
# CSG-1.3.4-sp7-windows-amd64.exe
name: CSG-${{ steps.package_version.outputs.value }}-windows-amd64.exe
path: ./release/CSG-${{ steps.package_version.outputs.value }}-windows-amd64.exe
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Mac(m1)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'mac') && env.COMPATIBILITY_MODE == 'normal') }}
with:
# CSPG-1.3.4-sp7-darwin-arm64.dmg
name: CSPG-${{ steps.package_version.outputs.value }}-darwin-arm64.dmg
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-darwin-arm64.dmg
# CSG-1.3.4-sp7-darwin-arm64.dmg
name: CSG-${{ steps.package_version.outputs.value }}-darwin-arm64.dmg
path: ./release/CSG-${{ steps.package_version.outputs.value }}-darwin-arm64.dmg
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Mac(intel)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'mac') && env.COMPATIBILITY_MODE == 'normal') }}
with:
# CSPG-1.3.4-sp7-darwin-x64.dmg
name: CSPG-${{ steps.package_version.outputs.value }}-darwin-x64.dmg
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-darwin-x64.dmg
# CSG-1.3.4-sp7-darwin-x64.dmg
name: CSG-${{ steps.package_version.outputs.value }}-darwin-x64.dmg
path: ./release/CSG-${{ steps.package_version.outputs.value }}-darwin-x64.dmg
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Linux(amd64)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'linux') && env.COMPATIBILITY_MODE == 'normal') }}
with:
# CSPG-1.3.4-sp7-linux-amd64.AppImage
name: CSPG-${{ steps.package_version.outputs.value }}-linux-amd64.AppImage
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-linux-amd64.AppImage
# CSG-1.3.4-sp7-linux-amd64.AppImage
name: CSG-${{ steps.package_version.outputs.value }}-linux-amd64.AppImage
path: ./release/CSG-${{ steps.package_version.outputs.value }}-linux-amd64.AppImage
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Linux(arm64)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'linux') && env.COMPATIBILITY_MODE == 'normal') }}
with:
# CSPG-1.3.4-sp7-linux-arm64.AppImage
name: CSPG-${{ steps.package_version.outputs.value }}-linux-arm64.AppImage
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-linux-arm64.AppImage
# CSG-1.3.4-sp7-linux-arm64.AppImage
name: CSG-${{ steps.package_version.outputs.value }}-linux-arm64.AppImage
path: ./release/CSG-${{ steps.package_version.outputs.value }}-linux-arm64.AppImage
if-no-files-found: error

- name: Upload Yakit(EE) Artifacts Legacy Windows
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'win') && env.COMPATIBILITY_MODE == 'legacy') }}
with:
# CSPG-1.3.4-sp7-windows-legacy-amd64.exe
name: CSPG-${{ steps.package_version.outputs.value }}-windows-legacy-amd64.exe
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-windows-legacy-amd64.exe
# CSG-1.3.4-sp7-windows-legacy-amd64.exe
name: CSG-${{ steps.package_version.outputs.value }}-windows-legacy-amd64.exe
path: ./release/CSG-${{ steps.package_version.outputs.value }}-windows-legacy-amd64.exe
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Legacy Mac(m1)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'mac') && env.COMPATIBILITY_MODE == 'legacy') }}
with:
# CSPG-1.3.4-sp7-darwin-legacy-arm64.dmg
name: CSPG-${{ steps.package_version.outputs.value }}-darwin-legacy-arm64.dmg
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-darwin-legacy-arm64.dmg
# CSG-1.3.4-sp7-darwin-legacy-arm64.dmg
name: CSG-${{ steps.package_version.outputs.value }}-darwin-legacy-arm64.dmg
path: ./release/CSG-${{ steps.package_version.outputs.value }}-darwin-legacy-arm64.dmg
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Legacy Mac(intel)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'mac') && env.COMPATIBILITY_MODE == 'legacy') }}
with:
# CSPG-1.3.4-sp7-darwin-legacy-x64.dmg
name: CSPG-${{ steps.package_version.outputs.value }}-darwin-legacy-x64.dmg
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-darwin-legacy-x64.dmg
# CSG-1.3.4-sp7-darwin-legacy-x64.dmg
name: CSG-${{ steps.package_version.outputs.value }}-darwin-legacy-x64.dmg
path: ./release/CSG-${{ steps.package_version.outputs.value }}-darwin-legacy-x64.dmg
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Legacy Linux(amd64)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'linux') && env.COMPATIBILITY_MODE == 'legacy') }}
with:
# CSPG-1.3.4-sp7-linux-legacy-amd64.AppImage
name: CSPG-${{ steps.package_version.outputs.value }}-linux-legacy-amd64.AppImage
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-linux-legacy-amd64.AppImage
# CSG-1.3.4-sp7-linux-legacy-amd64.AppImage
name: CSG-${{ steps.package_version.outputs.value }}-linux-legacy-amd64.AppImage
path: ./release/CSG-${{ steps.package_version.outputs.value }}-linux-legacy-amd64.AppImage
if-no-files-found: error
- name: Upload Yakit(EE) Artifacts Legacy Linux(arm64)
uses: actions/upload-artifact@v4
if: ${{ env.IS_TAG_RELEASE == 'tag/v' || ((env.PACKAGING_PLATFORM == 'mwl' || env.PACKAGING_PLATFORM == 'linux') && env.COMPATIBILITY_MODE == 'legacy') }}
with:
# CSPG-1.3.4-sp7-linux-legacy-arm64.AppImage
name: CSPG-${{ steps.package_version.outputs.value }}-linux-legacy-arm64.AppImage
path: ./release/CSPG-${{ steps.package_version.outputs.value }}-linux-legacy-arm64.AppImage
# CSG-1.3.4-sp7-linux-legacy-arm64.AppImage
name: CSG-${{ steps.package_version.outputs.value }}-linux-legacy-arm64.AppImage
path: ./release/CSG-${{ steps.package_version.outputs.value }}-linux-legacy-arm64.AppImage
if-no-files-found: error

publish_yakit_ee_to_oss:
Expand Down
4 changes: 2 additions & 2 deletions app/renderer/src/main/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000"/>
<meta
name="description"
content="CSPG"
content="CSG"
/>
<meta name="referrer" content="no-referrer" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png"/>
Expand All @@ -25,7 +25,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>CSPG</title>
<title>CSG</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
12 changes: 6 additions & 6 deletions build/yakit_build.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ FunctionEnd
StrCpy $INSTALL_PATH_REG_KEY_NAME "EnpriTraceAgent_InstallPath"
StrCpy $EXE_NAME "EnpriTraceAgent"
${Else}
${StrStr} $0 $EXEFILE "CSPG"
${StrStr} $0 $EXEFILE "CSG"
${If} $0 != "" ; ee
StrCpy $INSTALL_PATH_REG_KEY_NAME "CSPG_InstallPath"
StrCpy $EXE_NAME "CSPG"
StrCpy $INSTALL_PATH_REG_KEY_NAME "CSG_InstallPath"
StrCpy $EXE_NAME "CSG"
${EndIf}
${EndIf}

Expand All @@ -131,9 +131,9 @@ FunctionEnd
StrCpy $INSTALL_PATH_REG_KEY_NAME "EnpriTraceAgent_InstallPath"
StrCpy $EXE_NAME "EnpriTraceAgent"
${Else}
${If} ${FileExists} `$INSTDIR\CSPG.exe` ; ee
StrCpy $INSTALL_PATH_REG_KEY_NAME "CSPG_InstallPath"
StrCpy $EXE_NAME "CSPG"
${If} ${FileExists} `$INSTDIR\CSG.exe` ; ee
StrCpy $INSTALL_PATH_REG_KEY_NAME "CSG_InstallPath"
StrCpy $EXE_NAME "CSG"
${EndIf}
${EndIf}

Expand Down
6 changes: 3 additions & 3 deletions multibuilder/electron-builder-ee-legacy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: "io.yaklang.CSPG"
appId: "io.yaklang.CSG"
extraMetadata:
name: cspg
productName: "CSPG"
name: CSG
productName: "CSG"
copyright: Copyright © 2021 v1ll4n

extraFiles:
Expand Down
6 changes: 3 additions & 3 deletions multibuilder/electron-builder-ee.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: "io.yaklang.CSPG"
appId: "io.yaklang.CSG"
extraMetadata:
name: cspg
productName: "CSPG"
name: CSG
productName: "CSG"
copyright: Copyright © 2021 v1ll4n

extraFiles:
Expand Down

0 comments on commit 6098371

Please sign in to comment.