diff options
author | Ian Mackay | 2018-01-09 07:51:10 -0800 |
---|---|---|
committer | Ian Mackay | 2018-01-09 07:51:10 -0800 |
commit | 40496cc872d8e0e029a9daaf84eae7c440d8f33e (patch) | |
tree | e620b39d79bbbeb7b0603c09522bed0caacce727 | |
parent | a239f8565c718bc199d7b1eca0e0e236b1ec348e (diff) | |
download | aur-40496cc872d8e0e029a9daaf84eae7c440d8f33e.tar.gz |
Release 1.0.12
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | desktop.desktop | 10 | ||||
-rw-r--r-- | github-desktop.patch | 73 |
4 files changed, 4 insertions, 87 deletions
@@ -1,7 +1,7 @@ pkgbase = github-desktop pkgdesc = GUI for managing Git and GitHub. - pkgver = 1.0.12_beta0 - pkgrel = 2 + pkgver = 1.0.12 + pkgrel = 1 url = https://desktop.github.com arch = x86_64 license = MIT @@ -4,9 +4,9 @@ _pkgname='github-desktop' pkgname="${_pkgname}" -pkgver=1.0.12_beta0 +pkgver=1.0.12 gitname="release-${pkgver//_/-}" -pkgrel=2 +pkgrel=1 pkgdesc="GUI for managing Git and GitHub." arch=('x86_64') url="https://desktop.github.com" diff --git a/desktop.desktop b/desktop.desktop index 90e1ee0b7197..e69de29bb2d1 100644 --- a/desktop.desktop +++ b/desktop.desktop @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=GitHub Desktop -Comment=Extend your GitHub workflow beyond your browser with GitHub Desktop -Comment[es]=Trabaja con GitHub desde tu escritorio. -Comment[eu]=GitHub-ekin lan egin zure ordenagailutik. -Exec=/usr/bin/github-desktop %U -Terminal=false -Type=Application -Icon=github -Categories=Development; diff --git a/github-desktop.patch b/github-desktop.patch index ae28d847d9a3..e69de29bb2d1 100644 --- a/github-desktop.patch +++ b/github-desktop.patch @@ -1,73 +0,0 @@ -diff -ura orig/app/src/lib/shells/linux.ts new/app/src/lib/shells/linux.ts ---- orig/app/src/lib/shells/linux.ts 2017-11-16 13:55:35.000000000 -0800 -+++ new/app/src/lib/shells/linux.ts 2017-11-17 05:27:59.832386000 -0800 -@@ -6,11 +6,13 @@ - export enum Shell { - Gnome = 'GNOME Terminal', - Tilix = 'Tilix', -+ Urxvt = 'URxvt', - } - --export const Default = Shell.Gnome -+export const Default = Shell.Urxvt - - export function parse(label: string): Shell { -+ - if (label === Shell.Gnome) { - return Shell.Gnome - } -@@ -19,6 +21,10 @@ - return Shell.Tilix - } - -+ if (label === Shell.Urxvt) { -+ return Shell.Urxvt -+ } -+ - return Default - } - -@@ -32,6 +38,8 @@ - return getPathIfAvailable('/usr/bin/gnome-terminal') - case Shell.Tilix: - return getPathIfAvailable('/usr/bin/tilix') -+ case Shell.Urxvt: -+ return getPathIfAvailable('/usr/bin/urxvt') - default: - return assertNever(shell, `Unknown shell: ${shell}`) - } -@@ -40,9 +48,10 @@ - export async function getAvailableShells(): Promise< - ReadonlyArray<IFoundShell<Shell>> - > { -- const [gnomeTerminalPath, tilixPath] = await Promise.all([ -+ const [gnomeTerminalPath, tilixPath, urxvtPath] = await Promise.all([ - getShellPath(Shell.Gnome), - getShellPath(Shell.Tilix), -+ getShellPath(Shell.Urxvt), - ]) - - const shells: Array<IFoundShell<Shell>> = [] -@@ -54,6 +63,10 @@ - shells.push({ shell: Shell.Tilix, path: tilixPath }) - } - -+ if (urxvtPath) { -+ shells.push({ shell: Shell.Urxvt, path: urxvtPath }) -+ } -+ - return shells - } - -@@ -61,6 +74,11 @@ - shell: IFoundShell<Shell>, - path: string - ): Promise<void> { -+ if (shell.shell === Shell.Urxvt) { -+ const commandArgs = ['-cd', path] -+ await spawn(shell.path, commandArgs) -+ } -+ - const commandArgs = ['--working-directory', path] - await spawn(shell.path, commandArgs) - } |