Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package: Win32 copy version info #754

Merged
merged 12 commits into from
Jan 11, 2024
1 change: 1 addition & 0 deletions .github/workflows/win-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
python -m pip install --upgrade pip
pip install pyqt5
pip install pyinstaller
pip install pyinstaller-versionfile
pip install -e .[win32,battery]
- name: Download mpv-1.dll
run: |
Expand Down
9 changes: 9 additions & 0 deletions .metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CompanyName: FeelUOwn
FileDescription: FeelUOwn
InternalName: FeelUOwn
LegalCopyright: © FeelUOwn. All rights reserved.
OriginalFilename: FeelUOwn.exe
ProductName: FeelUOwn
Translation:
- langID: 2052
charsetID: 1200
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,16 @@ integration_test:
test: lint unittest

BUNDLE_FLAGS=

target: ;

ifeq ($(OS),Windows_NT)
BUNDLE_FLAGS += --name FeelUOwn
BUNDLE_FLAGS += --icon feeluown/gui/assets/icons/feeluown.ico
BUNDLE_FLAGS += --version-file version_file.txt
target:
create-version-file .metadata.yml --version \
$(shell python -c 'print(__import__("feeluown").__version__, end="")' | tr -c '[:digit:]' '.')
else
# macOS: since apfs is not case-sensitive, we use FeelUOwnX instead of FeelUOwn
BUNDLE_FLAGS += --name FeelUOwnX --osx-bundle-identifier org.feeluown.FeelUOwnX
Expand Down
Loading