Fix desktop file
This commit is contained in:
		
							parent
							
								
									c0b17bb048
								
							
						
					
					
						commit
						2759f60c37
					
				
					 3 changed files with 9 additions and 7 deletions
				
			
		|  | @ -124,7 +124,7 @@ echo "    Icon: $icon_name" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| echo 'Creating .desktop file...' | echo 'Creating .desktop file...' | ||||||
| sed "s/_version/$version_number/; s/_icon/$icon_name/" "$desktop_model" > "$desktop_file" | sed "s/_version/$version_number/; s/_icon/$icon_name/; s/_exe/DiscordCanary/" "$desktop_model" > "$desktop_file" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| echo 'Creating the RPM package (this may take a while)...' | echo 'Creating the RPM package (this may take a while)...' | ||||||
|  |  | ||||||
|  | @ -124,7 +124,7 @@ echo "    Icon: $icon_name" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| echo 'Creating .desktop file...' | echo 'Creating .desktop file...' | ||||||
| sed "s/_version/$version_number/; s/_icon/$icon_name/" "$desktop_model" > "$desktop_file" | sed "s/_version/$version_number/; s/_icon/$icon_name/; s/_exe/Discord/" "$desktop_model" > "$desktop_file" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| echo 'Creating the RPM package (this may take a while)...' | echo 'Creating the RPM package (this may take a while)...' | ||||||
|  |  | ||||||
|  | @ -1,10 +1,12 @@ | ||||||
| [Desktop Entry] | [Desktop Entry] | ||||||
| Version=_version |  | ||||||
| Type=Application |  | ||||||
| Name=Discord | Name=Discord | ||||||
| Icon=/opt/discord/_icon |  | ||||||
| Exec=/opt/discord/DiscordCanary |  | ||||||
| Comment=Free voice and text chat for gamers | Comment=Free voice and text chat for gamers | ||||||
| Categories=Communication;Internet; | StartupWMClass=discord | ||||||
|  | Version=_version | ||||||
|  | Icon=/opt/discord/_icon | ||||||
|  | Exec=/opt/discord/_exe | ||||||
|  | Type=Application | ||||||
| Terminal=false | Terminal=false | ||||||
|  | StartupNotify=true | ||||||
|  | Categories=Network;InstantMessaging; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 TheElectronWill
						TheElectronWill