최근에 Manjaro를 설치했습니다. 대부분의 경우 잘 작동하지만 "기본 설정" 페이지를 열려고 하면 GitKraken이 계속 충돌합니다. 충돌이 발생했다가 다시 열리지만 기본 설정 페이지는 나타나지 않습니다.
터미널에서 실행할 때의 출력은 다음과 같습니다.
(node:3255) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:3255) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
(electron) 'allowRendererProcessReuse' is deprecated and will be removed.
state: unavailable
state: checking
state: unavailable
App Window: WebContents 2 render process unexpectedly missing: crashed
MessagePort is terminating
MessagePort is terminating
MessagePort is terminating
MessagePort is terminating
MessagePort is terminating
Error occurred in handler for 'LOAD_ORGANIZATION_SUMMARIES': MessagePort is terminating
[PERFORMANCE] tried to end event with no start time: opening renderer window
state: checking
state: unavailable
이 문제를 해결하는 방법에 대한 제안이 있는 사람이 있습니까?
답변1
이는 snap 패키지와 관련된 문제인 것 같습니다. 기존 gitkraken 구성을 삭제하고 tarball에서 설치했을 때 문제 없이 작동했습니다.
이는 앞으로 이 스크립트가~해야 한다문제를 해결하세요:
rm -r ~/.gitkraken ~/.config/GitKraken
mkdir -p ~/apps/sources
cd ~/apps/sources
wget https://release.axocdn.com/linux/gitkraken-amd64.tar.gz
tar -xf gitkraken-amd64.tar.gz
mv gitkraken ~/apps
그런 다음 다음과 같은 데스크톱 파일을 추가합니다(여기서는 {{ user_home }}
홈 디렉터리로 대체됨). 데스크탑 파일을 추가하면 스냅 패키지와 유사한 기능을 얻을 수 있습니다. GitKraken은 gnome으로 검색 가능합니다.
[Desktop Entry]
X-SnapInstanceName=gitkraken
Name=GitKraken
Comment=Unleash your repo
GenericName=Git Client
Exec=env BAMF_DESKTOP_FILE_HINT={{ user_home }}/.local/share/applications/gitkraken_gitkraken.desktop {{ user_home }}/apps/gitkraken/gitkraken %U
Icon={{ user_home }}/apps/gitkraken/gitkraken.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Development;RevisionControl;
MimeType=text/plain;
StartupWMClass=gitkraken