Will remove win32 dlls (#867)

This commit is contained in:
Raivis Dejus 2024-08-02 23:20:02 +03:00 committed by GitHub
commit 76c5a0bd99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 2 deletions

View file

@ -18,6 +18,15 @@ jobs:
outputs:
snap: ${{ steps.snapcraft.outputs.snap }}
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 20000
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
- uses: actions/checkout@v4
with:
submodules: recursive

View file

@ -53,7 +53,6 @@ if platform.system() == "Windows":
binaries.append(("dll_backup/SDL2.dll", "dll_backup"))
binaries.append(("dll_backup/whisper.dll", "dll_backup"))
binaries.append(("dll_backup/win32/whisper.dll", "dll_backup/win32"))
a = Analysis(
["main.py"],

View file

@ -27,7 +27,6 @@ os.environ["PATH"] += os.pathsep + APP_BASE_DIR
if platform.system() == "Windows":
os.add_dll_directory(APP_BASE_DIR)
os.add_dll_directory(os.path.join(APP_BASE_DIR, "dll_backup"))
os.add_dll_directory(os.path.join(APP_BASE_DIR, "dll_backup", "win32"))
def main():