diff --git a/.gitignore b/.gitignore
index e69de29..1fc986b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,12 @@
+.vscode
+build
+data
+sqlcipher-3.0.1
+dist
+venv
+TEST
+app/data/avatar
+app/data/image2
+app/data/emoji
+*.db
+*.pyc
diff --git a/.idea/copyright/copyright.xml b/.idea/copyright/copyright.xml
new file mode 100644
index 0000000..f09ca01
--- /dev/null
+++ b/.idea/copyright/copyright.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..4f9af65
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,448 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ C:\Users\86390\AppData\Roaming\Subversion
+
+
+
+
+ 1672848140146
+
+
+ 1672848140146
+
+
+ 1672911758283
+
+
+
+ 1672911758283
+
+
+ 1673412476080
+
+
+
+ 1673412476080
+
+
+ 1673413173279
+
+
+
+ 1673413173279
+
+
+ 1673413541210
+
+
+
+ 1673413541210
+
+
+ 1674280781244
+
+
+
+ 1674280781244
+
+
+ 1674438226232
+
+
+
+ 1674438226232
+
+
+ 1674438387238
+
+
+
+ 1674438387238
+
+
+ 1674438462964
+
+
+
+ 1674438462964
+
+
+ 1675168912759
+
+
+
+ 1675168912759
+
+
+ 1675169020409
+
+
+
+ 1675169020409
+
+
+ 1675268807882
+
+
+
+ 1675268807882
+
+
+ 1678034382207
+
+
+
+ 1678034382207
+
+
+ 1680232548867
+
+
+
+ 1680232548867
+
+
+ 1680441801589
+
+
+
+ 1680441801589
+
+
+ 1680624068689
+
+
+
+ 1680624068689
+
+
+ 1680630659802
+
+
+
+ 1680630659802
+
+
+ 1680670947385
+
+
+
+ 1680670947385
+
+
+ 1682305451381
+
+
+
+ 1682305451381
+
+
+ 1684598124207
+
+
+
+ 1684598124207
+
+
+ 1684598177829
+
+
+
+ 1684598177830
+
+
+ 1684598440645
+
+
+
+ 1684598440645
+
+
+ 1684599002132
+
+
+
+ 1684599002132
+
+
+ 1684599566617
+
+
+
+ 1684599566617
+
+
+ 1684599688133
+
+
+
+ 1684599688133
+
+
+ 1684600483941
+
+
+
+ 1684600483941
+
+
+ 1684600882947
+
+
+
+ 1684600882947
+
+
+ 1684726034556
+
+
+
+ 1684726034556
+
+
+ 1684726338618
+
+
+
+ 1684726338618
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TEST.py b/TEST.py
deleted file mode 100644
index a03d1e8..0000000
--- a/TEST.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from snownlp import SnowNLP
-
-# 文本
-text = u'🙄”'
-# 分析
-s = SnowNLP(text)
-# 输出情绪为积极的概率
-print(s)
diff --git a/app/Ui/__init__.py b/app/Ui/__init__.py
index 97755aa..ee3b08d 100644
--- a/app/Ui/__init__.py
+++ b/app/Ui/__init__.py
@@ -9,8 +9,8 @@
"""
# 文件__init__.py
# from login import login
+from . import mainwindow
from . import mainview
-
from .decrypt import decrypt
# __all__ = ["decrypt", 'mainview']
diff --git a/app/bg.png b/app/bg.png
new file mode 100644
index 0000000..db7a99b
Binary files /dev/null and b/app/bg.png differ
diff --git a/hook-pyecharts.py b/hook-pyecharts.py
new file mode 100644
index 0000000..5ce4d96
--- /dev/null
+++ b/hook-pyecharts.py
@@ -0,0 +1,13 @@
+#-----------------------------------------------------------------------------
+ # Copyright (c) 2017-2020, PyInstaller Development Team.
+ #
+ # Distributed under the terms of the GNU General Public License (version 2
+ # or later) with exception for distributing the bootloader.
+ #
+ # The full license is in the file COPYING.txt, distributed with this software.
+ #
+ # SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception)
+ #-----------------------------------------------------------------------------
+# Hook for nanite: https://pypi.python.org/pypi/nanite
+from PyInstaller.utils.hooks import collect_data_files
+datas = collect_data_files('pyecharts')
\ No newline at end of file
diff --git a/main.spec b/main.spec
new file mode 100644
index 0000000..1b7fce7
--- /dev/null
+++ b/main.spec
@@ -0,0 +1,72 @@
+# -*- mode: python ; coding: utf-8 -*-
+
+add_files = [
+ ("D:\\Project\\Python\\WeChatMsg\\app\\data\\icon.png",'.\\app\\data'),
+ ("D:\\Project\\Python\\WeChatMsg\\app\\data\\stopwords.txt",'.\\app\\data'),
+ ("D:\\Project\\Python\\WeChatMsg\\app\\data\\bg.gif",'.\\app\\data'),
+ ("D:\\Project\\Python\\WeChatMsg\\app\\ImageBox",'.\\app\\ImageBox'),
+ ("D:\\Project\\Python\\WeChatMsg\\app\\DataBase",'.\\app\\DataBase'),
+ #("D:\\Project\\Python\\WeChatMsg\\app\\Ui",'.\\app\\Ui'),
+ ("D:\\Project\\Python\\WeChatMsg\\sqlcipher-3.0.1",'.\\sqlcipher-3.0.1'),
+ ('.\\resource\\datasets', 'pyecharts\\datasets\\.'),
+ ('.\\resource\\render\\templates', 'pyecharts\\render\\templates\\.'),
+ ('.\\data\\AnnualReport', 'data\\AnnualReport')
+]
+block_cipher = None
+
+#("D:\\Project\\Python\\WeChatMsg\\sqlcipher-3.0.1",'.\\sqlcipher-3.0.1')
+
+a = Analysis(
+ ['main.py',
+ './app/DataBase/data.py','./app/DataBase/output.py',
+ './app/Ui/mainview.py','./app/Ui/mainwindow.py',
+ './app/Ui/__init__.py',
+ './app/Ui/chat/chat.py','./app/Ui/chat/chatUi.py',
+ './app/Ui/contact/contact.py','./app/Ui/contact/contactUi.py','./app/Ui/contact/analysis/analysis.py','./app/Ui/contact/analysis/charts.py','./app/Ui/contact/report/report.py',
+ './app/Ui/contact/userinfo/userinfoUi.py',
+ './app/Ui/decrypt/decrypt.py','./app/Ui/decrypt/decryptUi.py',
+ './app/Ui/userinfo/userinfo.py','./app/Ui/userinfo/userinfoUi.py',
+ ],
+ pathex=[],
+ binaries=[],
+ datas=add_files,
+ hiddenimports=[],
+ hookspath=[],
+ hooksconfig={},
+ runtime_hooks=[],
+ excludes=[],
+ win_no_prefer_redirects=False,
+ win_private_assemblies=False,
+ cipher=block_cipher,
+ noarchive=False,
+)
+pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
+
+exe = EXE(
+ pyz,
+ a.scripts,
+ [],
+ exclude_binaries=True,
+ name='main',
+ debug=False,
+ bootloader_ignore_signals=False,
+ strip=False,
+ upx=True,
+ console=True,
+ disable_windowed_traceback=True,
+ argv_emulation=False,
+ target_arch=None,
+ codesign_identity=None,
+ entitlements_file=None,
+ icon='./app/data/icon.png'
+)
+coll = COLLECT(
+ exe,
+ a.binaries,
+ a.zipfiles,
+ a.datas,
+ strip=False,
+ upx=True,
+ upx_exclude=[],
+ name='main',
+)