diff --git a/PYAS.py b/PYAS.py index 3d7dfef..8a8434a 100644 --- a/PYAS.py +++ b/PYAS.py @@ -1410,7 +1410,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI self.ui.Virus_Scan_text.setText(self.scaning+fullpath) QApplication.processEvents() if self.show_virus_scan_progress_bar == 0: - if 'C:/Windows' in fullpath or 'C:/$Recycle.Bin' in fullpath: + if 'C:/Windows' in fullpath or 'C:/$Recycle.Bin' in fullpath or 'AppData' in fullpath: pass else: if 'C:/Program' in fullpath: @@ -1905,6 +1905,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI fullpath = os.path.join(path,fd) if 'C:/Windows' in fullpath or 'AppData' in fullpath or 'PerfLogs' in fullpath: pass + elif 'C:/Program' in fullpath: + if 'Windows' in fullpath or 'Microsoft' in fullpath: + pass + else: if os.path.isdir(fullpath): self.findfile_zh(fullpath,ffile,start) diff --git a/PYAS_UI.py b/PYAS_UI.py index 039665e..fcff82e 100644 --- a/PYAS_UI.py +++ b/PYAS_UI.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Form implementation generated from reading ui file 'C:\Users\Windows\Documents\Project\Python\PYDT開發團隊\PYAS防毒軟體\PYAS_程式碼\MainUI.ui' +# Form implementation generated from reading ui file 'C:\Users\Windows\Documents\Project\Python\PYDT開發團隊\PYAS防毒軟體\PYAS_程式碼\PYAS_UI.ui' # # Created by: PyQt5 UI code generator 5.15.7 # @@ -1190,7 +1190,7 @@ class Ui_MainWindow(object): self.State_output.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse) self.State_output.setObjectName("State_output") self.State_log = QtWidgets.QLabel(self.State_widget) - self.State_log.setGeometry(QtCore.QRect(95, 280, 481, 41)) + self.State_log.setGeometry(QtCore.QRect(95, 280, 481, 31)) font = QtGui.QFont() font.setFamily("Microsoft YaHei") font.setPointSize(11) diff --git a/PYAS_UI.ui b/PYAS_UI.ui index 2f7df4b..d658ac2 100644 --- a/PYAS_UI.ui +++ b/PYAS_UI.ui @@ -2365,7 +2365,7 @@ QPushButton:hover 95 280 481 - 41 + 31