node dist/bin/gitcracken.js patcher --asar C:\\Users\\zhangbin\\AppData\\Local\\gitkraken\\app-8.1.1\\resources\\app.asar
git clone https://github.com/PMExtra/GitCracken.git
cd GitCracken/GitCracken
rm yarn.lock
yarn install
yarn build
# windows 执行此命令
node dist/bin/gitcracken.js patcher --asar C:/Users/{用户名}/AppData/Local/gitkraken/app-{gitkraken版本号}/resources/app.asar
.deb
package is broken on soon-to-be-released Ubuntu 20.04 (codename “focal”):$ sudo gdebi -nq gitkraken-amd64.deb
[sudo] password for <username>:
(Reading database ... 262175 files and directories currently installed.)
Preparing to unpack .../gitkraken-amd64.deb ...
Unpacking gitkraken (6.6.0) over (6.5.4) ...
dpkg: dependency problems prevent configuration of gitkraken:
gitkraken depends on python; however:
Package python is not installed.
dpkg: error processing package gitkraken (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
gitkraken
This is due to focal not having “python” package anymore. Instead python2
package should be used in the list of dependencies.
Here is the script that downloads repackages and installs the GitKraken on Ubuntu 20.04:
# (Optional) Remove existing versions of gitkraken
# sudo apt-get remove --purge --autoremove --verbose-versions gitkraken
# (Optional) Fix partially installed packages, if any
# sudo apt-get install -f
# Download a fresh deb package
wget https://release.axocdn.com/linux/gitkraken-amd64.deb
# Extract the original deb package
dpkg-deb -R gitkraken-amd64.deb gitkraken-amd64/
# Replace "python" to "python | python2" in dependency list
sed -i -E -e 's/, python,/, python \| python2,/g' gitkraken-amd64/DEBIAN/control
# Package the modifications back into a new deb
dpkg-deb -b gitkraken-amd64/ gitkraken-amd64.focal.deb
# Install as usual
gdebi -nq gitkraken-amd64.focal.deb
root@ubuntuVmFusion:/home/zhangbin/Downloads# git clone https://github.91chi.fun/https://github.com/wcxo/GitCracken.git
Cloning into 'GitCracken'...
remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 257 (delta 132), reused 231 (delta 106), pack-reused 0
Receiving objects: 100% (257/257), 153.88 KiB | 477.00 KiB/s, done.
Resolving deltas: 100% (132/132), done.
root@ubuntuVmFusion:/home/zhangbin/Downloads# git branch -a
fatal: not a git repository (or any of the parent directories): .git
root@ubuntuVmFusion:/home/zhangbin/Downloads# cd GitCracken/
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# git branch -a
* main
remotes/origin/BoGnY
remotes/origin/HEAD -> origin/main
remotes/origin/happyhope
remotes/origin/main
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# git checkout -b happyhope origin/happyhope
Branch 'happyhope' set up to track remote branch 'happyhope' from 'origin'.
Switched to a new branch 'happyhope'
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# git pull origin happyhope
From https://github.91chi.fun/https://github.com/wcxo/GitCracken
* branch happyhope -> FETCH_HEAD
Already up to date.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# ls
GitCracken README.md
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# cd GitCracken/
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ls
bin CHANGELOG.md global.ts index.ts LICENSE package.json patches README.md src tsconfig.json tslint.json types yarn.lock
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# origin/happyhope^C
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ^C
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# npm i yarn -g
npm WARN invalid config registry="https"
npm WARN invalid config Must be a full url with 'http://'
> [email protected] preinstall /usr/local/lib/nodejs/node-v10.21.0-linux-x64/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)
/usr/local/lib/nodejs/node-v10.21.0-linux-x64/bin/yarn -> /usr/local/lib/nodejs/node-v10.21.0-linux-x64/lib/node_modules/yarn/bin/yarn.js
/usr/local/lib/nodejs/node-v10.21.0-linux-x64/bin/yarnpkg -> /usr/local/lib/nodejs/node-v10.21.0-linux-x64/lib/node_modules/yarn/bin/yarn.js
+ [email protected]
added 1 package in 2.718s
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# yarn install
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 7.71s.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# yarn build
yarn run v1.22.17
$ rimraf dist && tsc
Done in 2.24s.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ls
bin CHANGELOG.md dist global.ts index.ts LICENSE node_modules package.json patches README.md src tsconfig.json tslint.json types yarn.lock
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ls -al
total 120
drwxr-xr-x 8 root root 4096 Mar 3 21:08 .
drwxr-xr-x 4 root root 4096 Mar 3 21:06 ..
drwxr-xr-x 2 root root 4096 Mar 3 21:06 bin
-rw-r--r-- 1 root root 574 Mar 3 21:06 CHANGELOG.md
drwxr-xr-x 4 root root 4096 Mar 3 21:08 dist
-rw-r--r-- 1 root root 147 Mar 3 21:06 .editorconfig
-rw-r--r-- 1 root root 4824 Mar 3 21:06 .gitattributes
-rw-r--r-- 1 root root 4743 Mar 3 21:06 .gitignore
-rw-r--r-- 1 root root 470 Mar 3 21:06 global.ts
-rw-r--r-- 1 root root 23 Mar 3 21:06 index.ts
-rw-r--r-- 1 root root 1074 Mar 3 21:06 LICENSE
-rw-r--r-- 1 root root 75 Mar 3 21:06 .markdownlint.json
drwxr-xr-x 84 root root 4096 Mar 3 21:07 node_modules
-rw-r--r-- 1 root root 1306 Mar 3 21:06 package.json
drwxr-xr-x 2 root root 4096 Mar 3 21:06 patches
-rw-r--r-- 1 root root 61 Mar 3 21:06 .prettierrc
-rw-r--r-- 1 root root 1974 Mar 3 21:06 README.md
drwxr-xr-x 2 root root 4096 Mar 3 21:06 src
-rw-r--r-- 1 root root 341 Mar 3 21:06 tsconfig.json
-rw-r--r-- 1 root root 300 Mar 3 21:06 tslint.json
drwxr-xr-x 2 root root 4096 Mar 3 21:06 types
-rw-r--r-- 1 root root 24885 Mar 3 21:06 yarn.lock
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ls dist/
bin global.js index.js src
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ls dist/bin
gitcracken-about.js gitcracken-appid-generate.js gitcracken-appid.js gitcracken-appid-read.js gitcracken.js gitcracken-patcher.js gitcracken-secfile.js
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# node dist/bin/gitcracken.js -v
error: unknown option `-v'
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# node dist/bin/gitcracken.js -h
Usage: gitcracken [options] [command]
GitKraken utils for non-commercial use
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
about about GitCracken
appid GitKraken AppId
patcher [actions...] GitKraken patcher
secfile [files...] read GitKraken secFile
help [cmd] display help for [cmd]
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# node dist/bin/gitcracken.js ^C
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# yarn run gitcracken patcher --asar /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken
yarn run v1.22.17
$ node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken
██████╗ ██╗████████╗ ██████╗██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗
██╔════╝ ██║╚══██╔══╝██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║
██║ ███╗██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║
██║ ██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║
╚██████╔╝██║ ██║ ╚██████╗██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝
• Description: GitKraken utils for non-commercial use
• Version: 0.6.2
• Author: KillWolfVlad
• License: MIT
• Home Page: https://pastebin.com/u/KillWolfVlad
==> Backup /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken ➔ /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken.1646313461337.backup
==> Unpack /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken ➔ /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken
(node:86237) UnhandledPromiseRejectionWarning: Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:498:3)
at Object.module.exports.readArchiveHeaderSync (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/asar/lib/disk.js:63:12)
at Object.module.exports.readFilesystemSync (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/asar/lib/disk.js:84:25)
at Object.module.exports.extractAll (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/asar/lib/asar.js:170:27)
at Patcher.unpackAsar (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/src/patcher.js:79:14)
at executeActions (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/bin/gitcracken-patcher.js:23:25)
at Command.program.name.description.option.option.option.arguments.action (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/bin/gitcracken-patcher.js:87:11)
at Command.listener (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/commander/index.js:315:8)
at Command.emit (events.js:198:13)
at Command.parseArgs (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/commander/index.js:665:12)
at Command.parse (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/commander/index.js:474:21)
at Object.<anonymous> (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/bin/gitcracken-patcher.js:89:6)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
(node:86237) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:86237) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 1.05s.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# /resources/app.asar
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ git clone git clone https://github.91chi.fun/https://github.com/wcxo/GitCracken.git
fatal: Too many arguments.
usage: git clone [<options>] [--] <repo> [<dir>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
--reject-shallow don't clone shallow repository
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recurse-submodules[=]
initialize submodules in the clone
--recursive ... alias of --recurse-submodules
-j, --jobs number of submodules cloned in parallel
--template
directory from which templates will be used
--reference reference repository
--reference-if-able
reference repository
--dissociate use --reference only while cloning
-o, --origin use instead of ' origin' to track upstream
-b, --branch
checkout instead of the remote' s HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to fo
ollow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir
separate git dir from working tree
-c, --config
set config inside the new repository
--server-option
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter object filtering
--remote-submodules any cloned submodules will use their remote-tracking b
branch
--sparse initialize sparse-checkout file to include only files
at root
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ git clone https://github.91chi.fun/https://github.com/wcxo/GitCracken.git
Cloning into ' GitCracken'...
remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 257 (delta 132), reused 231 (delta 106), pack-reused 0
Receiving objects: 100% (257/257), 153.88 KiB | 447.00 KiB/s, done.
Resolving deltas: 100% (132/132), done.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ cd GitCracken/
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (main)
$ LS
LICENSE README.md
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (main)
$ ls
LICENSE README.md
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (main)
$ git branch -a
* main
remotes/origin/BoGnY
remotes/origin/HEAD -> origin/main
remotes/origin/happyhope
remotes/origin/main
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (main)
$ git checkout -b origin/happyhope
Switched to a new branch 'origin/happyhope'
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (origin/happyhope)
$ git pull origin happyhope
From https://github.91chi.fun/https://github.com/wcxo/GitCracken
* branch happyhope -> FETCH_HEAD
fatal: refusing to merge unrelated histories
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (origin/happyhope)
$ cd ..
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ rm -rf GitCracken/
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ git clone https://github.91chi.fun/https://github.com/wcxo/GitCracken.git
Cloning into 'GitCracken'...
remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 257 (delta 132), reused 231 (delta 106), pack-reused 0
Receiving objects: 100% (257/257), 153.88 KiB | 739.00 KiB/s, done.
Resolving deltas: 100% (132/132), done.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ cd GitCracken/
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (main)
$ ls
LICENSE README.md
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (main)
$ git checkout -b happyhope origin/happyhope
Switched to a new branch 'happyhope'
Branch 'happyhope' set up to track remote branch 'happyhope' from 'origin'.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (happyhope)
$ git pull origin happyhope
From https://github.91chi.fun/https://github.com/wcxo/GitCracken
* branch happyhope -> FETCH_HEAD
Already up to date.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (happyhope)
$ ls
GitCracken/ README.md
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken (happyhope)
$ cd GitCracken/
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$ ls
CHANGELOG.md bin/ package.json tsconfig.json yarn.lock
LICENSE global.ts patches/ tslint.json
README.md index.ts src/ types/
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$ npm i yarn -g
> [email protected] preinstall C:\Users\zhangbin\AppData\Roaming\npm\node_modules\yar
rn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)
C:\Users\zhangbin\AppData\Roaming\npm\yarnpkg -> C:\Users\zhangbin\AppData\Roami
ing\npm\node_modules\yarn\bin\yarn.js
C:\Users\zhangbin\AppData\Roaming\npm\yarn -> C:\Users\zhangbin\AppData\Roaming\
\npm\node_modules\yarn\bin\yarn.js
+ [email protected]
updated 1 package in 2.261s
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$ yarn install
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 1.81s.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$ yarn build
yarn run v1.22.17
$ rimraf dist && tsc
Done in 1.95s.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$ node dist/bin/gitcracken.js -h
Usage: gitcracken [options] [command]
GitKraken utils for non-commercial use
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
about about GitCracken
appid GitKraken AppId
patcher [actions...] GitKraken patcher
secfile [files...] read GitKraken secFile
help [cmd] display help for [cmd]
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$ node dist/bin/gitcracken.js patcher --asar C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.asar
██████╗ ██╗████████╗ ██████╗██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗
██╔════╝ ██║╚══██╔══╝██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║
██║ ███╗██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║
██║ ██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║
╚██████╔╝██║ ██║ ╚██████╗██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝
• Description: GitKraken utils for non-commercial use
• Version: 0.6.2
• Author: KillWolfVlad
• License: MIT
• Home Page: https://pastebin.com/u/KillWolfVlad
(node:2816) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or dir
ectory, stat 'C:UserszhangbinAppDataLocalgitkrakenapp-8.1.1resourcesapp.asar'
at Object.statSync (fs.js:1086:3)
at Object.statSync (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\graceful
-fs\polyfills.js:301:34)
at getStatsSync (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\fs-extra\li
b\util\stat.js:58:18)
at Object.checkPathsSync (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\fs
-extra\lib\util\stat.js:90:33)
at Object.copySync (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\fs-extra
\lib\copy-sync\copy-sync.js:24:38)
at Patcher.backupAsar (G:\ISOFT\CRT\GitCracken\GitCracken\dist\src\patcher.j
s:75:12)
at executeActions (G:\ISOFT\CRT\GitCracken\GitCracken\dist\bin\gitcracken-pa
tcher.js:18:95)
at Command.<anonymous> (G:\ISOFT\CRT\GitCracken\GitCracken\dist\bin\gitcrack
en-patcher.js:87:11)
at Command.listener (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\command
er\index.js:315:8)
at Command.emit (events.js:315:20)
at Command.parseArgs (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\comman
der\index.js:665:12)
at Command.parse (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\commander\
index.js:474:21)
at Object.<anonymous> (G:\ISOFT\CRT\GitCracken\GitCracken\dist\bin\gitcracke
n-patcher.js:89:6)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2816) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To termina
te the node process on unhandled promise rejection, use the CLI flag `--unhandle
d-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejectio
ns_mode). (rejection id: 2)
(node:2816) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
Node.js process with a non-zero exit code.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$ node dist/bin/gitcracken.js patcher --asar C:\\Users\\zhangbin\\AppData\\Local\\gitkraken\\app-8.1.1\\resources\\app.asar
██████╗ ██╗████████╗ ██████╗██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗
██╔════╝ ██║╚══██╔══╝██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║
██║ ███╗██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║
██║ ██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║
╚██████╔╝██║ ██║ ╚██████╗██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝
• Description: GitKraken utils for non-commercial use
• Version: 0.6.2
• Author: KillWolfVlad
• License: MIT
• Home Page: https://pastebin.com/u/KillWolfVlad
==> � Backup C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.
asar ➔ C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.asar.16
46376841975.backup
==> � Unpack C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.
asar ➔ C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app
==> � Patch C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app w
ith pro features
(node:28348) UnhandledPromiseRejectionWarning: Error: Can't patch src/main/stati
c/startMainProcess.js
at Patcher.patchDirWithPatch (G:\ISOFT\CRT\GitCracken\GitCracken\dist\src\pa
tcher.js:102:19)
at Patcher.patchDirWithFeature (G:\ISOFT\CRT\GitCracken\GitCracken\dist\src\
patcher.js:95:18)
at Patcher.patchDir (G:\ISOFT\CRT\GitCracken\GitCracken\dist\src\patcher.js:
89:18)
at executeActions (G:\ISOFT\CRT\GitCracken\GitCracken\dist\bin\gitcracken-pa
tcher.js:31:25)
at Command.<anonymous> (G:\ISOFT\CRT\GitCracken\GitCracken\dist\bin\gitcrack
en-patcher.js:87:11)
at Command.listener (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\command
er\index.js:315:8)
at Command.emit (events.js:315:20)
at Command.parseArgs (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\comman
der\index.js:665:12)
at Command.parse (G:\ISOFT\CRT\GitCracken\GitCracken\node_modules\commander\
index.js:474:21)
at Object.<anonymous> (G:\ISOFT\CRT\GitCracken\GitCracken\dist\bin\gitcracke
n-patcher.js:89:6)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js
:72:12)
at internal/main/run_main_module.js:17:47
(Use `node --trace-warnings ...` to show where the warning was created)
(node:28348) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To termin
ate the node process on unhandled promise rejection, use the CLI flag `--unhandl
ed-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejecti
ons_mode). (rejection id: 2)
(node:28348) [DEP0018] DeprecationWarning: Unhandled promise rejections are depr
ecated. In the future, promise rejections that are not handled will terminate th
e Node.js process with a non-zero exit code.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/GitCracken/GitCracken (happyhope)
$
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ ls
GitCracken/ VanDyke/ securecrt_301981/
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ git clone https://github.91chi.fun/https://github.com/wcxo/GitCracken.git bogny
Cloning into 'bogny'...
remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 257 (delta 132), reused 231 (delta 106), pack-reused 0
Receiving objects: 100% (257/257), 153.88 KiB | 791.00 KiB/s, done.
Resolving deltas: 100% (132/132), done.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT
$ cd bogny
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (main)
$ ls
LICENSE README.md
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (main)
$ git branch -a
* main
remotes/origin/BoGnY
remotes/origin/HEAD -> origin/main
remotes/origin/happyhope
remotes/origin/main
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (main)
$ git checkout -b BoGnY origin/BoGnY
Switched to a new branch 'BoGnY'
Branch 'BoGnY' set up to track remote branch 'BoGnY' from 'origin'.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (BoGnY)
$ git pull origin BoGnY
From https://github.91chi.fun/https://github.com/wcxo/GitCracken
* branch BoGnY -> FETCH_HEAD
Already up to date.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (BoGnY)
$ LS
CHANGELOG.md bin package.json tsconfig.json xz.js
LICENSE global.ts patches tslint.json yarn.lock
README.md index.ts src types
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (BoGnY)
$ yarn install
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 6.48s.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (BoGnY)
$ yarn build
yarn run v1.22.17
$ rimraf dist && tsc
Done in 2.38s.
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (BoGnY)
$ node dist/bin/gitcracken.js patcher --asar C:\\Users\\zhangbin\\AppData\\Local\\gitkraken\\app-8.1.1\\resources\\app.asar
██████╗ ██╗████████╗ ██████╗██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗
██╔════╝ ██║╚══██╔══╝██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║
██║ ███╗██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║
██║ ██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║
╚██████╔╝██║ ██║ ╚██████╗██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝
• Description: GitKraken utils for non-commercial use
• Version: 0.11
• Author: KillWolfVlad
• Maintainers: BoGnY
• License: MIT
• Home Page: https://github.com/BoGnY/GitCracken
==> � Backup C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.
asar ➔ C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.asar.16
46377570297.backup
==> � Unpack C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.
asar ➔ C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app
==> � Patch C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app w
ith pro features
==> � Pack C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app ➔
C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app.asar
==> � Remove C:\Users\zhangbin\AppData\Local\gitkraken\app-8.1.1\resources\app
==> � Patching done!
zhangbin@LAPTOP-F1POBCSR MINGW64 /g/ISOFT/CRT/bogny (BoGnY)
$
root@ubuntuVmFusion:/home/zhangbin/Downloads# cd GitCracken/
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# ls
bin GitCracken index.ts package.json README.md tsconfig.json types yarn.lock
CHANGELOG.md global.ts LICENSE patches src tslint.json xz.js
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# ls bin
gitcracken-about.ts gitcracken-appid-read.ts gitcracken-patcher.ts gitcracken.ts
gitcracken-appid-generate.ts gitcracken-appid.ts gitcracken-secfile.ts
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# ls
bin GitCracken index.ts package.json README.md tsconfig.json types yarn.lock
CHANGELOG.md global.ts LICENSE patches src tslint.json xz.js
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# cd GitCracken/
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ls
dist node_modules
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/Gitraken-v8.1.1/gitkraken/resources/app.asar
██████╗ ██╗████████╗ ██████╗██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗
██╔════╝ ██║╚══██╔══╝██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║
██║ ███╗██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║
██║ ██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║
╚██████╔╝██║ ██║ ╚██████╗██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝
• Description: GitKraken utils for non-commercial use
• Version: 0.11
• Author: KillWolfVlad
• License: MIT
• Home Page: https://github.com/BoGnY/GitCracken
==> Backup /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app.asar ➔ /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/esources/app.asar.1646378843601.backup
==> Unpack /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app.asar ➔ /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/esources/app
==> Patch /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app with pro features
(node:128068) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/home/zhangbin/Downloads/GitCracken/patchespro.diff'
at Object.openSync (fs.js:443:3)
at Object.readFileSync (fs.js:343:35)
at Patcher.patchDirWithFeature (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/src/patcher.js:93:44)
at Patcher.patchDir (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/src/patcher.js:89:18)
at executeActions (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/bin/gitcracken-patcher.js:31:25)
at Command.program.name.description.option.option.option.arguments.action (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/bin/gitcacken-patcher.js:87:11)
at Command.listener (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/commander/index.js:315:8)
at Command.emit (events.js:198:13)
at Command.parseArgs (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/commander/index.js:665:12)
at Command.parse (/home/zhangbin/Downloads/GitCracken/GitCracken/node_modules/commander/index.js:474:21)
at Object.<anonymous> (/home/zhangbin/Downloads/GitCracken/GitCracken/dist/bin/gitcracken-patcher.js:89:6)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
(node:128068) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async fuction without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:128068) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not hanled will terminate the Node.js process with a non-zero exit code.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ls /home/zhangbin/Downloads/GitCracken/patches/
7.0 7.6
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# cd ..\
> ^C
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# ^C
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken/GitCracken# cd ..
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# cd ..
root@ubuntuVmFusion:/home/zhangbin/Downloads# ls
cannotlogin_GitKraken-v8.1.1 clwb_bazel.zip GitKraken-v8.1.1.tar.gz node-v12.21.0-linux-x64
clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04 GitCracken GoLand-2021.2.2 node-v12.21.0-linux-x64.tar.xz
clash GitKraken-v8.1.1 ide-eval-resetter-2.1.13.jar
root@ubuntuVmFusion:/home/zhangbin/Downloads# git rm cannotlogin_GitKraken-v8.1.1/ -rf
fatal: not a git repository (or any of the parent directories): .git
root@ubuntuVmFusion:/home/zhangbin/Downloads# rm cannotlogin_GitKraken-v8.1.1/ -rf
root@ubuntuVmFusion:/home/zhangbin/Downloads# ls
clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04 GitCracken GoLand-2021.2.2 node-v12.21.0-linux-x64.tar.xz
clash GitKraken-v8.1.1 ide-eval-resetter-2.1.13.jar
clwb_bazel.zip GitKraken-v8.1.1.tar.gz node-v12.21.0-linux-x64
root@ubuntuVmFusion:/home/zhangbin/Downloads# rm -rf GitCracken/
root@ubuntuVmFusion:/home/zhangbin/Downloads# /home/zhangbin/Downloads/GitCracken/patches/^C
root@ubuntuVmFusion:/home/zhangbin/Downloads# ^C
root@ubuntuVmFusion:/home/zhangbin/Downloads# ^C
root@ubuntuVmFusion:/home/zhangbin/Downloads# git clone https://github.91chi.fun/https://github.com/wcxo/GitCracken.git
Cloning into 'GitCracken'...
remote: Enumerating objects: 257, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 257 (delta 132), reused 231 (delta 106), pack-reused 0
Receiving objects: 100% (257/257), 153.88 KiB | 379.00 KiB/s, done.
Resolving deltas: 100% (132/132), done.
root@ubuntuVmFusion:/home/zhangbin/Downloads# cd GitCracken/
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# npm i yarn -g
npm WARN invalid config registry="https"
npm WARN invalid config Must be a full url with 'http://'
> [email protected] preinstall /usr/local/lib/nodejs/node-v10.21.0-linux-x64/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)
/usr/local/lib/nodejs/node-v10.21.0-linux-x64/bin/yarn -> /usr/local/lib/nodejs/node-v10.21.0-linux-x64/lib/node_modules/yarn/bin/yarn.js
/usr/local/lib/nodejs/node-v10.21.0-linux-x64/bin/yarnpkg -> /usr/local/lib/nodejs/node-v10.21.0-linux-x64/lib/node_modules/yarn/bin/yarn.j
+ [email protected]
updated 1 package in 1.931s
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# git checkout -b BoGnY origin/BoGnY
Branch 'BoGnY' set up to track remote branch 'BoGnY' from 'origin'.
Switched to a new branch 'BoGnY'
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# git pull origin BoGnY
From https://github.91chi.fun/https://github.com/wcxo/GitCracken
* branch BoGnY -> FETCH_HEAD
Already up to date.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# yarn install
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 8.40s.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# yarn build
yarn run v1.22.17
$ rimraf dist && tsc
Done in 2.55s.
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# ls
bin dist index.ts node_modules patches src tslint.json xz.js
CHANGELOG.md global.ts LICENSE package.json README.md tsconfig.json types yarn.lock
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/Git
GitCracken/ GitKraken-v8.1.1/ GitKraken-v8.1.1.tar.gz
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/Git
GitCracken/ GitKraken-v8.1.1/ GitKraken-v8.1.1.tar.gz
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/GitKraken-v8.11/gitkraken/
chrome_100_percent.pak icudtl.dat libvulkan.so resources/ version
chrome_200_percent.pak libEGL.so LICENSE resources.pak vk_swiftshader_icd.json
chrome-sandbox libffmpeg.so LICENSE.electron snapshot_blob.bin
gitkraken libGLESv2.so LICENSES.chromium.html swiftshader/
gitkraken.png libvk_swiftshader.so locales/ v8_context_snapshot.bin
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/GitKraken-v8.11/gitkraken/resources/
app/ app.asar.1646315734965.backup app.asar.unpacked/ default_app.asar
app.asar app.asar.1646378843601.backup bin/
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/GitKraken-v8.11/gitkraken/resources/
app/ app.asar.1646315734965.backup app.asar.unpacked/ default_app.asar
app.asar app.asar.1646378843601.backup bin/
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken# node dist/bin/gitcracken.js patcher --asar /home/zhangbin/Downloads/GitKraken-v8.11/gitkraken/resources/app.asar
██████╗ ██╗████████╗ ██████╗██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗
██╔════╝ ██║╚══██╔══╝██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║
██║ ███╗██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║
██║ ██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║
╚██████╔╝██║ ██║ ╚██████╗██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝
• Description: GitKraken utils for non-commercial use
• Version: 0.11
• Author: KillWolfVlad
• Maintainers: BoGnY
• License: MIT
• Home Page: https://github.com/BoGnY/GitCracken
==> Backup /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app.asar ➔ /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/esources/app.asar.1646379080943.backup
==> Unpack /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app.asar ➔ /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/esources/app
==> Patch /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app with pro features
==> Pack /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app ➔ /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resourcs/app.asar
==> Remove /home/zhangbin/Downloads/GitKraken-v8.1.1/gitkraken/resources/app
==> Patching done!
root@ubuntuVmFusion:/home/zhangbin/Downloads/GitCracken#