diff --git a/.gitignore b/.gitignore index cca26ba..291ef60 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,4 @@ app.*.map.json /android/app/profile /android/app/release -./add_translation.py \ No newline at end of file +add_translation.py \ No newline at end of file diff --git a/add_translation.py b/add_translation.py deleted file mode 100644 index 3fa5fb8..0000000 --- a/add_translation.py +++ /dev/null @@ -1,31 +0,0 @@ -import re -import json - -path='./assets/translation.json' - -with open(path, 'r',encoding='utf-8') as file: - translations=json.load(file) - - -while True: - line=input() - if line=="q": - break - words=line.split('-') - if len(words)!=3: - print("invalid entry:",line,"(len(words) != 3)" - continue - en=words[0] - cn=words[1] - tw=words[2] - translations["zh_CN"][en]=cn - translations["zh_TW"][en]=tw - - -with open(path, 'w',encoding='utf-8') as file: - json.dump(translations, file, indent=2,ensure_ascii=False) - - - - - diff --git a/pubspec.yaml b/pubspec.yaml index c71cbf9..119c78f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: flutter_localizations: sdk: flutter intl: any - window_manager: ^0.4.2 + window_manager: ^0.4.3 sqlite3: any sqlite3_flutter_libs: any flutter_qjs: diff --git a/windows/build.iss b/windows/build.iss index 905d0cf..8061f10 100644 --- a/windows/build.iss +++ b/windows/build.iss @@ -52,9 +52,11 @@ Source: "{#RootPath}\build\windows\x64\runner\Release\WebView2Loader.dll"; DestD Source: "{#RootPath}\build\windows\x64\runner\Release\share_plus_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "{#RootPath}\build\windows\x64\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "{#RootPath}\build\windows\x64\runner\Release\screen_retriever_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#RootPath}\build\windows\x64\runner\Release\screen_retriever_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "{#RootPath}\build\windows\x64\runner\Release\window_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "{#RootPath}\build\windows\x64\runner\Release\zip_flutter.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "{#RootPath}\build\windows\x64\runner\Release\rhttp.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#RootPath}\build\windows\x64\runner\Release\lodepng_flutter.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "{#RootPath}\build\windows\x64\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files