Working on GNU/Linux
(without snap
), Windows
and macOS
.
✔ Verified on version v7.7.0 ~ v9.5.1
It should support any newer version, unless the entrypoint code (src/main/static/startMainProcess.js
of The App source) is modified.
WARNING! On
macOS
you should patchThe App
only after first launch and full program closing!
The App On-Premise Serverless
(Recommended)The App Pro
Node.js
v12 LTS or lateryarn
yarn install
yarn build
node dist/bin/gitcracken.js --help
for more usage information
$ yarn gitcracken patcher [options] [actions...]
actions
- array of values (any order, any count)
If
actions
is empty, will be usedauto
mode (ideal for beginners)
Action | Description |
---|---|
backup |
Backup app.asar file |
unpack |
Unpack app.asar file into app directory |
patch |
Patch app directory |
pack |
Pack app directory to app.asar file |
remove |
Remove app directory |
Option | Description (if not defined, will be used auto value) |
---|---|
-a , --asar |
Path to app.asar file |
-d , --dir |
Path to app directory |
-f , --feature |
Patcher feature (from patches dir without extension) |
You can invoke
-f
,--feature
several times to apply all patches!
Auto
patch installed The App
(maybe require sudo
privileges on GNU/Linux
) By Default Patch Pro
$ yarn gitcracken patcher
The App On-Premise Serverless Client
patch
$ yarn gitcracken patcher -f serverless
Use custom path to app.asar
$ yarn gitcracken patcher --asar ~/Downloads/gitkraken/resources/app.asar
Use custom actions
(backup
, unpack
and patch
)
$ yarn gitcracken patcher backup unpack patch
This patch will modify your license while The App fetching your profile. So if you still got free edition, you should re-login your The App account.
Please ensure the communication with The App server. Somebody may blocked the The App server by the DNS or hosts file, please comment out or remove it temporarily.
If you still got free edition after re-login. Deleting the local profile might help. (Usually the path is %appdata%\.gitkraken
for Windows, or ~/.gitkraken
for Linux or macOS)
There is a quarantine flag while downloading an App from Internet. If you changed it before the first launch, macOS will think the App was broken.
If you already do that, you can execute sudo xattr -rd com.apple.quarantine /Application/The App.app
to remove quarantine flag.
Search macos quarantine
for more details.
Add this content to your hosts
file:
0.0.0.0 release.gitkraken.com