瀏覽代碼

引入打包成exe的appTime

master
Chunxian Zhang 2 年之前
父節點
當前提交
15c4d01f8c
共有 32 個文件被更改,包括 32740 次插入7 次删除
  1. +5
    -1
      .gitignore
  2. 二進制
      appTime/AppTime-Realease/AppTime.exe
  3. +54
    -0
      appTime/AppTime-Realease/AppTime.exe.config
  4. 二進制
      appTime/AppTime-Realease/AppTime.pdb
  5. 二進制
      appTime/AppTime-Realease/Newtonsoft.Json.dll
  6. +11262
    -0
      appTime/AppTime-Realease/Newtonsoft.Json.xml
  7. 二進制
      appTime/AppTime-Realease/SQLitePCLRaw.core.dll
  8. 二進制
      appTime/AppTime-Realease/SQLitePCLRaw.provider.e_sqlite3.dll
  9. 二進制
      appTime/AppTime-Realease/System.Data.SQLite.dll
  10. +22
    -0
      appTime/AppTime-Realease/System.Data.SQLite.dll.config
  11. +21379
    -0
      appTime/AppTime-Realease/System.Data.SQLite.xml
  12. 二進制
      appTime/AppTime-Realease/ffmpeg/avcodec-57.dll
  13. 二進制
      appTime/AppTime-Realease/ffmpeg/avcodec-58.dll
  14. 二進制
      appTime/AppTime-Realease/ffmpeg/avdevice-57.dll
  15. 二進制
      appTime/AppTime-Realease/ffmpeg/avdevice-58.dll
  16. 二進制
      appTime/AppTime-Realease/ffmpeg/avfilter-6.dll
  17. 二進制
      appTime/AppTime-Realease/ffmpeg/avfilter-7.dll
  18. 二進制
      appTime/AppTime-Realease/ffmpeg/avformat-57.dll
  19. 二進制
      appTime/AppTime-Realease/ffmpeg/avformat-58.dll
  20. 二進制
      appTime/AppTime-Realease/ffmpeg/avutil-55.dll
  21. 二進制
      appTime/AppTime-Realease/ffmpeg/avutil-56.dll
  22. 二進制
      appTime/AppTime-Realease/ffmpeg/ffmpeg.exe
  23. 二進制
      appTime/AppTime-Realease/ffmpeg/postproc-54.dll
  24. 二進制
      appTime/AppTime-Realease/ffmpeg/postproc-55.dll
  25. 二進制
      appTime/AppTime-Realease/ffmpeg/swresample-2.dll
  26. 二進制
      appTime/AppTime-Realease/ffmpeg/swresample-3.dll
  27. 二進制
      appTime/AppTime-Realease/ffmpeg/swscale-4.dll
  28. 二進制
      appTime/AppTime-Realease/ffmpeg/swscale-5.dll
  29. 二進制
      appTime/AppTime-Realease/x64/SQLite.Interop.dll
  30. 二進制
      appTime/AppTime-Realease/x86/SQLite.Interop.dll
  31. +1
    -0
      lazy-timer-be/.falskenv
  32. +17
    -6
      lazy-timer-be/app.py

+ 5
- 1
.gitignore 查看文件

@ -3,4 +3,8 @@ node_modules
*.pyc
*~
__pycache__
.DS_Store
.DS_Store
.env
*.db
icons
images

二進制
appTime/AppTime-Realease/AppTime.exe 查看文件


+ 54
- 0
appTime/AppTime-Realease/AppTime.exe.config 查看文件

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="AppTime.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SQLitePCLRaw.core" publicKeyToken="1488e028ca7ab535" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.3.851" newVersion="2.0.3.851" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Accord" publicKeyToken="fa1a88e29555ccf7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.8.2.0" newVersion="3.8.2.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Accord.Video" publicKeyToken="fa1a88e29555ccf7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.8.2.0" newVersion="3.8.2.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<userSettings>
<AppTime.Properties.Settings>
<setting name="DataPath" serializeAs="String">
<value />
</setting>
<setting name="RecordScreenDays" serializeAs="String">
<value>30</value>
</setting>
<setting name="ImageQuality" serializeAs="String">
<value>50</value>
</setting>
</AppTime.Properties.Settings>
</userSettings>
</configuration>

二進制
appTime/AppTime-Realease/AppTime.pdb 查看文件


二進制
appTime/AppTime-Realease/Newtonsoft.Json.dll 查看文件


+ 11262
- 0
appTime/AppTime-Realease/Newtonsoft.Json.xml
文件差異過大導致無法顯示
查看文件


二進制
appTime/AppTime-Realease/SQLitePCLRaw.core.dll 查看文件


二進制
appTime/AppTime-Realease/SQLitePCLRaw.provider.e_sqlite3.dll 查看文件


二進制
appTime/AppTime-Realease/System.Data.SQLite.dll 查看文件


+ 22
- 0
appTime/AppTime-Realease/System.Data.SQLite.dll.config 查看文件

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!--
*
* System.Data.SQLite.dll.config -
*
* WARNING: This XML configuration file is intended for use within the NuGet
* package directories only. Please do not copy this file to any of
* the build output directories because it could interfere with the
* native library pre-loading feature.
*
* Written by Joe Mistachkin.
* Released to the public domain, use at your own risk!
*
-->
<configuration>
<appSettings>
<add key="PreLoadSQLite_BaseDirectory"
value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
</appSettings>
<dllmap dll="SQLite.Interop" target="SQLite.Interop.dll" />
</configuration>

+ 21379
- 0
appTime/AppTime-Realease/System.Data.SQLite.xml
文件差異過大導致無法顯示
查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avcodec-57.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avcodec-58.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avdevice-57.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avdevice-58.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avfilter-6.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avfilter-7.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avformat-57.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avformat-58.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avutil-55.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/avutil-56.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/ffmpeg.exe 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/postproc-54.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/postproc-55.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/swresample-2.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/swresample-3.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/swscale-4.dll 查看文件


二進制
appTime/AppTime-Realease/ffmpeg/swscale-5.dll 查看文件


二進制
appTime/AppTime-Realease/x64/SQLite.Interop.dll 查看文件


二進制
appTime/AppTime-Realease/x86/SQLite.Interop.dll 查看文件


+ 1
- 0
lazy-timer-be/.falskenv 查看文件

@ -0,0 +1 @@
FLASK_ENV=development

+ 17
- 6
lazy-timer-be/app.py 查看文件

@ -1,12 +1,23 @@
import sys
from flask import Flask
from markupsafe import escape # 字符串转义处理
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
# SQLite windows适配
WIN = sys.platform.startswith('win')
if WIN:
prefix = 'sqlite:///'
else:
prefix = 'sqlite:////'
app = Flask(__name__)
db = SQLAlchemy(app) # 初始化拓展, 传入程序实例 app
@app.route('/')
def hello_world(): # put application's code here
return 'Hello World!'
def hello():
return 'Welcome to My Watchlist!'
if __name__ == '__main__':
app.run()
@app.route('/user/<name>')
def user_page(name):
return f'User: {escape(name)}'

Loading…
取消
儲存