Skip to content

Commit c3a5082

Browse files
committed
Final testing on reducing the Ubuntu build file size.
1 parent c77a607 commit c3a5082

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
sudo apt-get install -y upx
4141
42-
pyinstaller --onefile --name Scriptify --icon web/favicon.ico --add-data "ffmpeg/ffmpeg_ubuntu.zip:ffmpeg" --hidden-import="whisper" --add-data "whisper:whisper" --exclude-module tkinter --exclude-module PyQt5 \
42+
pyinstaller --onefile --clean --strip --name Scriptify --icon web/favicon.ico --add-data "ffmpeg/ffmpeg_ubuntu.zip:ffmpeg" --hidden-import="whisper" --add-data "whisper:whisper" --exclude-module tkinter --exclude-module PyQt5 \
4343
--add-data "web:web" --add-data "js:js" --add-data "index.html:." --add-data "launch.html:." --add-data "style.css:." \
4444
--windowed main.py --version-file version_info.txt --upx-dir /usr/bin
4545
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
pyinstaller --onefile --name Scriptify --icon web/favicon.ico --add-data "ffmpeg/ffmpeg_windows.zip:ffmpeg" --hidden-import="whisper" --add-data "whisper:whisper" `
5252
--add-data "web:web" --add-data "js:js" --add-data "index.html:." --add-data "launch.html:." --add-data "style.css:." `
53-
main.py --version-file version_info.txt
53+
--windowed main.py --version-file version_info.txt
5454
5555
- name: Upload artifacts
5656
uses: actions/upload-artifact@v4

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h1>Scriptify</h1>
132132
<div class="text">
133133
<h1 contenteditable="true" id="Title">Story Title</h1>
134134
<p contenteditable="true" id="transcribedText">You can begin writing here. Or click the button in the
135-
bottom bar, to start
135+
bottom bar to start
136136
live transcription.
137137
</p>
138138
</div>

0 commit comments

Comments
 (0)