summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Mackay2018-01-09 08:00:03 -0800
committerIan Mackay2018-01-09 08:00:03 -0800
commit132c228c0c87ec79cf940ca97ef6097c95071e7a (patch)
treec59d119345e30e8239c5715779da9d8784a91a88
parent76548bc47b0c22250c406a1ee19c7d3782f06421 (diff)
downloadaur-132c228c0c87ec79cf940ca97ef6097c95071e7a.tar.gz
general maintenance
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD2
-rw-r--r--github-desktop.patch73
3 files changed, 4 insertions, 76 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 276a74addeb..e8cc7f00d19 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = github-desktop-git
pkgdesc = GUI for managing Git and GitHub.
- pkgver = 1.0.12.beta0.r9.g724cf61f1
- pkgrel = 2
+ pkgver = 1.0.12.r6.g4c10d3214
+ pkgrel = 1
url = https://desktop.github.com
arch = x86_64
license = MIT
@@ -23,3 +23,4 @@ pkgbase = github-desktop-git
sha256sums = ce0dae70066703df656aa6f509f9a7f4f59e081e8f05be8aa7a81ee4605661c3
pkgname = github-desktop-git
+
diff --git a/PKGBUILD b/PKGBUILD
index 1ec99ffaede..2269ae57d2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname='github-desktop'
pkgname="${_pkgname}-git"
-pkgver=1.0.12.beta0.r9.g724cf61f1
+pkgver=1.0.12.r6.g4c10d3214
pkgrel=1
pkgdesc="GUI for managing Git and GitHub."
arch=('x86_64')
diff --git a/github-desktop.patch b/github-desktop.patch
index ae28d847d9a..e69de29bb2d 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)
- }