fix: remove icon from appimage
This commit is contained in:
		
							parent
							
								
									fc5960a604
								
							
						
					
					
						commit
						a347bbae4a
					
				
					 1 changed files with 12 additions and 11 deletions
				
			
		
							
								
								
									
										21
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -24,23 +24,24 @@ jobs: | ||||||
|       - name: Install PyInstaller |       - name: Install PyInstaller | ||||||
|         run: pip install pyinstaller |         run: pip install pyinstaller | ||||||
| 
 | 
 | ||||||
|       - name: Build Linux executable with PyInstaller |       - name: Create AppDir structure and files without icon | ||||||
|         run: | |         run: | | ||||||
|           pyinstaller --onefile --windowed time_logix.py |  | ||||||
|           mkdir -p AppDir/usr/bin |           mkdir -p AppDir/usr/bin | ||||||
|           cp dist/time_logix AppDir/usr/bin/time_logix |           pyinstaller --onefile --windowed time_tracker.py | ||||||
|           # Create AppRun File |           cp dist/time_tracker AppDir/usr/bin/time_tracker | ||||||
|           echo '#!/bin/bash' > AppDir/AppRun |           # Create AppRun file | ||||||
|           echo 'HERE="$(dirname "$(readlink -f "${0}")")"' >> AppDir/AppRun |           cat <<'EOF' > AppDir/AppRun | ||||||
|           echo 'exec "$HERE/usr/bin/time_logix" "$@"' >> AppDir/AppRun |           #!/bin/bash | ||||||
|  |           HERE="$(dirname "$(readlink -f "${0}")")" | ||||||
|  |           exec "$HERE/usr/bin/time_tracker" "$@" | ||||||
|  |           EOF | ||||||
|           chmod +x AppDir/AppRun |           chmod +x AppDir/AppRun | ||||||
|           # Create desktop file |           # Create desktop file without an 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_tracker | ||||||
|           Icon=appicon |  | ||||||
|           Comment=Time tracking app for contractors |           Comment=Time tracking app for contractors | ||||||
|           Categories=Utility; |           Categories=Utility; | ||||||
|           EOF |           EOF | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Blake Ridgway
						Blake Ridgway