Skip to content

Commit

Permalink
add icon to released executables
Browse files Browse the repository at this point in the history
  • Loading branch information
none committed Jan 31, 2024
1 parent 3355a5f commit 76ba7ce
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Binary file added .github/out.icns
Binary file not shown.
Binary file added .github/out.ico
Binary file not shown.
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# idk what is build
- name: Run PyInstaller
run: |
pyinstaller --onefile --collect-all flask --name micro-file-server micro_file_server/__main__.py
pyinstaller --onefile --collect-all flask --name micro-file-server --icon .github/out.ico micro_file_server/__main__.py
sha512sum ./dist/micro-file-server.exe > ./dist/micro-file-server.exe.sha512.txt
- name: Create a Release
env:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
# idk what is build
- name: Run PyInstaller
run: |
pyinstaller --onefile --collect-all flask --name micro-file-server-ubuntu micro_file_server/__main__.py
pyinstaller --onefile --collect-all flask --name micro-file-server-ubuntu --icon .github/out.ico micro_file_server/__main__.py
sha512sum ./dist/micro-file-server-ubuntu > ./dist/micro-file-server-ubuntu.sha512.txt
- name: Create a Release
env:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
# idk what is build
- name: Run PyInstaller
run: |
pyinstaller --onefile --collect-all flask --name micro-file-server-macos micro_file_server/__main__.py
pyinstaller --onefile --collect-all flask --name micro-file-server-macos --icon .github/out.icns micro_file_server/__main__.py
shasum -a 512 ./dist/micro-file-server-macos > ./dist/micro-file-server-macos.sha512.txt
- name: Create a Release
env:
Expand Down
2 changes: 1 addition & 1 deletion micro_file_server/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Flask indexer and micro file server without dependencies."""

__version__ = "0.1.2"
__version__ = "0.1.3"
2 changes: 1 addition & 1 deletion micro_file_server/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Author: Anoncheg1
# Keywords: filesharing, fileserver, httpserver, simplehttp
# URL: https://github.com/Anoncheg1/pinyin-isearch
# Version: 0.1.2
# Version: 0.1.3
# Requires: Flask >= 2.3.2

# License:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "micro_file_server"
readme = "README.md"
version = "0.1.2"
version = "0.1.3"
authors = [
{ name="Anoncheg1" }
]
Expand Down

0 comments on commit 76ba7ce

Please sign in to comment.