pc端添加客服窗口

This commit is contained in:
cyh 2026-08-27 18:03:39 +08:00
parent 9d9158607a
commit f412d73acb
3 changed files with 10 additions and 7 deletions

2
.tools/clang-shim/clang Normal file → Executable file
View File

@ -16,7 +16,7 @@ done
real_clang=""
IFS=':' read -ra PATHS <<< "$PATH"
for p in "${PATHS[@]}"; do
if [ "$p" != "/Users/air/work/telescope/tele-monorepo/packages/yijianlian-app/.tools/clang-shim" ] && [ -x "$p/clang" ]; then
if [ "$p" != "/Users/cyh/app-template/packages/qihang-app/.tools/clang-shim" ] && [ -x "$p/clang" ]; then
real_clang="$p/clang"
break
fi

View File

@ -5,6 +5,7 @@
"windows": ["main"],
"permissions": [
"core:default",
"core:webview:allow-create-webview",
"core:webview:allow-create-webview-window",
"core:window:allow-set-title",
"core:window:allow-hide",

View File

@ -48,13 +48,15 @@ FunctionEnd
DetailPrint "Service will be installed automatically when the application starts"
; Rename shortcuts to display name if APP_DISPLAY_NAME is configured.
; productName controls install dir (ASCII), display name controls user-facing label.
; When productName already matches the display name, Tauri creates the right shortcuts.
!if "" != ""
IfFileExists "$DESKTOP\$PRODUCTNAME.lnk" 0 +2
Rename "$DESKTOP\$PRODUCTNAME.lnk" "$DESKTOP\.lnk"
IfFileExists "$SMPROGRAMS\$PRODUCTNAME\$PRODUCTNAME.lnk" 0 +3
Rename "$SMPROGRAMS\$PRODUCTNAME\$PRODUCTNAME.lnk" "$SMPROGRAMS\$PRODUCTNAME\.lnk"
Rename "$SMPROGRAMS\$PRODUCTNAME" "$SMPROGRAMS\"
!if "" != "${PRODUCTNAME}"
IfFileExists "$DESKTOP\${PRODUCTNAME}.lnk" 0 +2
Rename "$DESKTOP\${PRODUCTNAME}.lnk" "$DESKTOP\.lnk"
IfFileExists "$SMPROGRAMS\${PRODUCTNAME}\${PRODUCTNAME}.lnk" 0 +3
Rename "$SMPROGRAMS\${PRODUCTNAME}\${PRODUCTNAME}.lnk" "$SMPROGRAMS\${PRODUCTNAME}\.lnk"
Rename "$SMPROGRAMS\${PRODUCTNAME}" "$SMPROGRAMS\"
!endif
!endif
!macroend