Browse Source

引入打包成exe的appTime

master
Chunxian Zhang 2 years ago
parent
commit
15c4d01f8c
32 changed files with 32740 additions and 7 deletions
  1. +5
    -1
      .gitignore
  2. BIN
      appTime/AppTime-Realease/AppTime.exe
  3. +54
    -0
      appTime/AppTime-Realease/AppTime.exe.config
  4. BIN
      appTime/AppTime-Realease/AppTime.pdb
  5. BIN
      appTime/AppTime-Realease/Newtonsoft.Json.dll
  6. +11262
    -0
      appTime/AppTime-Realease/Newtonsoft.Json.xml
  7. BIN
      appTime/AppTime-Realease/SQLitePCLRaw.core.dll
  8. BIN
      appTime/AppTime-Realease/SQLitePCLRaw.provider.e_sqlite3.dll
  9. BIN
      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. BIN
      appTime/AppTime-Realease/ffmpeg/avcodec-57.dll
  13. BIN
      appTime/AppTime-Realease/ffmpeg/avcodec-58.dll
  14. BIN
      appTime/AppTime-Realease/ffmpeg/avdevice-57.dll
  15. BIN
      appTime/AppTime-Realease/ffmpeg/avdevice-58.dll
  16. BIN
      appTime/AppTime-Realease/ffmpeg/avfilter-6.dll
  17. BIN
      appTime/AppTime-Realease/ffmpeg/avfilter-7.dll
  18. BIN
      appTime/AppTime-Realease/ffmpeg/avformat-57.dll
  19. BIN
      appTime/AppTime-Realease/ffmpeg/avformat-58.dll
  20. BIN
      appTime/AppTime-Realease/ffmpeg/avutil-55.dll
  21. BIN
      appTime/AppTime-Realease/ffmpeg/avutil-56.dll
  22. BIN
      appTime/AppTime-Realease/ffmpeg/ffmpeg.exe
  23. BIN
      appTime/AppTime-Realease/ffmpeg/postproc-54.dll
  24. BIN
      appTime/AppTime-Realease/ffmpeg/postproc-55.dll
  25. BIN
      appTime/AppTime-Realease/ffmpeg/swresample-2.dll
  26. BIN
      appTime/AppTime-Realease/ffmpeg/swresample-3.dll
  27. BIN
      appTime/AppTime-Realease/ffmpeg/swscale-4.dll
  28. BIN
      appTime/AppTime-Realease/ffmpeg/swscale-5.dll
  29. BIN
      appTime/AppTime-Realease/x64/SQLite.Interop.dll
  30. BIN
      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 View File

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

BIN
appTime/AppTime-Realease/AppTime.exe View File


+ 54
- 0
appTime/AppTime-Realease/AppTime.exe.config View File

@ -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>

BIN
appTime/AppTime-Realease/AppTime.pdb View File


BIN
appTime/AppTime-Realease/Newtonsoft.Json.dll View File


+ 11262
- 0
appTime/AppTime-Realease/Newtonsoft.Json.xml
File diff suppressed because it is too large
View File


BIN
appTime/AppTime-Realease/SQLitePCLRaw.core.dll View File


BIN
appTime/AppTime-Realease/SQLitePCLRaw.provider.e_sqlite3.dll View File


BIN
appTime/AppTime-Realease/System.Data.SQLite.dll View File


+ 22
- 0
appTime/AppTime-Realease/System.Data.SQLite.dll.config View File

@ -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
File diff suppressed because it is too large
View File


BIN
appTime/AppTime-Realease/ffmpeg/avcodec-57.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avcodec-58.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avdevice-57.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avdevice-58.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avfilter-6.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avfilter-7.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avformat-57.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avformat-58.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avutil-55.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/avutil-56.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/ffmpeg.exe View File


BIN
appTime/AppTime-Realease/ffmpeg/postproc-54.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/postproc-55.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/swresample-2.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/swresample-3.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/swscale-4.dll View File


BIN
appTime/AppTime-Realease/ffmpeg/swscale-5.dll View File


BIN
appTime/AppTime-Realease/x64/SQLite.Interop.dll View File


BIN
appTime/AppTime-Realease/x86/SQLite.Interop.dll View File


+ 1
- 0
lazy-timer-be/.falskenv View File

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

+ 17
- 6
lazy-timer-be/app.py View File

@ -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…
Cancel
Save