1
This commit is contained in:
1 parent
be6b954dba
commit
5580a44164
6 files changed
+65
-29
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 369 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -73,11 +73,13 @@ ManifestDPIAware true
|
||||
Name "${INFO_PRODUCTNAME}"
|
||||
OutFile "..\..\bin\${INFO_PROJECTNAME}-${ARCH}-installer.exe" # Name of the installer's file.
|
||||
InstallDir "$PROGRAMFILES64\shop_main" # Default installing folder ($PROGRAMFILES is Program Files folder).
|
||||
InstallDir "$PROGRAMFILES64\shop_main" # Default installing folder ($PROGRAMFILES is Program Files folder).
|
||||
ShowInstDetails show # This will always show the installation details.
|
||||
|
||||
Function .onInit
|
||||
!insertmacro wails.checkArchitecture
|
||||
ExecWait '"taskkill" /F /IM "piVideo.exe"'
|
||||
ExecWait '"taskkill" /F /IM "piVideo.exe"'
|
||||
FunctionEnd
|
||||
|
||||
Section
|
||||
@@ -92,11 +94,6 @@ Section
|
||||
CreateShortcut "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}"
|
||||
CreateShortCut "$DESKTOP\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}" "" "$INSTDIR\icon.ico"
|
||||
|
||||
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer" "Shell Icons" ""
|
||||
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer" "Shell Icons"
|
||||
SendMessage 0xFFFF 0x0017 0 0 /TIMEOUT=5000
|
||||
CreateShortCut "$DESKTOP\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}" "" "$INSTDIR\icon.ico"
|
||||
|
||||
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer" "Shell Icons" ""
|
||||
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer" "Shell Icons"
|
||||
SendMessage 0xFFFF 0x0017 0 0 /TIMEOUT=5000
|
||||
@@ -116,6 +113,7 @@ SectionEnd
|
||||
Section "uninstall"
|
||||
!insertmacro wails.setShellContext
|
||||
ExecWait '"taskkill" /F /IM "piVideo.exe"'
|
||||
ExecWait '"taskkill" /F /IM "piVideo.exe"'
|
||||
RMDir /r "$AppData\${PRODUCT_EXECUTABLE}" # Remove the WebView2 DataPath
|
||||
|
||||
RMDir /r $INSTDIR
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
!include "FileFunc.nsh"
|
||||
|
||||
!ifndef INFO_PROJECTNAME
|
||||
!define INFO_PROJECTNAME "速哇3D摄影管理平台"
|
||||
!define INFO_PROJECTNAME "银箭3D真人公仔"
|
||||
!endif
|
||||
!ifndef INFO_COMPANYNAME
|
||||
!define INFO_COMPANYNAME "速哇3D摄影管理平台"
|
||||
!define INFO_COMPANYNAME "银箭3D真人公仔"
|
||||
!endif
|
||||
!ifndef INFO_PRODUCTNAME
|
||||
!define INFO_PRODUCTNAME "速哇3D摄影管理平台"
|
||||
!define INFO_PRODUCTNAME "银箭3D真人公仔"
|
||||
!endif
|
||||
!ifndef INFO_PRODUCTVERSION
|
||||
!define INFO_PRODUCTVERSION "1.0.0"
|
||||
|
||||
@@ -17,6 +17,7 @@ import (
|
||||
"github.com/wailsapp/wails/v2/pkg/menu/keys"
|
||||
"github.com/wailsapp/wails/v2/pkg/options"
|
||||
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
||||
"github.com/wailsapp/wails/v2/pkg/runtime"
|
||||
)
|
||||
|
||||
//go:embed all:frontend/dist
|
||||
@@ -56,7 +57,7 @@ func main() {
|
||||
AppMenu := menu.NewMenu()
|
||||
SubMenu := AppMenu.AddSubmenu("工具")
|
||||
SubMenu.AddText("刷新", keys.CmdOrCtrl("F5"), func(_ *menu.CallbackData) {
|
||||
// runtime.Reload(app.ctx)
|
||||
runtime.Reload(app.ctx)
|
||||
})
|
||||
|
||||
|
||||
|
||||
+57
-20
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://wails.io/schemas/config.v2.json",
|
||||
"name": "速哇3D摄影门店管理系统",
|
||||
"outputfilename": "12",
|
||||
"name": "银箭3D真人公仔",
|
||||
"outputfilename": "29",
|
||||
"frontend:install": "npm install",
|
||||
"frontend:build": "npm run build",
|
||||
"frontend:dev:watcher": "npm run dev",
|
||||
@@ -23,29 +23,66 @@
|
||||
]
|
||||
},
|
||||
"ext_oem": {
|
||||
"id": 12,
|
||||
"domain": "shop.suwa3d.com",
|
||||
"logo": "https://www.suwa3d.com/oem/2023/09/27/1ymv3fc24lpcvtmyos8cag8900x7md5f.png",
|
||||
"short_logo": "https://www.suwa3d.com/oem/2023/09/27/1ymv3fc24lpcvtmykbsrr1e8008y4z27.png",
|
||||
"favicon": "https://www.suwa3d.com/oem/2024/03/05/1292gxb4g1qczlppvu48hcl7001nl3nt.ico",
|
||||
"brand_name": "速哇3D摄影门店管理系统",
|
||||
"link": "1",
|
||||
"photo_title": "速哇3D摄影门店管理系统",
|
||||
"id": 29,
|
||||
"domain": "shop.sharewow3d.com",
|
||||
"web_domain": "web.sharewow3d.com",
|
||||
"logo": "https://www.suwa3d.com/oem/2025/01/03/N0SOTI6pds.png",
|
||||
"short_logo": "https://www.suwa3d.com/oem/2025/01/03/Ysms5a6WjP.png",
|
||||
"favicon": "https://www.suwa3d.com/oem/2025/01/03/6KKDItMfj0.png",
|
||||
"brand_name": "银箭3D真人公仔",
|
||||
"short_brand_name": "银箭3D真人公仔",
|
||||
"link": "8860918133405",
|
||||
"photo_title": "银箭3D真人公仔",
|
||||
"link_shop_id": "0",
|
||||
"api_host": "https://shop.api.suwa3d.com/admin",
|
||||
"createTime": "2023-04-18 11:08:00",
|
||||
"updateTime": "2024-03-06 10:16:44",
|
||||
"api_host": "https://shop.api.sharewow3d.com/admin",
|
||||
"createTime": "2025-01-03 16:40:41",
|
||||
"updateTime": "2025-01-07 15:42:02",
|
||||
"type": 1,
|
||||
"wechat_login": 1,
|
||||
"wechat_login_url": "https://wechat.api.suwa3d.com/wxAuthor.html?wxparams=",
|
||||
"language": "zh-CN",
|
||||
"wechat_login": 0,
|
||||
"wechat_login_url": "",
|
||||
"language": "zh-TW",
|
||||
"default_page": "/takephoto",
|
||||
"data_url": "https://3dview.suwa3d.com",
|
||||
"website_url": "https://www.suwa3d.com",
|
||||
"print_logo": "https://www.suwa3d.com/oem/2024/03/05/1292gxb4dd5czlosocroa5s1a0u0va2v.png",
|
||||
"show_print_tip": "关注速哇3D摄影微信公众号,可查询订单进度信息。",
|
||||
"webwechat": "https://wechat.suwa3d.com",
|
||||
"print_logo": "https://www.suwa3d.com/oem/2025/01/03/MlhI53uo1C.png",
|
||||
"show_print_tip": "",
|
||||
"webwechat": "",
|
||||
"set_up_status": 0,
|
||||
"exe_logo": "https://www.suwa3d.com/oem/2024/03/05/1292gxb4g1qczlpiadsaguu200l0y6d2.png"
|
||||
"exe_logo": "https://www.suwa3d.com/oem/2025/01/03/JupDfpM0u3.jpg",
|
||||
"shop_ids": [
|
||||
194
|
||||
],
|
||||
"agree_mode": 2,
|
||||
"agrees": [
|
||||
{
|
||||
"title": "《银箭用户服务协议》",
|
||||
"lang": "zh-CN",
|
||||
"url": "/pages/agreement/v1/customer/zh-CN/29/20250103165738.html",
|
||||
"agree_type": 1
|
||||
},
|
||||
{
|
||||
"title": "《银箭隐私政策》",
|
||||
"lang": "zh-CN",
|
||||
"url": "/pages/agreement/v1/customer/zh-CN/29/20250103165708.html",
|
||||
"agree_type": 2
|
||||
}
|
||||
],
|
||||
"exclude_menus": [
|
||||
0,
|
||||
1043,
|
||||
1049,
|
||||
1086,
|
||||
1096,
|
||||
1454,
|
||||
1455,
|
||||
1456,
|
||||
1460,
|
||||
1489,
|
||||
1490,
|
||||
3377,
|
||||
3297,
|
||||
0
|
||||
],
|
||||
"wechat_login_appid": ""
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user