1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-04 05:10:05 +02:00

remove electron-in-page-search

This commit is contained in:
s2
2019-06-06 15:44:24 +02:00
parent e2a57318a7
commit c5f9b551ab
92637 changed files with 636010 additions and 15 deletions

71
app/node_modules/rcedit/.circleci/config.yml generated vendored Normal file
View File

@@ -0,0 +1,71 @@
step-restore-cache: &step-restore-cache
restore_cache:
keys:
- v1-dependencies-{{ arch }}-{{ checksum "yarn.lock" }}
- v1-dependencies-{{ arch }}
steps-test: &steps-test
steps:
- run:
name: Install OS Dependencies
command: |
case "$(uname)" in
Linux)
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install --no-install-recommends -y wine32 wine
;;
Darwin)
brew install wine
;;
esac
- checkout
- *step-restore-cache
- run: yarn
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ arch }}-{{ checksum "yarn.lock" }}
- run: yarn test
version: 2
jobs:
test-linux-8:
docker:
- image: circleci/node:8
<<: *steps-test
test-linux-10:
docker:
- image: circleci/node:10
<<: *steps-test
test-mac:
macos:
xcode: "10.2.0"
<<: *steps-test
release:
docker:
- image: circleci/node:10.15
steps:
- checkout
- *step-restore-cache
- run: yarn
- run: npx semantic-release
workflows:
version: 2
test_and_release:
# Run the test jobs first, then the release only when all the test jobs are successful
jobs:
- test-linux-8
- test-linux-10
- test-mac
- release:
requires:
- test-linux-8
- test-linux-10
- test-mac
filters:
branches:
only:
- master

8
app/node_modules/rcedit/.releaserc.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@continuous-auth/semantic-release-npm",
"@semantic-release/github"
]
}

20
app/node_modules/rcedit/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2013 GitHub, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

42
app/node_modules/rcedit/README.md generated vendored Normal file
View File

@@ -0,0 +1,42 @@
# node-rcedit
[![CircleCI build status](https://circleci.com/gh/electron/node-rcedit/tree/master.svg?style=svg)](https://circleci.com/gh/electron/node-rcedit/tree/master)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/m880ovvfwukowyne/branch/master?svg=true)](https://ci.appveyor.com/project/electron-bot/node-rcedit/branch/master)
Node module to edit resources of Windows executables.
## Building
* Clone the repository
* Run `npm install`
* Run `npm test` to run the tests
## Docs
```js
var rcedit = require('rcedit')
```
On platforms other than Windows, you will need to have [Wine](http://winehq.org)
1.6 or later installed and in the system path.
### `rcedit(exePath, options, callback)`
`exePath` is the path to the Windows executable to be modified.
`options` is an object that can contain following fields:
* `version-string` - An object containing properties to change the `exePath`'s
version string.
* `file-version` - File's version to change to.
* `product-version` - Product's version to change to.
* `icon` - Path to the icon file (`.ico`) to set as the `exePath`'s default icon.
* `requested-execution-level` - Requested execution level to change to, must be
either `asInvoker`, `highestAvailable`, or `requireAdministrator`. See
[here](https://msdn.microsoft.com/en-us/library/6ad1fshk.aspx#Anchor_9) for
more details.
* `application-manifest` - String path to a local manifest file to use.
See [here](https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191.aspx)
for more details.
`callback` is the `Function` called when the command completes. The function
signature is `function (error)`.

BIN
app/node_modules/rcedit/bin/rcedit.exe generated vendored Normal file

Binary file not shown.

71
app/node_modules/rcedit/lib/rcedit.js generated vendored Normal file
View File

@@ -0,0 +1,71 @@
var path = require('path')
var spawn = require('child_process').spawn
var pairSettings = ['version-string']
var singleSettings = ['file-version', 'product-version', 'icon', 'requested-execution-level']
var noPrefixSettings = ['application-manifest']
module.exports = function (exe, options, callback) {
var rcedit = path.resolve(__dirname, '..', 'bin', 'rcedit.exe')
var args = [exe]
pairSettings.forEach(function (name) {
if (options[name] != null) {
for (var key in options[name]) {
var value = options[name][key]
args.push('--set-' + name)
args.push(key)
args.push(value)
}
}
})
singleSettings.forEach(function (name) {
if (options[name] != null) {
args.push('--set-' + name)
args.push(options[name])
}
})
noPrefixSettings.forEach(function (name) {
if (options[name] != null) {
args.push('--' + name)
args.push(options[name])
}
})
var spawnOptions = {}
spawnOptions.env = Object.create(process.env)
if (process.platform !== 'win32') {
args.unshift(rcedit)
rcedit = 'wine'
// Supress fixme: stderr log messages
spawnOptions.env.WINEDEBUG = '-all'
}
var child = spawn(rcedit, args, spawnOptions)
var stderr = ''
var error = null
child.on('error', function (err) {
if (error == null) error = err
})
child.stderr.on('data', function (data) {
stderr += data
})
child.on('close', function (code) {
if (error != null) {
callback(error)
} else if (code === 0) {
callback()
} else {
var message = 'rcedit.exe failed with exit code ' + code
stderr = stderr.trim()
if (stderr) message += '. ' + stderr
callback(new Error(message))
}
})
}

53
app/node_modules/rcedit/package.json generated vendored Normal file
View File

@@ -0,0 +1,53 @@
{
"_from": "rcedit@^1.0.0",
"_id": "rcedit@1.1.2",
"_inBundle": false,
"_integrity": "sha512-z2ypB4gbINhI6wVe0JJMmdpmOpmNc4g90sE6/6JSuch5kYnjfz9CxvVPqqhShgR6GIkmtW3W2UlfiXhWljA0Fw==",
"_location": "/rcedit",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "rcedit@^1.0.0",
"name": "rcedit",
"escapedName": "rcedit",
"rawSpec": "^1.0.0",
"saveSpec": null,
"fetchSpec": "^1.0.0"
},
"_requiredBy": [
"/electron-packager"
],
"_resolved": "https://registry.npmjs.org/rcedit/-/rcedit-1.1.2.tgz",
"_shasum": "7a28edf981953f75b5f3e5d4cbc1f9ffa0abbc78",
"_spec": "rcedit@^1.0.0",
"_where": "F:\\projects\\p\\gitlit\\app\\node_modules\\electron-packager",
"bugs": {
"url": "https://github.com/electron/node-rcedit/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Node module to edit resources of exe",
"devDependencies": {
"@continuous-auth/semantic-release-npm": "^1.0.3",
"got": "^6.7.1",
"mocha": "^3.0.2",
"rcinfo": "^0.1.3",
"semantic-release": "^15.13.3",
"standard": "^7.1.2",
"temp": "^0.8.3"
},
"homepage": "https://github.com/electron/node-rcedit#readme",
"license": "MIT",
"main": "lib/rcedit.js",
"name": "rcedit",
"repository": {
"type": "git",
"url": "git+https://github.com/electron/node-rcedit.git"
},
"scripts": {
"lint": "standard",
"test": "mocha test/*.js && npm run lint"
},
"version": "1.1.2"
}

5848
app/node_modules/rcedit/yarn.lock generated vendored Normal file

File diff suppressed because it is too large Load Diff