atom 1.23.2

This commit is contained in:
AlmAck 2018-01-07 20:39:01 +01:00
parent c9f3a006c4
commit 38372766ef
3 changed files with 5 additions and 34 deletions

View File

@ -1,29 +0,0 @@
*** a/verify-machine-requirements.js Mon May 15 19:46:51 2017
--- b/verify-machine-requirements.js Sun May 21 17:38:05 2017
***************
*** 7,30 ****
const CONFIG = require('../config')
module.exports = function () {
- verifyNode()
verifyNpm()
if (process.platform === 'win32') {
verifyPython()
}
}
- function verifyNode () {
- const fullVersion = process.versions.node
- const majorVersion = fullVersion.split('.')[0]
- if (majorVersion >= 4 && majorVersion < 7) {
- console.log(`Node:\tv${fullVersion}`)
- } else if (majorVersion >= 7) {
- throw new Error(`Atom does not build properly on node v7+. node v${fullVersion} is installed.`)
- } else {
- throw new Error(`node v4+ is required to build Atom. node v${fullVersion} is installed.`)
- }
- }
function verifyNpm () {
const stdout = childProcess.execFileSync(CONFIG.getNpmBinPath(), ['--version'], {env: process.env})
--- 7,18 ----

View File

@ -1,5 +1,5 @@
pkgname=atom
pkgver=1.23.1
pkgver=1.23.2
pkgrel=1
pkgdesc='A hackable text editor for the 21st Century'
arch=('x86_64')
@ -11,8 +11,8 @@ options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/atom/archive/v${pkgver}.tar.gz"
'fix-license-path.patch'
'fix-restart.patch')
sha256sums=('56147093f1b8fd98e1cdf9671888694b732ed6b83f7641c199ddbc54df76544f'
'e9df53a60c1d27d7adf9d6b8d6eb2d3462967875e3a21b672f2cc8fbbefeec0c'
sha256sums=('d814b179cdd816faf832ef4da2e4b5deaa03c3ad9b22291972f72837bde525a3'
'75e60c20ddbe79c812595fdf88771422317db4256a200d2caefd09ebdd27ecc7'
'34625e26f1089a068582bd43a9a3755b3f5186b90dcc097b519def8f701d9f3a')
prepare() {

View File

@ -8,10 +8,10 @@
+ @openPathOnEvent('application:open-license', '/usr/share/licenses/atom/LICENSE.md')
@disposable.add ipcHelpers.on app, 'before-quit', (event) =>
unless @quitting
resolveBeforeQuitPromise = null
--- a/src/workspace.js
+++ b/src/workspace.js
@@ -1046,7 +1046,7 @@
@@ -1102,7 +1102,7 @@
// Open Atom's license in the active pane.
openLicense () {