Skip to content

Commit

Permalink
feat: 打包文件名配置修改&屏蔽用户协议
Browse files Browse the repository at this point in the history
  • Loading branch information
song-xiao-lin committed Dec 6, 2024
1 parent 8abfeb8 commit 4769284
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/renderer/src/main/src/NewApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function NewApp() {
}
}, [userInfo.isLogin])

if (!agreed) {
if (false) {
return (
<>
<div className={styles["yakit-mask-drag-wrapper"]}></div>
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 "EnpriTrace"
${StrStr} $0 $EXEFILE "CSPG"
${If} $0 != "" ; ee
StrCpy $INSTALL_PATH_REG_KEY_NAME "EnpriTrace_InstallPath"
StrCpy $EXE_NAME "EnpriTrace"
StrCpy $INSTALL_PATH_REG_KEY_NAME "CSPG_InstallPath"
StrCpy $EXE_NAME "CSPG"
${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\EnpriTrace.exe` ; ee
StrCpy $INSTALL_PATH_REG_KEY_NAME "EnpriTrace_InstallPath"
StrCpy $EXE_NAME "EnpriTrace"
${If} ${FileExists} `$INSTDIR\CSPG.exe` ; ee
StrCpy $INSTALL_PATH_REG_KEY_NAME "CSPG_InstallPath"
StrCpy $EXE_NAME "CSPG"
${EndIf}
${EndIf}

Expand Down
2 changes: 1 addition & 1 deletion multibuilder/electron-builder-ee-legacy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: "io.yaklang.enpritrace"
extraMetadata:
name: enpritrace
productName: "逻辑漏洞自动化检测与利用系统"
productName: "CSPG"
copyright: Copyright © 2021 v1ll4n

extraFiles:
Expand Down
2 changes: 1 addition & 1 deletion multibuilder/electron-builder-ee.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appId: "io.yaklang.enpritrace"
extraMetadata:
name: enpritrace
productName: "逻辑漏洞自动化检测与利用系统"
productName: "CSPG"
copyright: Copyright © 2021 v1ll4n

extraFiles:
Expand Down

0 comments on commit 4769284

Please sign in to comment.