File tree Expand file tree Collapse file tree 9 files changed +26
-26
lines changed
Expand file tree Collapse file tree 9 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " github-desktop" ,
2+ "name" : " github-desktop-plus " ,
33 "desktopName" : " github-desktop-plus" ,
44 "productName" : " GitHub Desktop" ,
55 "bundleID" : " com.github.GitHubClient" ,
88 "main" : " ./main.js" ,
99 "repository" : {
1010 "type" : " git" ,
11- "url" : " https://github.com/desktop/ desktop.git"
11+ "url" : " https://github.com/pol-rivero/github- desktop-plus .git"
1212 },
1313 "description" : " Simple collaboration from your desktop" ,
1414 "author" : {
Original file line number Diff line number Diff line change 1010 GITHUB_PATH=$( dirname " $( dirname " $( dirname " $( dirname " $SYMLINK " ) " ) " ) " )
1111 else
1212 # else use the standard install location
13- GITHUB_PATH=" /opt/GitHub Desktop"
13+ GITHUB_PATH=" /opt/GitHub Desktop Plus "
1414 fi
1515fi
1616# check if this is a dev install or standard
17- if [ -f " $GITHUB_PATH /github-desktop-dev" ]; then
18- BINARY_NAME=" github-desktop-dev"
17+ if [ -f " $GITHUB_PATH /github-desktop-plus- dev" ]; then
18+ BINARY_NAME=" github-desktop-plus- dev"
1919else
20- BINARY_NAME=" github-desktop"
20+ BINARY_NAME=" github-desktop-plus "
2121fi
2222
2323ELECTRON=" $GITHUB_PATH /$BINARY_NAME "
Original file line number Diff line number Diff line change @@ -40,16 +40,16 @@ package() {
4040 tar xf data.tar.xz -C " ${pkgdir} "
4141 install -d " ${pkgdir} /opt/${_pkgname} "
4242
43- mv " ${pkgdir} /usr/lib/github-desktop/" * " ${pkgdir} /opt/${_pkgname} /"
44- rmdir " ${pkgdir} /usr/lib/github-desktop"
43+ mv " ${pkgdir} /usr/lib/github-desktop-plus /" * " ${pkgdir} /opt/${_pkgname} /"
44+ rmdir " ${pkgdir} /usr/lib/github-desktop-plus "
4545 rmdir " ${pkgdir} /usr/lib"
46- mv " ${pkgdir} /usr/share/doc/github-desktop" " ${pkgdir} /usr/share/doc/${_pkgname} "
47- mv " ${pkgdir} /usr/share/lintian/overrides/github-desktop" " ${pkgdir} /usr/share/lintian/overrides/${_pkgname} "
48- find " ${pkgdir} /usr/share/icons" -name ' github-desktop.png' -execdir mv {} " ${_pkgname} .png" \;
46+ mv " ${pkgdir} /usr/share/doc/github-desktop-plus " " ${pkgdir} /usr/share/doc/${_pkgname} "
47+ mv " ${pkgdir} /usr/share/lintian/overrides/github-desktop-plus " " ${pkgdir} /usr/share/lintian/overrides/${_pkgname} "
48+ find " ${pkgdir} /usr/share/icons" -name ' github-desktop-plus .png' -execdir mv {} " ${_pkgname} .png" \;
4949
50- rm " ${pkgdir} /usr/share/applications/github-desktop.desktop"
50+ rm " ${pkgdir} /usr/share/applications/github-desktop-plus .desktop"
5151 install -Dm644 " ${_pkgname} .desktop" " ${pkgdir} /usr/share/applications/${_pkgname} .desktop"
5252
53- ln -sf " /opt/$_pkgname /github-desktop" " ${pkgdir} /usr/bin/$_pkgname "
54- rm " ${pkgdir} /usr/bin/github-desktop"
53+ ln -sf " /opt/$_pkgname /github-desktop-plus " " ${pkgdir} /usr/bin/$_pkgname "
54+ rm " ${pkgdir} /usr/bin/github-desktop-plus "
5555}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export function getExecutableName() {
2525 if ( process . platform === 'win32' ) {
2626 return `${ getWindowsIdentifierName ( ) } ${ suffix } `
2727 } else if ( process . platform === 'linux' ) {
28- return `github-desktop${ suffix } `
28+ return `github-desktop-plus ${ suffix } `
2929 } else {
3030 return productName
3131 }
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export async function packageDebian(): Promise<string> {
9797 const installer = require ( 'electron-installer-debian' )
9898
9999 await installer ( options )
100- const installersPath = `${ distRoot } /github-desktop*.deb`
100+ const installersPath = `${ distRoot } /github-desktop-plus *.deb`
101101
102102 const files = await globPromise ( installersPath )
103103
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export async function packageRedhat(): Promise<string> {
9292 const installer = require ( 'electron-installer-redhat' )
9393
9494 await installer ( options )
95- const installersPath = `${ distRoot } /github-desktop*.rpm`
95+ const installersPath = `${ distRoot } /github-desktop-plus *.rpm`
9696
9797 const files = await globPromise ( installersPath )
9898
Original file line number Diff line number Diff line change 22
33set -e
44
5- PROFILE_D_FILE=" /etc/profile.d/github-desktop.sh"
6- INSTALL_DIR=" /usr/lib/github-desktop"
5+ PROFILE_D_FILE=" /etc/profile.d/github-desktop-plus .sh"
6+ INSTALL_DIR=" /usr/lib/github-desktop-plus "
77CLI_DIR=" $INSTALL_DIR /resources/app/static"
88
99case " $1 " in
1010 configure)
1111 # add executable permissions for CLI interface
1212 chmod +x " $CLI_DIR " /github || :
1313 # check if this is a dev install or standard
14- if [ -f " $INSTALL_DIR /github-desktop-dev" ]; then
15- BINARY_NAME=" github-desktop-dev"
14+ if [ -f " $INSTALL_DIR /github-desktop-plus- dev" ]; then
15+ BINARY_NAME=" github-desktop-plus- dev"
1616 else
17- BINARY_NAME=" github-desktop"
17+ BINARY_NAME=" github-desktop-plus "
1818 fi
1919 # create symbolic links to /usr/bin directory
2020 ln -f -s " $INSTALL_DIR " /$BINARY_NAME /usr/bin || :
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33
4- PROFILE_D_FILE=" /etc/profile.d/github-desktop.sh"
4+ PROFILE_D_FILE=" /etc/profile.d/github-desktop-plus .sh"
55BASE_FILE=" /usr/bin/github"
66
77case " $1 " in
@@ -11,8 +11,8 @@ case "$1" in
1111 rm " ${PROFILE_D_FILE} " ;
1212 # remove symbolic links in /usr/bin directory
1313 test -f ${BASE_FILE} && unlink ${BASE_FILE}
14- test -f ${BASE_FILE} -desktop && unlink ${BASE_FILE} -desktop
15- test -f ${BASE_FILE} -desktop-dev && unlink ${BASE_FILE} -desktop-dev
14+ test -f ${BASE_FILE} -desktop-plus && unlink ${BASE_FILE} -desktop-plus
15+ test -f ${BASE_FILE} -desktop-plus- dev && unlink ${BASE_FILE} -desktop-plus -dev
1616 ;;
1717
1818 * )
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- INSTALL_DIR=" /usr/lib/github-desktop"
3+ INSTALL_DIR=" /usr/lib/github-desktop-plus "
44CLI_DIR=" $INSTALL_DIR /resources/app/static"
55
66# add executable permissions for CLI interface
You can’t perform that action at this time.
0 commit comments