diff --git a/.github/out.icns b/.github/out.icns new file mode 100644 index 0000000..152d2b4 Binary files /dev/null and b/.github/out.icns differ diff --git a/.github/out.ico b/.github/out.ico new file mode 100644 index 0000000..5af4957 Binary files /dev/null and b/.github/out.ico differ diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5e36478..2d29f78 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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: @@ -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: @@ -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: diff --git a/micro_file_server/__init__.py b/micro_file_server/__init__.py index e84f940..ffd99d0 100644 --- a/micro_file_server/__init__.py +++ b/micro_file_server/__init__.py @@ -1,3 +1,3 @@ """Flask indexer and micro file server without dependencies.""" -__version__ = "0.1.2" +__version__ = "0.1.3" diff --git a/micro_file_server/__main__.py b/micro_file_server/__main__.py index 33b83b4..6a7cb67 100644 --- a/micro_file_server/__main__.py +++ b/micro_file_server/__main__.py @@ -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: diff --git a/pyproject.toml b/pyproject.toml index ade16af..9f89a17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" } ]