|
The hand-written GitKraken.desktop carried no scheme MimeType, so the
gitkraken:// and gk:// URL handlers never registered and OAuth callback
links broke. Fix this on the existing tarball instead of switching the
source to the .deb (which only adds these few text files but would cost a
/usr/share->/opt relocation and CI rework).
- adopt upstream's launcher contents from the deb in GitKraken.desktop
(kept under that name so existing favorites/pins stay valid), and add the
gitkraken-url-handler and gk-cli-url-handler entries, which register the
two schemes and open them via /usr/bin/gitkraken --uri=%U
- drop the deb launcher's MimeType=text/plain, which wrongly associated
GitKraken with all plaintext files (#260); the launcher carries no
MimeType, so the two --uri handlers own the schemes
- symlink /usr/bin/gitkraken to the tarball's resources/bin/gitkraken.sh
instead of shipping our own wrapper; drop gitkraken.sh
- chmod 4755 chrome-sandbox so Electron's SUID sandbox works (cp drops it)
- bump pkgrel to 2 so existing 12.2.1 users get the fix
|