1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-17 20:12:54 +08:00

remove windows Copy trans

This commit is contained in:
jared 2021-01-08 17:36:00 +08:00
parent ce388fce20
commit 874356a7c8
4 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,6 @@
#include <windows.h>
#include <windowsx.h>
#pragma comment(lib, "Dwmapi.lib") // Adds missing library, fixes error LNK2019: unresolved
#pragma comment(lib, "User32.lib")
// we cannot just use WS_POPUP style
// WS_THICKFRAME: without this the window cannot be resized and so aero snap, de-maximizing and minimizing won't work
// WS_SYSMENU: enables the context menu with the move, close, maximize, minize... commands (shift + right-click on the task bar item)

View File

@ -35,6 +35,8 @@ SOURCES += \
win32 {
SOURCES += \
$$PWD/Frameless/TaoFrameLessView_win.cpp
LIBS += -lDwmapi -lUser32
} else {
SOURCES += \
$$PWD/Frameless/TaoFrameLessView_unix.cpp

View File

@ -37,4 +37,5 @@ OTHER_FILES += *.md \
_clang-format \
.qmake.conf \
.github/workflows/* \
scripts/* \
mkspecs/features/*

View File

@ -30,7 +30,6 @@ function Main() {
New-Item -ItemType Directory $archiveName
# 拷贝exe
Copy-Item bin\release\$targetName $archiveName\
Copy-Item bin\release\Trans $archiveName\Trans -Recurse
# 拷贝依赖
windeployqt --qmldir . --plugindir $archiveName\plugins --no-translations --compiler-runtime $archiveName\$targetName
# 删除不必要的文件