forked from CastroFidel/winehelper
		
	added icons to prefix and desktop.list
This commit is contained in:
		| @@ -389,7 +389,9 @@ create_desktop () { | ||||
|     && grep -qe "^${name_desktop}=" "$WINEPREFIX/desktop.list" | ||||
|     then sed -i "/^$name_desktop=/d" "$WINEPREFIX/desktop.list" | ||||
|     fi | ||||
|     echo "$name_desktop=${exe_file//$WINEPREFIX/}" >> "$WINEPREFIX/desktop.list" | ||||
|     create_new_dir "$WINEPREFIX/icons" | ||||
|     try_copy_file "$icon_file" "$WINEPREFIX/icons/" | ||||
|     echo "$name_desktop=${exe_file//$WINEPREFIX/}=$(basename "$icon_file")" >> "$WINEPREFIX/desktop.list" | ||||
|  | ||||
|     # создаем файл категории для меню | ||||
|     create_new_dir "$HOME/.local/share/desktop-directories" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user