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="" real_clang=""
IFS=':' read -ra PATHS <<< "$PATH" IFS=':' read -ra PATHS <<< "$PATH"
for p in "${PATHS[@]}"; do 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" real_clang="$p/clang"
break break
fi fi

View File

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

View File

@ -48,13 +48,15 @@ FunctionEnd
DetailPrint "Service will be installed automatically when the application starts" DetailPrint "Service will be installed automatically when the application starts"
; Rename shortcuts to display name if APP_DISPLAY_NAME is configured. ; 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 "" != "" !if "" != ""
IfFileExists "$DESKTOP\$PRODUCTNAME.lnk" 0 +2 !if "" != "${PRODUCTNAME}"
Rename "$DESKTOP\$PRODUCTNAME.lnk" "$DESKTOP\.lnk" IfFileExists "$DESKTOP\${PRODUCTNAME}.lnk" 0 +2
IfFileExists "$SMPROGRAMS\$PRODUCTNAME\$PRODUCTNAME.lnk" 0 +3 Rename "$DESKTOP\${PRODUCTNAME}.lnk" "$DESKTOP\.lnk"
Rename "$SMPROGRAMS\$PRODUCTNAME\$PRODUCTNAME.lnk" "$SMPROGRAMS\$PRODUCTNAME\.lnk" IfFileExists "$SMPROGRAMS\${PRODUCTNAME}\${PRODUCTNAME}.lnk" 0 +3
Rename "$SMPROGRAMS\$PRODUCTNAME" "$SMPROGRAMS\" Rename "$SMPROGRAMS\${PRODUCTNAME}\${PRODUCTNAME}.lnk" "$SMPROGRAMS\${PRODUCTNAME}\.lnk"
Rename "$SMPROGRAMS\${PRODUCTNAME}" "$SMPROGRAMS\"
!endif
!endif !endif
!macroend !macroend