Closed probonopd closed 3 years ago
For the extracted one it correctly says:
probono: checkWhetherAppDirOrBundle "/home/user/Desktop/Falkon.app"
probono: AppDir/app bundle detected xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /home/user/Desktop/Falkon.app
probono: Set different icon for AppDir/app bundle
For the mounted one it doesn't:
probono: checkWhetherAppDirOrBundle "/var/run/user/1001/_home_user_Desktop_Falkon_FreeBSD.zip/Falkon.app"
So the bug might be lingering somewhere in
or in
But where?
Turns out that Qt QFile
exists()
seems to return false
for files in mounted archives for whatever reason.
QFile::exists((QFileInfo(...).canonicalFilePath()))
works.
Much better!
Now that we are mounting, rather than extracting, archives and images including
.zip
files I wonder why.app
bundles within mounted.zip
files don't seem to get treated as such:As soon as one copies the
.app
out of the archive (and refreshes the window), it works as intended.(The application can be executed just fine from the mounted archive, it is just not treated correctly by Filer.)