jake-phy / WindowIconList

GNU General Public License v2.0
75 stars 26 forks source link

Fix .mo file not being moved to LC_MESSAGES when not already present #167

Closed ncelerier closed 3 years ago

ncelerier commented 7 years ago

Hello,

This is a pull request to solve this kind of error: error t=2016-08-27T18:51:26.236Z Error when getting information for file '/home/nis/.local/share/locale/zh_CN/LC_MESSAGES/WindowListGroup@jake.phy@gmail.com.mo': No such file or directory

It is happening at the let destModified variable assignment, because there is no file at the given path yet.

The updated piece of code has been taken from https://github.com/lestcape/Configurable-Menu.