trying this with a placeholder image...
This commit is contained in:
parent
91f1393ad3
commit
614f553a58
1 changed files with 5 additions and 2 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pyinstaller --onefile --windowed time_logix.py
|
pyinstaller --onefile --windowed time_logix.py
|
||||||
|
|
||||||
- name: Create AppDir and Files without Icon
|
- name: Create AppDir and Files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p AppDir/usr/bin
|
mkdir -p AppDir/usr/bin
|
||||||
pyinstaller --onefile --windowed time_logix.py
|
pyinstaller --onefile --windowed time_logix.py
|
||||||
|
|
@ -40,15 +40,18 @@ jobs:
|
||||||
exec "$HERE/usr/bin/time_logix" "$@"
|
exec "$HERE/usr/bin/time_logix" "$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x AppDir/AppRun
|
chmod +x AppDir/AppRun
|
||||||
# Create desktop file without an icon reference
|
# Create desktop file with icon reference
|
||||||
cat <<EOF > AppDir/time_logix.desktop
|
cat <<EOF > AppDir/time_logix.desktop
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=TimeLogix
|
Name=TimeLogix
|
||||||
Exec=time_logix
|
Exec=time_logix
|
||||||
|
Icon=appicon
|
||||||
Comment=Time tracking app for contractors
|
Comment=Time tracking app for contractors
|
||||||
Categories=Utility;
|
Categories=Utility;
|
||||||
EOF
|
EOF
|
||||||
|
# Download a placeholder icon and save it as appicon.png in AppDir
|
||||||
|
wget -q -O AppDir/appicon.png https://placehold.co/256
|
||||||
|
|
||||||
- name: Install FUSE library
|
- name: Install FUSE library
|
||||||
run: sudo apt-get update && sudo apt-get install -y libfuse2
|
run: sudo apt-get update && sudo apt-get install -y libfuse2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue