void-packages/srcpkgs/atom/patches/icons.patch
2018-03-30 22:51:02 +02:00

12 lines
493 B
Diff

--- script/lib/install-application.js
+++ script/lib/install-application.js
@@ -79,7 +79,8 @@ module.exports = function (packagedAppPath, installDir) {
install(installationDirPath, packagedAppFileName, packagedAppPath)
{ // Install icons
- const baseIconThemeDirPath = findBaseIconThemeDirPath()
+ const baseIconThemeDirPath = path.join(prefixDirPath, 'share/icons/hicolor')
+
const fullIconName = atomExecutableName + '.png'
let existingIconsFound = false