summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Mackay2018-01-09 07:51:10 -0800
committerIan Mackay2018-01-09 07:51:10 -0800
commit40496cc872d8e0e029a9daaf84eae7c440d8f33e (patch)
treee620b39d79bbbeb7b0603c09522bed0caacce727
parenta239f8565c718bc199d7b1eca0e0e236b1ec348e (diff)
downloadaur-40496cc872d8e0e029a9daaf84eae7c440d8f33e.tar.gz
Release 1.0.12
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--desktop.desktop10
-rw-r--r--github-desktop.patch73
4 files changed, 4 insertions, 87 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d928926c9b4c..21b1c41b69be 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 0e360b8e0bad..5eafc87cbc40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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)
- }