Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
74fe12c896 | ||
|
f250d69af8 | ||
|
25a1db84a4 | ||
|
4769c83958 | ||
|
a448924514 | ||
|
467033a366 | ||
|
e355d717c5 | ||
|
4dcec3f240 | ||
|
c325d4a8e7 | ||
|
5f20f04c34 | ||
|
0e8a241bfa | ||
|
946862efde | ||
|
cda29e87e6 | ||
|
601d4ac001 | ||
|
c2dcd52da1 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -10,8 +10,8 @@ app/.DS_Store
|
|||||||
.vscode/*
|
.vscode/*
|
||||||
enq.md
|
enq.md
|
||||||
app/.tkn
|
app/.tkn
|
||||||
app/node_modules
|
|
||||||
app/js/login/tkn.js
|
app/js/login/tkn.js
|
||||||
|
app/package-lock.json
|
||||||
app/view/en
|
app/view/en
|
||||||
app/view/ja
|
app/view/ja
|
||||||
app/view/de
|
app/view/de
|
||||||
|
11
.travis.yml
11
.travis.yml
@@ -3,26 +3,21 @@ os:
|
|||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
language: node_js
|
language: node_js
|
||||||
env:
|
|
||||||
- YARN_GPG=no
|
|
||||||
node_js:
|
node_js:
|
||||||
- '10.15.2'
|
- '10.15.2'
|
||||||
cache:
|
|
||||||
yarn: true
|
|
||||||
script: node -v
|
script: node -v
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- yarn global add electron-builder
|
- npm install electron-builder -g
|
||||||
- cd app
|
- cd app
|
||||||
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
|
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
|
||||||
- yarn install --no-lockfile --prod
|
- npm install
|
||||||
- yarn construct
|
- npm run construct
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../build;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../build;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then ls;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ];then ls;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then mv thedesk-*.zip thedesk.zip;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ];then mv thedesk-*.zip thedesk.zip;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../app;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../app;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then yarn add electron-builder;else :;fi
|
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win --ia32 -p never;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win --ia32 -p never;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then ls;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "windows" ];then ls;else :;fi
|
||||||
|
38
README.md
38
README.md
@@ -80,10 +80,6 @@ Fellow coder
|
|||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
You have to use either **npm** or **yarn**. Whichever you use, it works well.
|
|
||||||
|
|
||||||
### npm
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/cutls/TheDesk
|
git clone https://github.com/cutls/TheDesk
|
||||||
cd TheDesk/app
|
cd TheDesk/app
|
||||||
@@ -92,25 +88,8 @@ npm install --only=dev
|
|||||||
npm run construct
|
npm run construct
|
||||||
```
|
```
|
||||||
|
|
||||||
### yarn
|
|
||||||
|
|
||||||
```sh
|
|
||||||
git clone https://github.com/cutls/TheDesk
|
|
||||||
cd TheDesk/app
|
|
||||||
# Linux or macOS
|
|
||||||
yarn install --no-lockfile
|
|
||||||
# Windows
|
|
||||||
yarn install
|
|
||||||
|
|
||||||
yarn construct
|
|
||||||
```
|
|
||||||
|
|
||||||
run `npm run dev` or `yarn dev` to launch developer version with console(click `view`)
|
|
||||||
|
|
||||||
### electron-builder(Recommended)
|
### electron-builder(Recommended)
|
||||||
Use scripts(they can work well with npm, **yarn**).
|
Use npm scripts.
|
||||||
|
|
||||||
#### npm
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Build for current platform
|
# Build for current platform
|
||||||
@@ -124,21 +103,6 @@ npm run build:win
|
|||||||
npm run build:all
|
npm run build:all
|
||||||
```
|
```
|
||||||
|
|
||||||
#### yarn
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# Build for current platform
|
|
||||||
yarn build
|
|
||||||
|
|
||||||
# Select build target
|
|
||||||
## Windows
|
|
||||||
yarn build:win
|
|
||||||
|
|
||||||
## Windows and Linux (The macOS target should run on macOS. So, this option hasn't include the build for macOS)
|
|
||||||
yarn build:all
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Config is all on package.json
|
Config is all on package.json
|
||||||
|
|
||||||
### electron-packager
|
### electron-packager
|
||||||
|
35
README_ja.md
35
README_ja.md
@@ -79,9 +79,6 @@ Linuxビルダー
|
|||||||
|
|
||||||
## ビルド
|
## ビルド
|
||||||
|
|
||||||
npmでもyarnでも好きな方を選んでください。
|
|
||||||
|
|
||||||
### npm
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/cutls/TheDesk
|
git clone https://github.com/cutls/TheDesk
|
||||||
@@ -91,24 +88,8 @@ npm install --only=dev
|
|||||||
npm run construct
|
npm run construct
|
||||||
```
|
```
|
||||||
|
|
||||||
### yarn
|
|
||||||
|
|
||||||
```sh
|
|
||||||
git clone https://github.com/cutls/TheDesk
|
|
||||||
cd TheDesk/app
|
|
||||||
# Linux or macOS
|
|
||||||
yarn install --no-lockfile
|
|
||||||
# Windows
|
|
||||||
yarn install
|
|
||||||
|
|
||||||
yarn construct
|
|
||||||
```
|
|
||||||
|
|
||||||
### electron-builder(推奨)
|
### electron-builder(推奨)
|
||||||
|
npm scriptsを利用します
|
||||||
scriptsを利用します
|
|
||||||
|
|
||||||
#### npm
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# 実行している環境向けにビルド
|
# 実行している環境向けにビルド
|
||||||
@@ -122,20 +103,6 @@ npm run build:win
|
|||||||
npm run build:all
|
npm run build:all
|
||||||
```
|
```
|
||||||
|
|
||||||
#### yarn
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# 実行している環境向けにビルド
|
|
||||||
yarn build
|
|
||||||
|
|
||||||
# ターゲットを指定してビルド
|
|
||||||
## Windows
|
|
||||||
yarn build:win
|
|
||||||
|
|
||||||
## macOS向けのビルドにはmacOSで実行する必要があるためこのコマンドではビルドされません
|
|
||||||
yarn build:all
|
|
||||||
```
|
|
||||||
|
|
||||||
ビルド設定はすべてpackage.jsonに記載しています。
|
ビルド設定はすべてpackage.jsonに記載しています。
|
||||||
|
|
||||||
### electron-packager(非推奨)
|
### electron-packager(非推奨)
|
||||||
|
@@ -698,8 +698,8 @@ audio {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.box-anime {
|
.box-anime {
|
||||||
/*animation-duration: 1s;
|
animation-duration: 1s;
|
||||||
animation-name: fadeInLeft;*/
|
animation-name: fadeInLeft;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cvo-anime {
|
.cvo-anime {
|
||||||
@@ -712,15 +712,3 @@ audio {
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
background-color: #009688;
|
background-color: #009688;
|
||||||
}
|
}
|
||||||
.box .ui-resizable-s{
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.boxIn .ui-resizable-e{
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.boxIn .ui-resizable-s{
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
.box .ui-resizable-se{
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
3
app/index.html
Normal file
3
app/index.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<script>
|
||||||
|
location.href="./view/ja"
|
||||||
|
</script>
|
@@ -107,8 +107,6 @@ var lang={
|
|||||||
"lang_tags_tagwarn": "Автоматично попълване на {{tag}}, ако раздумката няма {{tag}}",
|
"lang_tags_tagwarn": "Автоматично попълване на {{tag}}, ако раздумката няма {{tag}}",
|
||||||
"lang_tl_media": "Media",
|
"lang_tl_media": "Media",
|
||||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||||
"lang_tl_postmarkers_title": "Process...",
|
|
||||||
"lang_tl_postmarkers": "POST markers data. Please wait",
|
|
||||||
"lang_img_DLDone": "Downloaded:",
|
"lang_img_DLDone": "Downloaded:",
|
||||||
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
||||||
"lang_layout_thisacct": "{{notf}} of this account",
|
"lang_layout_thisacct": "{{notf}} of this account",
|
||||||
|
@@ -107,8 +107,6 @@ var lang={
|
|||||||
"lang_tags_tagwarn": "Auto complete {{tag}}, if toot without {{tag}}",
|
"lang_tags_tagwarn": "Auto complete {{tag}}, if toot without {{tag}}",
|
||||||
"lang_tl_media": "Média",
|
"lang_tl_media": "Média",
|
||||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||||
"lang_tl_postmarkers_title": "Process...",
|
|
||||||
"lang_tl_postmarkers": "POST markers data. Please wait",
|
|
||||||
"lang_img_DLDone": "Downloaded:",
|
"lang_img_DLDone": "Downloaded:",
|
||||||
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
||||||
"lang_layout_thisacct": "{{notf}} tohoto účtu",
|
"lang_layout_thisacct": "{{notf}} tohoto účtu",
|
||||||
|
@@ -107,8 +107,6 @@ var lang={
|
|||||||
"lang_tags_tagwarn": "Automatisch {{tag}} anfügen, wenn Tröt ohne {{tag}} ist",
|
"lang_tags_tagwarn": "Automatisch {{tag}} anfügen, wenn Tröt ohne {{tag}} ist",
|
||||||
"lang_tl_media": "Medien",
|
"lang_tl_media": "Medien",
|
||||||
"lang_tl_reconnect": "Mit Streaming API erneut verbinden",
|
"lang_tl_reconnect": "Mit Streaming API erneut verbinden",
|
||||||
"lang_tl_postmarkers_title": "Process...",
|
|
||||||
"lang_tl_postmarkers": "POST markers data. Please wait",
|
|
||||||
"lang_img_DLDone": "Heruntergeladen:",
|
"lang_img_DLDone": "Heruntergeladen:",
|
||||||
"lang_layout_gotop": "Gehen Sie zum Anfang dieser Spalte. Wenn das Symbol rot ist, kann diese Spalte keine Verbindung zur Streaming-API herstellen. Bitte neu laden.",
|
"lang_layout_gotop": "Gehen Sie zum Anfang dieser Spalte. Wenn das Symbol rot ist, kann diese Spalte keine Verbindung zur Streaming-API herstellen. Bitte neu laden.",
|
||||||
"lang_layout_thisacct": "{{notf}} dieses Kontos",
|
"lang_layout_thisacct": "{{notf}} dieses Kontos",
|
||||||
|
@@ -131,8 +131,6 @@ var lang = {
|
|||||||
//tl/tl.js
|
//tl/tl.js
|
||||||
"lang_tl_media": "Media",
|
"lang_tl_media": "Media",
|
||||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||||
"lang_tl_postmarkers_title": "Process...",
|
|
||||||
"lang_tl_postmarkers": "POST markers data. Please wait",
|
|
||||||
//ui/img.js
|
//ui/img.js
|
||||||
"lang_img_DLDone": "Downloaded:",
|
"lang_img_DLDone": "Downloaded:",
|
||||||
//ui/layout.js
|
//ui/layout.js
|
||||||
|
@@ -131,8 +131,6 @@ var lang = {
|
|||||||
//tl/tl.js
|
//tl/tl.js
|
||||||
"lang_tl_media": "メディア",
|
"lang_tl_media": "メディア",
|
||||||
"lang_tl_reconnect": "Streamingに再接続しました",
|
"lang_tl_reconnect": "Streamingに再接続しました",
|
||||||
"lang_tl_postmarkers_title": "処理中",
|
|
||||||
"lang_tl_postmarkers": "未読マーカーを送信しています。3秒以内に閉じられます。",
|
|
||||||
//ui/img.js
|
//ui/img.js
|
||||||
"lang_img_DLDone": "ダウンロード先:",
|
"lang_img_DLDone": "ダウンロード先:",
|
||||||
//ui/layout.js
|
//ui/layout.js
|
||||||
|
@@ -525,6 +525,7 @@ function ticker() {
|
|||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}).then(function (json) {
|
}).then(function (json) {
|
||||||
|
console.log(json)
|
||||||
if (json) {
|
if (json) {
|
||||||
localStorage.setItem("ticker", JSON.stringify(json));
|
localStorage.setItem("ticker", JSON.stringify(json));
|
||||||
}
|
}
|
||||||
|
@@ -108,16 +108,12 @@ function opendev() {
|
|||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
var soundFile
|
|
||||||
function playSound() {
|
function playSound() {
|
||||||
window.AudioContext = window.AudioContext || window.webkitAudioContext;
|
window.AudioContext = window.AudioContext || window.webkitAudioContext;
|
||||||
if(soundFile){
|
|
||||||
soundFile.stop()
|
|
||||||
}
|
|
||||||
context = new AudioContext();
|
context = new AudioContext();
|
||||||
context.createBufferSource().start(0);
|
context.createBufferSource().start(0);
|
||||||
context.decodeAudioData(request.response, function (buf) {
|
context.decodeAudioData(request.response, function (buf) {
|
||||||
//console.log("Playing:" , source)
|
console.log("Playing:" + source)
|
||||||
source.buffer = buf;
|
source.buffer = buf;
|
||||||
source.loop = false;
|
source.loop = false;
|
||||||
});
|
});
|
||||||
@@ -125,20 +121,8 @@ function playSound() {
|
|||||||
volumeControl = context.createGain();
|
volumeControl = context.createGain();
|
||||||
source.connect(volumeControl);
|
source.connect(volumeControl);
|
||||||
volumeControl.connect(context.destination);
|
volumeControl.connect(context.destination);
|
||||||
var cvol = localStorage.getItem("customVol")
|
volumeControl.gain.value = 0.8
|
||||||
if (cvol) {
|
|
||||||
vol = cvol
|
|
||||||
}else{
|
|
||||||
vol = 0.8
|
|
||||||
}
|
|
||||||
volumeControl.gain.value = vol
|
|
||||||
source.start(0);
|
source.start(0);
|
||||||
soundFile = source;
|
|
||||||
|
|
||||||
function newFunction() {
|
|
||||||
var source;
|
|
||||||
return source;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
function nano() {
|
function nano() {
|
||||||
postMessage(["nano", null], "*")
|
postMessage(["nano", null], "*")
|
||||||
@@ -183,14 +167,20 @@ onmessage = function (e) {
|
|||||||
updateMess(e.data[1]);
|
updateMess(e.data[1]);
|
||||||
} else if (e.data[0] == "renderAbout") {
|
} else if (e.data[0] == "renderAbout") {
|
||||||
renderAbout(e.data[1]);
|
renderAbout(e.data[1]);
|
||||||
} else if (e.data[0] == "asRead") {
|
|
||||||
asRead()
|
|
||||||
} else if (e.data[0] == "asReadEnd") {
|
|
||||||
asReadEnd()
|
|
||||||
} else if (e.data[0] == "alert") {
|
} else if (e.data[0] == "alert") {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
title: e.data[1]
|
title: e.data[1]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
window.addEventListener('load', function() {
|
||||||
|
if ('serviceWorker' in navigator) {
|
||||||
|
navigator.serviceWorker.register("/sw.js")
|
||||||
|
.then(function(registration) {
|
||||||
|
console.log("serviceWorker registed.");
|
||||||
|
}).catch(function(error) {
|
||||||
|
console.warn("serviceWorker error.", error);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
@@ -1,3 +1,9 @@
|
|||||||
|
function postMessage(e){
|
||||||
|
if(e[0]=="openUrl"){
|
||||||
|
window.open(e[1])
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
document.title="TheDesk"
|
document.title="TheDesk"
|
||||||
$.strip_tags = function (str, allowed) {
|
$.strip_tags = function (str, allowed) {
|
||||||
if (!str) {
|
if (!str) {
|
||||||
|
@@ -57,8 +57,6 @@ onmessage = function (e) {
|
|||||||
ipc.send('download-btn', e.data[1]);
|
ipc.send('download-btn', e.data[1]);
|
||||||
} else if (e.data[0] == "nano") {
|
} else if (e.data[0] == "nano") {
|
||||||
ipc.send('nano', null);
|
ipc.send('nano', null);
|
||||||
} else if (e.data[0] == "asReadComp") {
|
|
||||||
ipc.send('sendMarkersComplete', null);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//version.js
|
//version.js
|
||||||
@@ -166,12 +164,6 @@ ipc.on('prog', function (event, arg) {
|
|||||||
ipc.on('mess', function (event, arg) {
|
ipc.on('mess', function (event, arg) {
|
||||||
postMessage(["updateMess", arg], "*")
|
postMessage(["updateMess", arg], "*")
|
||||||
})
|
})
|
||||||
ipc.on('asRead', function (event, arg) {
|
|
||||||
postMessage(["asRead", ""], "*")
|
|
||||||
})
|
|
||||||
ipc.on('asReadEnd', function (event, arg) {
|
|
||||||
postMessage(["asReadEnd", ""], "*")
|
|
||||||
})
|
|
||||||
var webviewDom = document.getElementById('webview');
|
var webviewDom = document.getElementById('webview');
|
||||||
if (webviewDom) {
|
if (webviewDom) {
|
||||||
webviewDom.addEventListener('new-window', function (e) {
|
webviewDom.addEventListener('new-window', function (e) {
|
||||||
|
@@ -295,7 +295,6 @@ function redraft(id, acct_id) {
|
|||||||
show();
|
show();
|
||||||
del(id, acct_id);
|
del(id, acct_id);
|
||||||
$("#post-acct-sel").prop("disabled", true);
|
$("#post-acct-sel").prop("disabled", true);
|
||||||
$('select').formSelect();
|
|
||||||
var medias = $("[toot-id=" + id + "]").attr("data-medias");
|
var medias = $("[toot-id=" + id + "]").attr("data-medias");
|
||||||
var vismode = $("[toot-id=" + id + "] .vis-data").attr("data-vis");
|
var vismode = $("[toot-id=" + id + "] .vis-data").attr("data-vis");
|
||||||
vis(vismode);
|
vis(vismode);
|
||||||
@@ -474,7 +473,7 @@ function staEx(mode) {
|
|||||||
var acct_id = $("#status-acct-sel").val();
|
var acct_id = $("#status-acct-sel").val();
|
||||||
var domain = localStorage.getItem("domain_" + acct_id);
|
var domain = localStorage.getItem("domain_" + acct_id);
|
||||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||||
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + url
|
var start = "https://" + domain + "/api/v1/search?resolve=true&q=" + url
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
@@ -6,21 +6,17 @@ function additional(acct_id, tlid) {
|
|||||||
|
|
||||||
$("#timeline-container .mention").addClass("parsed");
|
$("#timeline-container .mention").addClass("parsed");
|
||||||
|
|
||||||
$("#timeline-container .hashtag, #timeline-container [rel=tag]").each(function (i, elem) {
|
$("#timeline-container .hashtag").each(function (i, elem) {
|
||||||
var tags = $(this).attr("href").match(
|
var tags = $(this).attr("href").match(
|
||||||
/https?:\/\/([-a-zA-Z0-9@.]+)\/tags\/([-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+)/
|
/https?:\/\/([-a-zA-Z0-9@.]+)\/tags\/([-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+)/
|
||||||
);
|
);
|
||||||
if(tags){
|
$(this).attr("href", "#");
|
||||||
var tagThis = tags[2]
|
if (tags) {
|
||||||
}else{
|
if (tags[2]) {
|
||||||
var tagThis = $(this).attr("data-tag")
|
$(this).attr("onclick", 'tagShow(\'' + tags[2] + '\')');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(tagThis){
|
|
||||||
$(this).attr("onclick", 'tagShow(\'' + tagThis + '\')');
|
|
||||||
$(this).attr("href", "#");
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//トゥートサムネ
|
//トゥートサムネ
|
||||||
|
@@ -100,10 +100,10 @@ function notfColumn(acct_id, tlid, sys) {
|
|||||||
todc();
|
todc();
|
||||||
//Markers
|
//Markers
|
||||||
var markers = localStorage.getItem("markers");
|
var markers = localStorage.getItem("markers");
|
||||||
if (markers == "yes") {
|
if (markers == "no") {
|
||||||
markers = true;
|
markers = false;
|
||||||
} else {
|
} else {
|
||||||
markers = false
|
markers = true
|
||||||
}
|
}
|
||||||
if (markers) {
|
if (markers) {
|
||||||
getMarker(tlid, "notf", acct_id)
|
getMarker(tlid, "notf", acct_id)
|
||||||
|
@@ -426,12 +426,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (toot.content == "") {
|
if (toot.content) {
|
||||||
var content = " "
|
|
||||||
} else {
|
|
||||||
var content = toot.content
|
|
||||||
}
|
|
||||||
if (content) {
|
|
||||||
var id = toot.id;
|
var id = toot.id;
|
||||||
if (mix == "home") {
|
if (mix == "home") {
|
||||||
var home = ""
|
var home = ""
|
||||||
@@ -473,29 +468,31 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||||||
boostback = "emphasized";
|
boostback = "emphasized";
|
||||||
}
|
}
|
||||||
if (toot.spoiler_text && cw) {
|
if (toot.spoiler_text && cw) {
|
||||||
|
var content = toot.content;
|
||||||
var spoil = escapeHTML(toot.spoiler_text);
|
var spoil = escapeHTML(toot.spoiler_text);
|
||||||
var spoiler = "cw cw_hide_" + toot.id;
|
var spoiler = "cw cw_hide_" + toot.id;
|
||||||
var api_spoil = "gray";
|
var api_spoil = "gray";
|
||||||
var spoiler_show = '<a href="#" onclick="cw_show(\'' + toot.id +
|
var spoiler_show = '<a href="#" onclick="cw_show(\'' + toot.id +
|
||||||
'\')" class="nex parsed cw_btn">' + lang.lang_parse_cwshow + '</a><br>';
|
'\')" class="nex parsed cw_btn">' + lang.lang_parse_cwshow + '</a><br>';
|
||||||
} else {
|
} else {
|
||||||
if (content) {
|
if (toot.content) {
|
||||||
var ct1 = content.split('</p>').length + content.split('<br />').length - 2;
|
var ct1 = toot.content.split('</p>').length + toot.content.split('<br />').length - 2;
|
||||||
var ct2 = content.split('</p>').length + content.split('<br>').length - 2;
|
var ct2 = toot.content.split('</p>').length + toot.content.split('<br>').length - 2;
|
||||||
} else {
|
} else {
|
||||||
var ct1 = 100;
|
var ct1 = 100;
|
||||||
var ct2 = 100;
|
var ct2 = 100;
|
||||||
}
|
}
|
||||||
if (ct1 > ct2) { var ct = ct1; } else { var ct = ct2; }
|
if (ct1 > ct2) { var ct = ct1; } else { var ct = ct2; }
|
||||||
if ((sent < ct && $.mb_strlen($.strip_tags(content)) > 5) || ($.strip_tags(content).length > ltr && $.mb_strlen($.strip_tags(content)) > 5)) {
|
if ((sent < ct && $.mb_strlen($.strip_tags(toot.content)) > 5) || ($.strip_tags(toot.content).length > ltr && $.mb_strlen($.strip_tags(toot.content)) > 5)) {
|
||||||
var content = '<span class="gray">' + lang.lang_parse_fulltext + '</span><br>' + content
|
var content = '<span class="gray">' + lang.lang_parse_fulltext + '</span><br>' + toot.content
|
||||||
var spoil = '<span class="cw-long-' + toot.id + '">' + $.mb_substr($.strip_tags(
|
var spoil = '<span class="cw-long-' + toot.id + '">' + $.mb_substr($.strip_tags(
|
||||||
content), 0, 100) +
|
toot.content), 0, 100) +
|
||||||
'</span><span class="gray">' + lang.lang_parse_autofold + '</span>';
|
'</span><span class="gray">' + lang.lang_parse_autofold + '</span>';
|
||||||
var spoiler = "cw cw_hide_" + toot.id;
|
var spoiler = "cw cw_hide_" + toot.id;
|
||||||
var spoiler_show = '<a href="#" onclick="cw_show(\'' + toot.id +
|
var spoiler_show = '<a href="#" onclick="cw_show(\'' + toot.id +
|
||||||
'\')" class="nex parsed cw_btn">' + lang.lang_parse_more + '</a><br>';
|
'\')" class="nex parsed cw_btn">' + lang.lang_parse_more + '</a><br>';
|
||||||
} else {
|
} else {
|
||||||
|
var content = toot.content;
|
||||||
var spoil = escapeHTML(toot.spoiler_text);
|
var spoil = escapeHTML(toot.spoiler_text);
|
||||||
var spoiler = "";
|
var spoiler = "";
|
||||||
var spoiler_show = "";
|
var spoiler_show = "";
|
||||||
@@ -596,8 +593,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||||||
' toot-img pointer" style="max-width:100%;" loop="true"></a></span>';
|
' toot-img pointer" style="max-width:100%;" loop="true"></a></span>';
|
||||||
} else {
|
} else {
|
||||||
if (media.type == "unknown") {
|
if (media.type == "unknown") {
|
||||||
var mty = media.remote_url.match(/.+(\..+)$/)[1]
|
viewer = viewer + '<a href="' + media.remote_url + '" title="' + media.remote_url + '">[' + lang.lang_parse_unknown + ']</a> '
|
||||||
viewer = viewer + '<a href="' + media.remote_url + '" title="' + media.remote_url + '">[' + lang.lang_parse_unknown + '( ' + mty + ' )]</a> '
|
|
||||||
} else if (media.type == "audio") {
|
} else if (media.type == "audio") {
|
||||||
viewer = viewer + '<audio src="' +
|
viewer = viewer + '<audio src="' +
|
||||||
url + '" class="pointer" style="width:100%;" controls></span>';
|
url + '" class="pointer" style="width:100%;" controls></span>';
|
||||||
@@ -624,6 +620,8 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||||||
var to_mention = [];
|
var to_mention = [];
|
||||||
Object.keys(toot.mentions).forEach(function (key3) {
|
Object.keys(toot.mentions).forEach(function (key3) {
|
||||||
var mention = toot.mentions[key3];
|
var mention = toot.mentions[key3];
|
||||||
|
mentions = mentions + '<a onclick="udg(\'' + mention.id + '\',' +
|
||||||
|
acct_id + ')" class="pointer">@' + mention.acct + '</a> ';
|
||||||
//自分は除外
|
//自分は除外
|
||||||
//自インスタンスかどうかを確認し、IDの一致
|
//自インスタンスかどうかを確認し、IDの一致
|
||||||
if (mention.acct == mention.username && mention.id == localStorage.getItem("user-id_" + acct_id)) {
|
if (mention.acct == mention.username && mention.id == localStorage.getItem("user-id_" + acct_id)) {
|
||||||
@@ -631,8 +629,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||||||
} else {
|
} else {
|
||||||
//そのトゥの人NG
|
//そのトゥの人NG
|
||||||
if (toot.account.acct != mention.acct) {
|
if (toot.account.acct != mention.acct) {
|
||||||
mentions = mentions + '<a onclick="udg(\'' + mention.id + '\',' +
|
|
||||||
acct_id + ')" class="pointer">@' + mention.acct + '</a> ';
|
|
||||||
to_mention.push(mention.acct);
|
to_mention.push(mention.acct);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -654,7 +650,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
|||||||
if (tagck) {
|
if (tagck) {
|
||||||
Object.keys(toot.tags).forEach(function (key4) {
|
Object.keys(toot.tags).forEach(function (key4) {
|
||||||
var tag = toot.tags[key4];
|
var tag = toot.tags[key4];
|
||||||
var featured = ' <a onclick="tagFeature(\'' + tag.name + '\',' + acct_id + ')" class="pointer" title="add it to Featured tags">Feature</a> '
|
var featured = ' <a onclick="tagFeature(\'' + tag.name + '\',' + acct_id +')" class="pointer" title="add it to Featured tags">Feature</a> '
|
||||||
tags = tags + '<span class="hide" data-tag="' + tag.name + '">#' + tag.name + ':<a onclick="tl(\'tag\',\'' + tag.name + '\',' + acct_id +
|
tags = tags + '<span class="hide" data-tag="' + tag.name + '">#' + tag.name + ':<a onclick="tl(\'tag\',\'' + tag.name + '\',' + acct_id +
|
||||||
',\'add\')" class="pointer" title="' + lang.lang_parse_tagTL.replace("{{tag}}", '#' + tag.name) + '">TL</a> <a onclick="brInsert(\'#' + tag.name + '\')" class="pointer" title="' + lang.lang_parse_tagtoot.replace("{{tag}}", '#' + tag.name) + '">Toot</a> ' +
|
',\'add\')" class="pointer" title="' + lang.lang_parse_tagTL.replace("{{tag}}", '#' + tag.name) + '">TL</a> <a onclick="brInsert(\'#' + tag.name + '\')" class="pointer" title="' + lang.lang_parse_tagtoot.replace("{{tag}}", '#' + tag.name) + '">Toot</a> ' +
|
||||||
'<a onclick="tagPin(\'' + tag.name + '\')" class="pointer" title="' + lang.lang_parse_tagpin.replace("{{tag}}", '#' + tag.name) + '">Pin</a>' + featured + '</span> ';
|
'<a onclick="tagPin(\'' + tag.name + '\')" class="pointer" title="' + lang.lang_parse_tagpin.replace("{{tag}}", '#' + tag.name) + '">Pin</a>' + featured + '</span> ';
|
||||||
|
@@ -127,8 +127,6 @@ function voteMastodonrefresh(acct_id, id) {
|
|||||||
var choice = choices[keyc];
|
var choice = choices[keyc];
|
||||||
if (!json.voted) {
|
if (!json.voted) {
|
||||||
votesel = 'voteSelMastodon(\'' + acct_id + '\',\'' + json.id + '\',' + keyc + ',' + json.multiple + ')';
|
votesel = 'voteSelMastodon(\'' + acct_id + '\',\'' + json.id + '\',' + keyc + ',' + json.multiple + ')';
|
||||||
}else {
|
|
||||||
votesel =""
|
|
||||||
}
|
}
|
||||||
poll = poll + '<div class="pointer vote vote_' + acct_id + '_' + json.id + '_' + keyc + '" onclick="' + votesel + '">' + escapeHTML(choice.title) + '<span class="vote_' + acct_id + '_' + json.id + '_result ' + result_hide + '">(' + choice.votes_count + ')</span></div>';
|
poll = poll + '<div class="pointer vote vote_' + acct_id + '_' + json.id + '_' + keyc + '" onclick="' + votesel + '">' + escapeHTML(choice.title) + '<span class="vote_' + acct_id + '_' + json.id + '_result ' + result_hide + '">(' + choice.votes_count + ')</span></div>';
|
||||||
});
|
});
|
||||||
|
@@ -98,14 +98,11 @@ function voiceSettingLoad() {
|
|||||||
var vol = localStorage.getItem("voice_vol");
|
var vol = localStorage.getItem("voice_vol");
|
||||||
if (speed) {
|
if (speed) {
|
||||||
$("#voicespeed").val(speed * 10);
|
$("#voicespeed").val(speed * 10);
|
||||||
$("#voicespeedVal").text(speed * 10);
|
|
||||||
}
|
}
|
||||||
if (pitch) {
|
if (pitch) {
|
||||||
$("#voicepitch").val(pitch * 50);
|
$("#voicepitch").val(pitch * 50);
|
||||||
$("#voicepitchVal").text(pitch * 50);
|
|
||||||
}
|
}
|
||||||
if (vol) {
|
if (vol) {
|
||||||
$("#voicevol").val(vol * 100);
|
$("#voicevol").val(vol * 100);
|
||||||
$("#voicevolVal").text(vol * 100);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -153,10 +153,10 @@ function tl(type, data, acct_id, tlid, delc, voice, mode) {
|
|||||||
if (type == "home" || type == "notf") {
|
if (type == "home" || type == "notf") {
|
||||||
//Markers
|
//Markers
|
||||||
var markers = localStorage.getItem("markers");
|
var markers = localStorage.getItem("markers");
|
||||||
if (markers == "yes") {
|
if (markers == "no") {
|
||||||
markers = true;
|
markers = false;
|
||||||
} else {
|
} else {
|
||||||
markers = false
|
markers = true
|
||||||
}
|
}
|
||||||
if (markers) {
|
if (markers) {
|
||||||
getMarker(tlid, type, acct_id)
|
getMarker(tlid, type, acct_id)
|
||||||
@@ -999,24 +999,24 @@ function ueload(tlid) {
|
|||||||
columnReload(tlid, type)
|
columnReload(tlid, type)
|
||||||
}
|
}
|
||||||
if (localStorage.getItem("filter_" + acct_id) != "undefined") {
|
if (localStorage.getItem("filter_" + acct_id) != "undefined") {
|
||||||
var mute = getFilterType(JSON.parse(localStorage.getItem("filter_" + acct_id)), type)
|
var mute = getFilterType(JSON.parse(localStorage.getItem("filter_" + acct_id)), type);
|
||||||
} else {
|
} else {
|
||||||
var mute = []
|
var mute = [];
|
||||||
}
|
}
|
||||||
var templete = parse(json, '', acct_id, tlid, "", mute, type)
|
var templete = parse(json, '', acct_id, tlid, "", mute, type);
|
||||||
var len = json.length - 1
|
var len = json.length - 1
|
||||||
$("#timeline_" + tlid).prepend(templete)
|
$("#timeline_" + tlid).prepend(templete);
|
||||||
if ($("#timeline_" + tlid + " .cvo:eq(" + len + ")").length) {
|
if ($("#timeline_" + tlid + " .cvo:eq(" + len + ")").length) {
|
||||||
var to = $("#timeline_" + tlid + " .cvo:eq(" + len + ")").offset().top
|
var to = $("#timeline_" + tlid + " .cvo:eq(" + len + ")").offset().top
|
||||||
$("#timeline_box_" + tlid + "_box .tl-box").scrollTop(to)
|
$("#timeline_box_" + tlid + "_box .tl-box").scrollTop(to)
|
||||||
}
|
}
|
||||||
additional(acct_id, tlid)
|
additional(acct_id, tlid);
|
||||||
jQuery("time.timeago").timeago()
|
jQuery("time.timeago").timeago();
|
||||||
todc()
|
todc();
|
||||||
ueloadlock = false
|
ueloadlock = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function asRead(callback) {
|
function asRead() {
|
||||||
//Markers
|
//Markers
|
||||||
var markers = localStorage.getItem("markers");
|
var markers = localStorage.getItem("markers");
|
||||||
if (markers == "no") {
|
if (markers == "no") {
|
||||||
@@ -1027,9 +1027,7 @@ function asRead(callback) {
|
|||||||
if (markers) {
|
if (markers) {
|
||||||
var multi = localStorage.getItem("column")
|
var multi = localStorage.getItem("column")
|
||||||
var obj = JSON.parse(multi)
|
var obj = JSON.parse(multi)
|
||||||
var obl = obj.length
|
for (var i = 0; i < obj.length; i++) {
|
||||||
ct = 0
|
|
||||||
for (var i = 0; i < obl; i++) {
|
|
||||||
var acct_id = obj[i].domain
|
var acct_id = obj[i].domain
|
||||||
var type = obj[i].type
|
var type = obj[i].type
|
||||||
if (type == "home" || type == "notf") {
|
if (type == "home" || type == "notf") {
|
||||||
@@ -1048,53 +1046,23 @@ function asRead(callback) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
var domain = localStorage.getItem("domain_" + acct_id);
|
||||||
var domain = localStorage.getItem("domain_" + acct_id)
|
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||||
var at = localStorage.getItem("acct_" + acct_id + "_at")
|
var httpreq = new XMLHttpRequest();
|
||||||
var httpreq = new XMLHttpRequest()
|
|
||||||
var start = "https://" + domain + "/api/v1/markers"
|
var start = "https://" + domain + "/api/v1/markers"
|
||||||
httpreq.open('POST', start, true)
|
httpreq.open('POST', start, true);
|
||||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
httpreq.setRequestHeader('Content-Type', 'application/json');
|
||||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at)
|
httpreq.setRequestHeader('Authorization', 'Bearer ' + at);
|
||||||
httpreq.responseType = "json"
|
httpreq.responseType = "json";
|
||||||
httpreq.send(JSON.stringify(poster))
|
httpreq.send(JSON.stringify(poster));
|
||||||
httpreq.onreadystatechange = function () {
|
httpreq.onreadystatechange = function () {
|
||||||
if (httpreq.readyState === 4) {
|
if (httpreq.readyState === 4) {
|
||||||
var json = httpreq.response
|
var json = httpreq.response;
|
||||||
console.log(json)
|
console.log(json)
|
||||||
ct++
|
|
||||||
if (ct == obl && callback) {
|
|
||||||
postMessage(["asReadComp", ""], "*")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function asReadEnd() {
|
cbTimer1 = setInterval(asRead, 60000);
|
||||||
//Markers
|
|
||||||
var markers = localStorage.getItem("markers");
|
|
||||||
if (markers == "no") {
|
|
||||||
markers = false;
|
|
||||||
} else {
|
|
||||||
markers = true
|
|
||||||
}
|
|
||||||
if (markers) {
|
|
||||||
asRead(true)
|
|
||||||
Swal.fire({
|
|
||||||
title: lang.lang_tl_postmarkers_title,
|
|
||||||
html: lang.lang_tl_postmarkers,
|
|
||||||
timer: 3000,
|
|
||||||
onBeforeOpen: () => {
|
|
||||||
Swal.showLoading()
|
|
||||||
},
|
|
||||||
onClose: () => {
|
|
||||||
}
|
|
||||||
}).then((result) => {
|
|
||||||
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
postMessage(["asReadComp", ""], "*")
|
|
||||||
}
|
|
||||||
}
|
|
@@ -95,7 +95,6 @@ function parseColumn(target, dontclose) {
|
|||||||
var tlidtar = null
|
var tlidtar = null
|
||||||
if ($("#timeline-container").length) {
|
if ($("#timeline-container").length) {
|
||||||
$("#timeline-container").html("");
|
$("#timeline-container").html("");
|
||||||
$(".box, .boxIn").resizable("destroy");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var basekey = 0;
|
var basekey = 0;
|
||||||
@@ -156,16 +155,6 @@ function parseColumn(target, dontclose) {
|
|||||||
} else {
|
} else {
|
||||||
localStorage.removeItem("hasNotfC_" + acct.domain);
|
localStorage.removeItem("hasNotfC_" + acct.domain);
|
||||||
}
|
}
|
||||||
var width = localStorage.getItem("width");
|
|
||||||
if (width) {
|
|
||||||
var css = " min-width:" + width + "px;"
|
|
||||||
}
|
|
||||||
if(acct.width){
|
|
||||||
var css = " min-width:" + acct.width + "px;max-width:" + acct.width + "px;"
|
|
||||||
}
|
|
||||||
if(!css){
|
|
||||||
var css = ""
|
|
||||||
}
|
|
||||||
if (acct.type == "webview") {
|
if (acct.type == "webview") {
|
||||||
if (localStorage.getItem("fixwidth")) {
|
if (localStorage.getItem("fixwidth")) {
|
||||||
var fixwidth = localStorage.getItem("fixwidth");
|
var fixwidth = localStorage.getItem("fixwidth");
|
||||||
@@ -179,7 +168,10 @@ function parseColumn(target, dontclose) {
|
|||||||
if (!acct.left_fold) {
|
if (!acct.left_fold) {
|
||||||
basekey = key;
|
basekey = key;
|
||||||
}
|
}
|
||||||
|
var width = localStorage.getItem("width");
|
||||||
|
if (width) {
|
||||||
|
var css = " min-width:" + width + "px;"
|
||||||
|
}
|
||||||
var anime = localStorage.getItem("animation");
|
var anime = localStorage.getItem("animation");
|
||||||
if (anime == "yes" || !anime) {
|
if (anime == "yes" || !anime) {
|
||||||
var animecss = "box-anime";
|
var animecss = "box-anime";
|
||||||
@@ -188,6 +180,10 @@ function parseColumn(target, dontclose) {
|
|||||||
}
|
}
|
||||||
unstreamingTL(acct.type, key, basekey, insert, icnsert, acct.left_fold, css, animecss, acct.data);
|
unstreamingTL(acct.type, key, basekey, insert, icnsert, acct.left_fold, css, animecss, acct.data);
|
||||||
} else {
|
} else {
|
||||||
|
var width = localStorage.getItem("width");
|
||||||
|
if (width) {
|
||||||
|
var css = " min-width:" + width + "px;"
|
||||||
|
}
|
||||||
var anime = localStorage.getItem("animation");
|
var anime = localStorage.getItem("animation");
|
||||||
if (anime == "yes" || !anime) {
|
if (anime == "yes" || !anime) {
|
||||||
var animecss = "box-anime";
|
var animecss = "box-anime";
|
||||||
@@ -217,10 +213,10 @@ function parseColumn(target, dontclose) {
|
|||||||
unread = ""
|
unread = ""
|
||||||
}
|
}
|
||||||
var markers = localStorage.getItem("markers");
|
var markers = localStorage.getItem("markers");
|
||||||
if (markers == "yes") {
|
if (markers == "no") {
|
||||||
markers = true;
|
markers = false;
|
||||||
} else {
|
} else {
|
||||||
markers = false
|
markers = true
|
||||||
}
|
}
|
||||||
if (!markers) {
|
if (!markers) {
|
||||||
unread = ""
|
unread = ""
|
||||||
@@ -246,13 +242,8 @@ function parseColumn(target, dontclose) {
|
|||||||
var isMisRed = "red-text"
|
var isMisRed = "red-text"
|
||||||
var if_misskey_hide = ""
|
var if_misskey_hide = ""
|
||||||
}
|
}
|
||||||
if(acct.height){
|
|
||||||
var addHeight = " min-height:" + acct.height + "px;max-height:" + acct.height + "px;"
|
|
||||||
}else {
|
|
||||||
var addHeight = ""
|
|
||||||
}
|
|
||||||
var html = '<div class="boxIn" id="timeline_box_' + key + '_box" tlid="' + key +
|
var html = '<div class="boxIn" id="timeline_box_' + key + '_box" tlid="' + key +
|
||||||
'" data-acct="' + acct.domain + '" style="' + addHeight + '"><div class="notice-box z-depth-2" id="menu_' + key + '" style="' + insert + ' ">' +
|
'" data-acct="' + acct.domain + '"><div class="notice-box z-depth-2" id="menu_' + key + '" style="' + insert + ' ">' +
|
||||||
'<div class="area-notice"><i class="material-icons waves-effect ' + isMisRed + '" id="notice_icon_' + key + '"' + notf_attr + ' style="font-size:40px; padding-top:25%;" onclick="checkStr(\'' + acct.type + '\', \'' + data + '\', \'' + acct.domain + '\', \'' + key + '\', \'' + delc + '\',\'' + voice + '\',null)" title="' + lang.lang_layout_gotop + '"></i></div>' +
|
'<div class="area-notice"><i class="material-icons waves-effect ' + isMisRed + '" id="notice_icon_' + key + '"' + notf_attr + ' style="font-size:40px; padding-top:25%;" onclick="checkStr(\'' + acct.type + '\', \'' + data + '\', \'' + acct.domain + '\', \'' + key + '\', \'' + delc + '\',\'' + voice + '\',null)" title="' + lang.lang_layout_gotop + '"></i></div>' +
|
||||||
'<div class="area-notice_name"><span id="notice_' + key + '" class="tl-title"></span></div>' +
|
'<div class="area-notice_name"><span id="notice_' + key + '" class="tl-title"></span></div>' +
|
||||||
'<div class="area-a1"><a onclick="notfToggle(' + acct.domain + ',' + key +
|
'<div class="area-a1"><a onclick="notfToggle(' + acct.domain + ',' + key +
|
||||||
@@ -302,7 +293,6 @@ function parseColumn(target, dontclose) {
|
|||||||
mediaCheck(key);
|
mediaCheck(key);
|
||||||
catchCheck(key);
|
catchCheck(key);
|
||||||
voiceCheck(key);
|
voiceCheck(key);
|
||||||
var css = ""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var box = localStorage.getItem("box");
|
var box = localStorage.getItem("box");
|
||||||
@@ -330,40 +320,6 @@ function parseColumn(target, dontclose) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$(".box, .boxIn").resizable({
|
|
||||||
minHeight: 50,
|
|
||||||
minWidth: 50,
|
|
||||||
grid: 50,
|
|
||||||
resize: function (event, ui) {
|
|
||||||
$(this).css("min-width", ui.size.width + "px")
|
|
||||||
$(this).css("max-width", ui.size.width + "px")
|
|
||||||
$(this).css("min-height", ui.size.height + "px")
|
|
||||||
$(this).css("max-height", ui.size.height + "px")
|
|
||||||
},
|
|
||||||
stop: function (event, ui) {
|
|
||||||
var col = localStorage.getItem("column");
|
|
||||||
var o = JSON.parse(col);
|
|
||||||
var width = ui.size.width
|
|
||||||
var height = ui.size.height
|
|
||||||
if ($(this).hasClass("boxIn")) {
|
|
||||||
//縦幅。その縦幅を持つカラムのidは
|
|
||||||
console.log("tate")
|
|
||||||
var key = $(this).attr("tlid")
|
|
||||||
var obj = o[key];
|
|
||||||
obj.height = height;
|
|
||||||
o[key] = obj;
|
|
||||||
} else {
|
|
||||||
//横幅。その縦幅を持つカラムのidは
|
|
||||||
console.log("yoko")
|
|
||||||
var key = $(this).find(".boxIn").attr("tlid")
|
|
||||||
var obj = o[key];
|
|
||||||
obj.width = width;
|
|
||||||
o[key] = obj;
|
|
||||||
}
|
|
||||||
var json = JSON.stringify(o);
|
|
||||||
localStorage.setItem("column", json);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
function checkStr(type, data, acct_id, key, delc, voice) {
|
function checkStr(type, data, acct_id, key, delc, voice) {
|
||||||
if ($('#notice_icon_' + key).hasClass("red-text") && type != "notf" && type != "mix") {
|
if ($('#notice_icon_' + key).hasClass("red-text") && type != "notf" && type != "mix") {
|
||||||
|
@@ -161,37 +161,8 @@ function load() {
|
|||||||
$("#c2-file").text(localStorage.getItem("custom2"));
|
$("#c2-file").text(localStorage.getItem("custom2"));
|
||||||
$("#c3-file").text(localStorage.getItem("custom3"));
|
$("#c3-file").text(localStorage.getItem("custom3"));
|
||||||
$("#c4-file").text(localStorage.getItem("custom4"));
|
$("#c4-file").text(localStorage.getItem("custom4"));
|
||||||
var cvol = localStorage.getItem("customVol")
|
|
||||||
if (cvol) {
|
|
||||||
$("#soundvol").val(cvol * 100);
|
|
||||||
$("#soundVolVal").text(cvol * 100)
|
|
||||||
}
|
|
||||||
//$("#log").val(localStorage.getItem("errors"))
|
//$("#log").val(localStorage.getItem("errors"))
|
||||||
}
|
}
|
||||||
function customVol() {
|
|
||||||
var cvol = $("#soundvol").val()
|
|
||||||
$("#soundVolVal").text(cvol)
|
|
||||||
localStorage.setItem("customVol", cvol / 100)
|
|
||||||
var sound = localStorage.getItem("favSound");
|
|
||||||
if (sound == "default") {
|
|
||||||
var file = "../../source/notif.wav"
|
|
||||||
}else{
|
|
||||||
if (sound == "c1") {
|
|
||||||
var file = localStorage.getItem("custom1");
|
|
||||||
} else if (sound == "c2") {
|
|
||||||
var file = localStorage.getItem("custom2");
|
|
||||||
} else if (sound == "c3") {
|
|
||||||
var file = localStorage.getItem("custom3");
|
|
||||||
} else if (sound == "c4") {
|
|
||||||
var file = localStorage.getItem("custom4");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
request = new XMLHttpRequest();
|
|
||||||
request.open("GET", file, true);
|
|
||||||
request.responseType = "arraybuffer";
|
|
||||||
request.onload = playSound;
|
|
||||||
request.send();
|
|
||||||
}
|
|
||||||
|
|
||||||
function climute() {
|
function climute() {
|
||||||
//クライアントミュート
|
//クライアントミュート
|
||||||
|
@@ -23,7 +23,7 @@ function udgEx(user, acct_id) {
|
|||||||
var domain = localStorage.getItem("domain_" + acct_id);
|
var domain = localStorage.getItem("domain_" + acct_id);
|
||||||
if (localStorage.getItem("mode_" + domain) == "misskey") { return false; }
|
if (localStorage.getItem("mode_" + domain) == "misskey") { return false; }
|
||||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||||
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + user
|
var start = "https://" + domain + "/api/v1/search?resolve=true&q=" + user
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
91
app/main.js
91
app/main.js
@@ -12,7 +12,6 @@ const np = require('./main/np.js');
|
|||||||
const systemFunc = require('./main/system.js');
|
const systemFunc = require('./main/system.js');
|
||||||
const Menu = electron.Menu
|
const Menu = electron.Menu
|
||||||
const join = require('path').join;
|
const join = require('path').join;
|
||||||
|
|
||||||
// アプリケーションをコントロールするモジュール
|
// アプリケーションをコントロールするモジュール
|
||||||
const app = electron.app;
|
const app = electron.app;
|
||||||
// ウィンドウを作成するモジュール
|
// ウィンドウを作成するモジュール
|
||||||
@@ -30,8 +29,8 @@ if (!gotTheLock) {
|
|||||||
// 多重起動を試みた場合、既に存在するウィンドウにフォーカスを移す
|
// 多重起動を試みた場合、既に存在するウィンドウにフォーカスを移す
|
||||||
// Someone tried to run a second instance, we should focus our window.
|
// Someone tried to run a second instance, we should focus our window.
|
||||||
if (mainWindow) {
|
if (mainWindow) {
|
||||||
if (mainWindow.isMinimized()) mainWindow.restore()
|
if (mainWindow.isMinimized()) mainWindow.restore()
|
||||||
mainWindow.focus()
|
mainWindow.focus()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -41,18 +40,18 @@ if (process.argv.indexOf("--dev") === -1) {
|
|||||||
} else {
|
} else {
|
||||||
var packaged = false;
|
var packaged = false;
|
||||||
console.log(
|
console.log(
|
||||||
"||\\\\\\ \n" +
|
"||\\\\\\ \n"+
|
||||||
"|||| \\\\\\\\ \n" +
|
"|||| \\\\\\\\ \n"+
|
||||||
"|||| \\\\\\\\ \n" +
|
"|||| \\\\\\\\ \n"+
|
||||||
"|||| Am I a \\\\\\\\ \n" +
|
"|||| Am I a \\\\\\\\ \n"+
|
||||||
"|||| cat? ^ ^ \\\\\\\\\\ _____ _ ____ _ \n" +
|
"|||| cat? ^ ^ \\\\\\\\\\ _____ _ ____ _ \n"+
|
||||||
"|||| (.-.) \\\\\\\\\\ |_ _| |__ ___| _ \\ ___ ___| | __\n" +
|
"|||| (.-.) \\\\\\\\\\ |_ _| |__ ___| _ \\ ___ ___| | __\n"+
|
||||||
"|||| ___> ) ||||| | | | '_ \\ / _ \\ | | |/ _ \\/ __| |/ /\n" +
|
"|||| ___> ) ||||| | | | '_ \\ / _ \\ | | |/ _ \\/ __| |/ /\n"+
|
||||||
"|||| < _ _) ////// | | | | | | __/ |_| | __/\__ \\ < \n" +
|
"|||| < _ _) ////// | | | | | | __/ |_| | __/\__ \\ < \n"+
|
||||||
"|||| |_||_| ///// |_| |_| |_|\\___|____/ \\___||___/_|\\_\\ \n" +
|
"|||| |_||_| ///// |_| |_| |_|\\___|____/ \\___||___/_|\\_\\ \n"+
|
||||||
"|||| ///// \n" +
|
"|||| ///// \n"+
|
||||||
"|||| /////\n" +
|
"|||| /////\n"+
|
||||||
"|||| /////\n" +
|
"|||| /////\n"+
|
||||||
"||||//////"
|
"||||//////"
|
||||||
)
|
)
|
||||||
console.log("Welcome!")
|
console.log("Welcome!")
|
||||||
@@ -64,9 +63,9 @@ var ha_path = join(app.getPath("userData"), "hardwareAcceleration");
|
|||||||
try {
|
try {
|
||||||
fs.readFileSync(ha_path, 'utf8');
|
fs.readFileSync(ha_path, 'utf8');
|
||||||
app.disableHardwareAcceleration()
|
app.disableHardwareAcceleration()
|
||||||
if (!packaged) console.log("disabled: Hardware Acceleration");
|
if(!packaged) console.log("disabled: Hardware Acceleration");
|
||||||
} catch{
|
} catch{
|
||||||
if (!packaged) console.log("enabled: Hardware Acceleration");
|
if(!packaged) console.log("enabled: Hardware Acceleration");
|
||||||
}
|
}
|
||||||
var window_size;
|
var window_size;
|
||||||
try {
|
try {
|
||||||
@@ -132,8 +131,8 @@ function createWindow() {
|
|||||||
fs.writeFileSync(lang_path, lang);
|
fs.writeFileSync(lang_path, lang);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!packaged) console.log("your lang:" + app.getLocale());
|
if(!packaged) console.log("your lang:" + app.getLocale());
|
||||||
if (!packaged) console.log("launch:" + lang);
|
if(!packaged) console.log("launch:" + lang);
|
||||||
// メイン画面の表示。ウィンドウの幅、高さを指定できる
|
// メイン画面の表示。ウィンドウの幅、高さを指定できる
|
||||||
var platform = process.platform;
|
var platform = process.platform;
|
||||||
var bit = process.arch;
|
var bit = process.arch;
|
||||||
@@ -174,7 +173,7 @@ function createWindow() {
|
|||||||
if (window_size.max) {
|
if (window_size.max) {
|
||||||
mainWindow.maximize();
|
mainWindow.maximize();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
electron.session.defaultSession.clearCache(() => { })
|
electron.session.defaultSession.clearCache(() => { })
|
||||||
if (process.argv) {
|
if (process.argv) {
|
||||||
if (process.argv[1]) {
|
if (process.argv[1]) {
|
||||||
@@ -201,27 +200,7 @@ function createWindow() {
|
|||||||
electron.ipcMain.removeAllListeners();
|
electron.ipcMain.removeAllListeners();
|
||||||
mainWindow = null;
|
mainWindow = null;
|
||||||
});
|
});
|
||||||
closeArg = false
|
mainWindow.on('close', function () {
|
||||||
mainWindow.on('close', function (e, arg) {
|
|
||||||
if(!closeArg){
|
|
||||||
e.preventDefault()
|
|
||||||
}
|
|
||||||
const promise = new Promise(function (resolve) {
|
|
||||||
mainWindow.webContents.send('asReadEnd', "")
|
|
||||||
setTimeout(function () { resolve() }, 3000)
|
|
||||||
})
|
|
||||||
promise.then((function (response) {
|
|
||||||
writePos(mainWindow)
|
|
||||||
closeArg = true
|
|
||||||
mainWindow.close()
|
|
||||||
})
|
|
||||||
);
|
|
||||||
});
|
|
||||||
electron.ipcMain.on('sendMarkersComplete', function (e, arg) {
|
|
||||||
closeArg = true
|
|
||||||
mainWindow.close()
|
|
||||||
})
|
|
||||||
function writePos(mainWindow){
|
|
||||||
if (
|
if (
|
||||||
max_window_size.width == mainWindow.getBounds().width &&
|
max_window_size.width == mainWindow.getBounds().width &&
|
||||||
max_window_size.height == mainWindow.getBounds().height &&
|
max_window_size.height == mainWindow.getBounds().height &&
|
||||||
@@ -232,14 +211,11 @@ function createWindow() {
|
|||||||
} else {
|
} else {
|
||||||
var size = { width: mainWindow.getBounds().width, height: mainWindow.getBounds().height, x: mainWindow.getBounds().x, y: mainWindow.getBounds().y }
|
var size = { width: mainWindow.getBounds().width, height: mainWindow.getBounds().height, x: mainWindow.getBounds().x, y: mainWindow.getBounds().y }
|
||||||
}
|
}
|
||||||
fs.writeFileSync(info_path, JSON.stringify(size))
|
fs.writeFileSync(info_path, JSON.stringify(size));
|
||||||
}
|
});
|
||||||
mainWindow.on('maximize', function () {
|
mainWindow.on('maximize', function () {
|
||||||
fs.writeFileSync(max_info_path, JSON.stringify(mainWindow.getBounds()));
|
fs.writeFileSync(max_info_path, JSON.stringify(mainWindow.getBounds()));
|
||||||
});
|
});
|
||||||
mainWindow.on('minimize', function () {
|
|
||||||
mainWindow.webContents.send('asRead', "")
|
|
||||||
})
|
|
||||||
|
|
||||||
var platform = process.platform;
|
var platform = process.platform;
|
||||||
var bit = process.arch;
|
var bit = process.arch;
|
||||||
@@ -254,29 +230,6 @@ function createWindow() {
|
|||||||
np.TheDeskNowPlaying(mainWindow);
|
np.TheDeskNowPlaying(mainWindow);
|
||||||
//その他system
|
//その他system
|
||||||
systemFunc.system(mainWindow, dir, lang, dirname);
|
systemFunc.system(mainWindow, dir, lang, dirname);
|
||||||
setInterval(function () { mouseTrack(mainWindow) }, 1000);
|
|
||||||
}
|
|
||||||
var x = 0
|
|
||||||
var y = 0
|
|
||||||
var unchanged = 0
|
|
||||||
var locked = false
|
|
||||||
function mouseTrack(mainWindow) {
|
|
||||||
let mousePos = electron.screen.getCursorScreenPoint()
|
|
||||||
let xNow = mousePos.x
|
|
||||||
let yNow = mousePos.x
|
|
||||||
if (x != xNow || y != yNow) {
|
|
||||||
unchanged = 0
|
|
||||||
locked = false
|
|
||||||
} else {
|
|
||||||
unchanged++
|
|
||||||
if (unchanged > 60 && !locked) {
|
|
||||||
unchanged = 0
|
|
||||||
locked = true
|
|
||||||
mainWindow.webContents.send('asRead', "")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
x = xNow
|
|
||||||
y = yNow
|
|
||||||
}
|
}
|
||||||
// Electronの初期化完了後に実行
|
// Electronの初期化完了後に実行
|
||||||
app.on('ready', createWindow);
|
app.on('ready', createWindow);
|
||||||
|
21
app/manifest.json
Normal file
21
app/manifest.json
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"name": "TheDesk",
|
||||||
|
"short_name": "TheDesk",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "./img/desk.png",
|
||||||
|
"type": "image/png",
|
||||||
|
"sizes": "512x512"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_url": "/",
|
||||||
|
"display": "standalone",
|
||||||
|
"orientation": "portrait-primary",
|
||||||
|
"background_color": "#212121",
|
||||||
|
"theme_color": "#212121",
|
||||||
|
"description": "TheDesk",
|
||||||
|
"dir": "ltr",
|
||||||
|
"lang": "ja-jp",
|
||||||
|
"related_applications": [],
|
||||||
|
"prefer_related_applications": false
|
||||||
|
}
|
15
app/node_modules/.bin/electron
generated
vendored
Normal file
15
app/node_modules/.bin/electron
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../electron/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../electron/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
15
app/node_modules/.bin/electron-builder
generated
vendored
Normal file
15
app/node_modules/.bin/electron-builder
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../electron-builder/out/cli/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../electron-builder/out/cli/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/electron-builder.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/electron-builder.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\electron-builder\out\cli\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\electron-builder\out\cli\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/electron-download
generated
vendored
Normal file
15
app/node_modules/.bin/electron-download
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../electron-download/lib/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../electron-download/lib/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/electron-download.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/electron-download.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\electron-download\lib\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\electron-download\lib\cli.js" %*
|
||||||
|
)
|
7
app/node_modules/.bin/electron.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/electron.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\electron\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\electron\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/esparse
generated
vendored
Normal file
15
app/node_modules/.bin/esparse
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../esprima/bin/esparse.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/esparse.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/esparse.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\esprima\bin\esparse.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\esprima\bin\esparse.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/esvalidate
generated
vendored
Normal file
15
app/node_modules/.bin/esvalidate
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../esprima/bin/esvalidate.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/esvalidate.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/esvalidate.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\esprima\bin\esvalidate.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\esprima\bin\esvalidate.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/extract-zip
generated
vendored
Normal file
15
app/node_modules/.bin/extract-zip
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../extract-zip/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../extract-zip/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/extract-zip.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/extract-zip.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\extract-zip\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\extract-zip\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/install-app-deps
generated
vendored
Normal file
15
app/node_modules/.bin/install-app-deps
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../electron-builder/out/cli/install-app-deps.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../electron-builder/out/cli/install-app-deps.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/install-app-deps.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/install-app-deps.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\electron-builder\out\cli\install-app-deps.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\electron-builder\out\cli\install-app-deps.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/is-ci
generated
vendored
Normal file
15
app/node_modules/.bin/is-ci
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../is-ci/bin.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../is-ci/bin.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/is-ci.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/is-ci.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\is-ci\bin.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\is-ci\bin.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/js-yaml
generated
vendored
Normal file
15
app/node_modules/.bin/js-yaml
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/js-yaml.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/js-yaml.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\js-yaml\bin\js-yaml.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\js-yaml\bin\js-yaml.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/json5
generated
vendored
Normal file
15
app/node_modules/.bin/json5
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../json5/lib/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../json5/lib/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/json5.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/json5.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\json5\lib\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\json5\lib\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/mime
generated
vendored
Normal file
15
app/node_modules/.bin/mime
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../mime/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../mime/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/mime.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/mime.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\mime\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\mime\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/mkdirp
generated
vendored
Normal file
15
app/node_modules/.bin/mkdirp
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../mkdirp/bin/cmd.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/mkdirp.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/mkdirp.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\mkdirp\bin\cmd.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\mkdirp\bin\cmd.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/nugget
generated
vendored
Normal file
15
app/node_modules/.bin/nugget
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../nugget/bin.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../nugget/bin.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/nugget.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/nugget.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\nugget\bin.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\nugget\bin.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/pixelmatch
generated
vendored
Normal file
15
app/node_modules/.bin/pixelmatch
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../pixelmatch/bin/pixelmatch" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../pixelmatch/bin/pixelmatch" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/pixelmatch.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/pixelmatch.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\pixelmatch\bin\pixelmatch" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\pixelmatch\bin\pixelmatch" %*
|
||||||
|
)
|
15
app/node_modules/.bin/pretty-bytes
generated
vendored
Normal file
15
app/node_modules/.bin/pretty-bytes
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../pretty-bytes/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../pretty-bytes/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/pretty-bytes.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/pretty-bytes.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\pretty-bytes\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\pretty-bytes\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/rc
generated
vendored
Normal file
15
app/node_modules/.bin/rc
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../rc/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../rc/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/rc.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/rc.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\rc\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\rc\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/semver
generated
vendored
Normal file
15
app/node_modules/.bin/semver
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../semver/bin/semver" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../semver/bin/semver" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/semver.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/semver.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\semver\bin\semver" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\semver\bin\semver" %*
|
||||||
|
)
|
15
app/node_modules/.bin/sshpk-conv
generated
vendored
Normal file
15
app/node_modules/.bin/sshpk-conv
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../sshpk/bin/sshpk-conv" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/sshpk-conv.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/sshpk-conv.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\sshpk\bin\sshpk-conv" %*
|
||||||
|
)
|
15
app/node_modules/.bin/sshpk-sign
generated
vendored
Normal file
15
app/node_modules/.bin/sshpk-sign
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../sshpk/bin/sshpk-sign" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/sshpk-sign.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/sshpk-sign.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\sshpk\bin\sshpk-sign" %*
|
||||||
|
)
|
15
app/node_modules/.bin/sshpk-verify
generated
vendored
Normal file
15
app/node_modules/.bin/sshpk-verify
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../sshpk/bin/sshpk-verify" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/sshpk-verify.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/sshpk-verify.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\sshpk\bin\sshpk-verify" %*
|
||||||
|
)
|
15
app/node_modules/.bin/strip-indent
generated
vendored
Normal file
15
app/node_modules/.bin/strip-indent
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../strip-indent/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../strip-indent/cli.js" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/strip-indent.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/strip-indent.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\strip-indent\cli.js" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\strip-indent\cli.js" %*
|
||||||
|
)
|
15
app/node_modules/.bin/uuid
generated
vendored
Normal file
15
app/node_modules/.bin/uuid
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../uuid/bin/uuid" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/uuid.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/uuid.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\uuid\bin\uuid" %*
|
||||||
|
)
|
15
app/node_modules/.bin/which
generated
vendored
Normal file
15
app/node_modules/.bin/which
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||||
|
|
||||||
|
case `uname` in
|
||||||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -x "$basedir/node" ]; then
|
||||||
|
"$basedir/node" "$basedir/../which/bin/which" "$@"
|
||||||
|
ret=$?
|
||||||
|
else
|
||||||
|
node "$basedir/../which/bin/which" "$@"
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
|
exit $ret
|
7
app/node_modules/.bin/which.cmd
generated
vendored
Normal file
7
app/node_modules/.bin/which.cmd
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@IF EXIST "%~dp0\node.exe" (
|
||||||
|
"%~dp0\node.exe" "%~dp0\..\which\bin\which" %*
|
||||||
|
) ELSE (
|
||||||
|
@SETLOCAL
|
||||||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||||
|
node "%~dp0\..\which\bin\which" %*
|
||||||
|
)
|
9
app/node_modules/7zip-bin/7x.sh
generated
vendored
Normal file
9
app/node_modules/7zip-bin/7x.sh
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
sz_program=${SZA_PATH:-7za}
|
||||||
|
sz_type=${SZA_ARCHIVE_TYPE:-xz}
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
-d) "$sz_program" e -si -so -t${sz_type} ;;
|
||||||
|
*) "$sz_program" a f -si -so -t${sz_type} -mx${SZA_COMPRESSION_LEVEL:-9} ;;
|
||||||
|
esac 2> /dev/null
|
22
app/node_modules/7zip-bin/LICENSE.txt
generated
vendored
Normal file
22
app/node_modules/7zip-bin/LICENSE.txt
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2016 Vladimir Krivosheev
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
1
app/node_modules/7zip-bin/README.md
generated
vendored
Normal file
1
app/node_modules/7zip-bin/README.md
generated
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
7-Zip precompiled binaries.
|
2
app/node_modules/7zip-bin/index.d.ts
generated
vendored
Normal file
2
app/node_modules/7zip-bin/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export const path7za: string
|
||||||
|
export const path7x: string
|
22
app/node_modules/7zip-bin/index.js
generated
vendored
Normal file
22
app/node_modules/7zip-bin/index.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
"use strict"
|
||||||
|
|
||||||
|
const path = require("path")
|
||||||
|
|
||||||
|
function getPath() {
|
||||||
|
if (process.env.USE_SYSTEM_7ZA === "true") {
|
||||||
|
return "7za"
|
||||||
|
}
|
||||||
|
|
||||||
|
if (process.platform === "darwin") {
|
||||||
|
return path.join(__dirname, "mac", "7za")
|
||||||
|
}
|
||||||
|
else if (process.platform === "win32") {
|
||||||
|
return path.join(__dirname, "win", process.arch, "7za.exe")
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return path.join(__dirname, "linux", process.arch, "7za")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.path7za = getPath()
|
||||||
|
exports.path7x = path.join(__dirname, "7x.sh")
|
BIN
app/node_modules/7zip-bin/linux/arm/7za
generated
vendored
Normal file
BIN
app/node_modules/7zip-bin/linux/arm/7za
generated
vendored
Normal file
Binary file not shown.
BIN
app/node_modules/7zip-bin/linux/arm64/7za
generated
vendored
Normal file
BIN
app/node_modules/7zip-bin/linux/arm64/7za
generated
vendored
Normal file
Binary file not shown.
BIN
app/node_modules/7zip-bin/linux/ia32/7za
generated
vendored
Normal file
BIN
app/node_modules/7zip-bin/linux/ia32/7za
generated
vendored
Normal file
Binary file not shown.
BIN
app/node_modules/7zip-bin/linux/x64/7za
generated
vendored
Normal file
BIN
app/node_modules/7zip-bin/linux/x64/7za
generated
vendored
Normal file
Binary file not shown.
9
app/node_modules/7zip-bin/linux/x64/build.sh
generated
vendored
Normal file
9
app/node_modules/7zip-bin/linux/x64/build.sh
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
rm -rf /tmp/7z-linux
|
||||||
|
mkdir /tmp/7z-linux
|
||||||
|
cp "$BASEDIR/do-build.sh" /tmp/7z-linux/do-build.sh
|
||||||
|
docker run --rm -v /tmp/7z-linux:/project buildpack-deps:xenial /project/do-build.sh
|
20
app/node_modules/7zip-bin/linux/x64/do-build.sh
generated
vendored
Normal file
20
app/node_modules/7zip-bin/linux/x64/do-build.sh
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get upgrade -qq
|
||||||
|
|
||||||
|
echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" > /etc/apt/sources.list.d/llvm.list
|
||||||
|
curl -L http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get install -qq bzip2 yasm clang-5.0 lldb-5.0 lld-5.0
|
||||||
|
|
||||||
|
ln -s /usr/bin/clang-5.0 /usr/bin/clang
|
||||||
|
ln -s /usr/bin/clang++-5.0 /usr/bin/clang++
|
||||||
|
|
||||||
|
mkdir -p /tmp/7z
|
||||||
|
cd /tmp/7z
|
||||||
|
curl -L http://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2 | tar -xj -C . --strip-components 1
|
||||||
|
cp makefile.linux_clang_amd64_asm makefile.machine
|
||||||
|
make -j4
|
||||||
|
mv bin/7za /project/7za
|
BIN
app/node_modules/7zip-bin/mac/7za
generated
vendored
Normal file
BIN
app/node_modules/7zip-bin/mac/7za
generated
vendored
Normal file
Binary file not shown.
53
app/node_modules/7zip-bin/package.json
generated
vendored
Normal file
53
app/node_modules/7zip-bin/package.json
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"_from": "7zip-bin@~5.0.3",
|
||||||
|
"_id": "7zip-bin@5.0.3",
|
||||||
|
"_inBundle": false,
|
||||||
|
"_integrity": "sha512-GLyWIFBbGvpKPGo55JyRZAo4lVbnBiD52cKlw/0Vt+wnmKvWJkpZvsjVoaIolyBXDeAQKSicRtqFNPem9w0WYA==",
|
||||||
|
"_location": "/7zip-bin",
|
||||||
|
"_phantomChildren": {},
|
||||||
|
"_requested": {
|
||||||
|
"type": "range",
|
||||||
|
"registry": true,
|
||||||
|
"raw": "7zip-bin@~5.0.3",
|
||||||
|
"name": "7zip-bin",
|
||||||
|
"escapedName": "7zip-bin",
|
||||||
|
"rawSpec": "~5.0.3",
|
||||||
|
"saveSpec": null,
|
||||||
|
"fetchSpec": "~5.0.3"
|
||||||
|
},
|
||||||
|
"_requiredBy": [
|
||||||
|
"/app-builder-lib",
|
||||||
|
"/builder-util"
|
||||||
|
],
|
||||||
|
"_resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.0.3.tgz",
|
||||||
|
"_shasum": "bc5b5532ecafd923a61f2fb097e3b108c0106a3f",
|
||||||
|
"_spec": "7zip-bin@~5.0.3",
|
||||||
|
"_where": "C:\\Users\\ryuki\\TheDesk\\app\\node_modules\\app-builder-lib",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/develar/7zip-bin/issues"
|
||||||
|
},
|
||||||
|
"bundleDependencies": false,
|
||||||
|
"deprecated": false,
|
||||||
|
"description": "7-Zip precompiled binaries",
|
||||||
|
"files": [
|
||||||
|
"*.js",
|
||||||
|
"7x.sh",
|
||||||
|
"index.d.ts",
|
||||||
|
"linux",
|
||||||
|
"mac",
|
||||||
|
"win"
|
||||||
|
],
|
||||||
|
"homepage": "https://github.com/develar/7zip-bin#readme",
|
||||||
|
"keywords": [
|
||||||
|
"7zip",
|
||||||
|
"7z",
|
||||||
|
"7za"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"name": "7zip-bin",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/develar/7zip-bin.git"
|
||||||
|
},
|
||||||
|
"version": "5.0.3"
|
||||||
|
}
|
22
app/node_modules/@babel/polyfill/LICENSE
generated
vendored
Normal file
22
app/node_modules/@babel/polyfill/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||||
|
|
||||||
|
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.
|
22
app/node_modules/@babel/polyfill/README.md
generated
vendored
Normal file
22
app/node_modules/@babel/polyfill/README.md
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# @babel/polyfill
|
||||||
|
|
||||||
|
> Provides polyfills necessary for a full ES2015+ environment
|
||||||
|
|
||||||
|
|
||||||
|
**This package has been deprecated in favor of separate inclusion of required parts of [`core-js`](https://github.com/zloirock/core-js) and [`regenerator-runtime`](https://www.npmjs.com/package/regenerator-runtime). See our website [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill.html) for more information.**
|
||||||
|
|
||||||
|
See our website [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20polyfill%22+is%3Aopen) associated with this package.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
Using npm:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install --save @babel/polyfill
|
||||||
|
```
|
||||||
|
|
||||||
|
or using yarn:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
yarn add @babel/polyfill
|
||||||
|
```
|
1
app/node_modules/@babel/polyfill/browser.js
generated
vendored
Normal file
1
app/node_modules/@babel/polyfill/browser.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
7179
app/node_modules/@babel/polyfill/dist/polyfill.js
generated
vendored
Normal file
7179
app/node_modules/@babel/polyfill/dist/polyfill.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
app/node_modules/@babel/polyfill/dist/polyfill.min.js
generated
vendored
Normal file
1
app/node_modules/@babel/polyfill/dist/polyfill.min.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
13
app/node_modules/@babel/polyfill/lib/index.js
generated
vendored
Normal file
13
app/node_modules/@babel/polyfill/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
require("./noConflict");
|
||||||
|
|
||||||
|
var _global = _interopRequireDefault(require("core-js/library/fn/global"));
|
||||||
|
|
||||||
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||||
|
|
||||||
|
if (_global.default._babelPolyfill && typeof console !== "undefined" && console.warn) {
|
||||||
|
console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended " + "and may have consequences if different versions of the polyfills are applied sequentially. " + "If you do need to load the polyfill more than once, use @babel/polyfill/noConflict " + "instead to bypass the warning.");
|
||||||
|
}
|
||||||
|
|
||||||
|
_global.default._babelPolyfill = true;
|
29
app/node_modules/@babel/polyfill/lib/noConflict.js
generated
vendored
Normal file
29
app/node_modules/@babel/polyfill/lib/noConflict.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
require("core-js/es6");
|
||||||
|
|
||||||
|
require("core-js/fn/array/includes");
|
||||||
|
|
||||||
|
require("core-js/fn/array/flat-map");
|
||||||
|
|
||||||
|
require("core-js/fn/string/pad-start");
|
||||||
|
|
||||||
|
require("core-js/fn/string/pad-end");
|
||||||
|
|
||||||
|
require("core-js/fn/string/trim-start");
|
||||||
|
|
||||||
|
require("core-js/fn/string/trim-end");
|
||||||
|
|
||||||
|
require("core-js/fn/symbol/async-iterator");
|
||||||
|
|
||||||
|
require("core-js/fn/object/get-own-property-descriptors");
|
||||||
|
|
||||||
|
require("core-js/fn/object/values");
|
||||||
|
|
||||||
|
require("core-js/fn/object/entries");
|
||||||
|
|
||||||
|
require("core-js/fn/promise/finally");
|
||||||
|
|
||||||
|
require("core-js/web");
|
||||||
|
|
||||||
|
require("regenerator-runtime/runtime");
|
1
app/node_modules/@babel/polyfill/noConflict.js
generated
vendored
Normal file
1
app/node_modules/@babel/polyfill/noConflict.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
require("./lib/noConflict");
|
53
app/node_modules/@babel/polyfill/package.json
generated
vendored
Normal file
53
app/node_modules/@babel/polyfill/package.json
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"_args": [
|
||||||
|
[
|
||||||
|
"@babel/polyfill@7.4.4",
|
||||||
|
"C:\\Users\\ryuki\\TheDesk\\app"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"_from": "@babel/polyfill@7.4.4",
|
||||||
|
"_id": "@babel/polyfill@7.4.4",
|
||||||
|
"_inBundle": false,
|
||||||
|
"_integrity": "sha512-WlthFLfhQQhh+A2Gn5NSFl0Huxz36x86Jn+E9OW7ibK8edKPq+KLy4apM1yDpQ8kJOVi1OVjpP4vSDLdrI04dg==",
|
||||||
|
"_location": "/@babel/polyfill",
|
||||||
|
"_phantomChildren": {},
|
||||||
|
"_requested": {
|
||||||
|
"type": "version",
|
||||||
|
"registry": true,
|
||||||
|
"raw": "@babel/polyfill@7.4.4",
|
||||||
|
"name": "@babel/polyfill",
|
||||||
|
"escapedName": "@babel%2fpolyfill",
|
||||||
|
"scope": "@babel",
|
||||||
|
"rawSpec": "7.4.4",
|
||||||
|
"saveSpec": null,
|
||||||
|
"fetchSpec": "7.4.4"
|
||||||
|
},
|
||||||
|
"_requiredBy": [
|
||||||
|
"/jimp"
|
||||||
|
],
|
||||||
|
"_resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.4.4.tgz",
|
||||||
|
"_spec": "7.4.4",
|
||||||
|
"_where": "C:\\Users\\ryuki\\TheDesk\\app",
|
||||||
|
"author": {
|
||||||
|
"name": "Sebastian McKenzie",
|
||||||
|
"email": "sebmck@gmail.com"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"core-js": "^2.6.5",
|
||||||
|
"regenerator-runtime": "^0.13.2"
|
||||||
|
},
|
||||||
|
"description": "Provides polyfills necessary for a full ES2015+ environment",
|
||||||
|
"gitHead": "2c88694388831b1e5b88e4bbed6781eb2be1edba",
|
||||||
|
"homepage": "https://babeljs.io/",
|
||||||
|
"license": "MIT",
|
||||||
|
"main": "lib/index.js",
|
||||||
|
"name": "@babel/polyfill",
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/babel/babel/tree/master/packages/babel-polyfill"
|
||||||
|
},
|
||||||
|
"version": "7.4.4"
|
||||||
|
}
|
17
app/node_modules/@babel/polyfill/scripts/build-dist.sh
generated
vendored
Normal file
17
app/node_modules/@babel/polyfill/scripts/build-dist.sh
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
BROWSERIFY_CMD="../../node_modules/browserify/bin/cmd.js"
|
||||||
|
UGLIFY_CMD="../../node_modules/uglify-js/bin/uglifyjs"
|
||||||
|
|
||||||
|
mkdir -p dist
|
||||||
|
|
||||||
|
node $BROWSERIFY_CMD lib/index.js \
|
||||||
|
--insert-global-vars 'global' \
|
||||||
|
--plugin bundle-collapser/plugin \
|
||||||
|
--plugin derequire/plugin \
|
||||||
|
>dist/polyfill.js
|
||||||
|
node $UGLIFY_CMD dist/polyfill.js \
|
||||||
|
--compress keep_fnames,keep_fargs,warnings=false \
|
||||||
|
--mangle keep_fnames \
|
||||||
|
>dist/polyfill.min.js
|
8
app/node_modules/@babel/polyfill/scripts/postpublish.js
generated
vendored
Normal file
8
app/node_modules/@babel/polyfill/scripts/postpublish.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
const fs = require("fs");
|
||||||
|
const path = require("path");
|
||||||
|
|
||||||
|
try {
|
||||||
|
fs.unlinkSync(path.join(__dirname, "../browser.js"));
|
||||||
|
} catch (err) {}
|
13
app/node_modules/@babel/polyfill/scripts/prepublish.js
generated
vendored
Normal file
13
app/node_modules/@babel/polyfill/scripts/prepublish.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
const fs = require("fs");
|
||||||
|
const path = require("path");
|
||||||
|
|
||||||
|
function relative(loc) {
|
||||||
|
return path.join(__dirname, "..", loc);
|
||||||
|
}
|
||||||
|
|
||||||
|
fs.writeFileSync(
|
||||||
|
relative("browser.js"),
|
||||||
|
fs.readFileSync(relative("dist/polyfill.min.js"))
|
||||||
|
);
|
154
app/node_modules/@develar/schema-utils/CHANGELOG.md
generated
vendored
Normal file
154
app/node_modules/@develar/schema-utils/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||||
|
|
||||||
|
### [2.0.1](https://github.com/webpack-contrib/schema-utils/compare/v2.0.0...v2.0.1) (2019-07-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* error message for empty object ([#44](https://github.com/webpack-contrib/schema-utils/issues/44)) ([0b4b4a2](https://github.com/webpack-contrib/schema-utils/commit/0b4b4a2))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### [2.0.0](https://github.com/webpack-contrib/schema-utils/compare/v1.0.0...v2.0.0) (2019-07-17)
|
||||||
|
|
||||||
|
|
||||||
|
### BREAKING CHANGES
|
||||||
|
|
||||||
|
* drop support for Node.js < 8.9.0
|
||||||
|
* drop support `errorMessage`, please use `description` for links.
|
||||||
|
* api was changed, please look documentation.
|
||||||
|
* error messages was fully rewritten.
|
||||||
|
|
||||||
|
|
||||||
|
<a name="1.0.0"></a>
|
||||||
|
# [1.0.0](https://github.com/webpack-contrib/schema-utils/compare/v0.4.7...v1.0.0) (2018-08-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **src:** add support for custom error messages ([#33](https://github.com/webpack-contrib/schema-utils/issues/33)) ([1cbe4ef](https://github.com/webpack-contrib/schema-utils/commit/1cbe4ef))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.7"></a>
|
||||||
|
## [0.4.7](https://github.com/webpack-contrib/schema-utils/compare/v0.4.6...v0.4.7) (2018-08-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **src:** `node >= v4.0.0` support ([#32](https://github.com/webpack-contrib/schema-utils/issues/32)) ([cb13dd4](https://github.com/webpack-contrib/schema-utils/commit/cb13dd4))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.6"></a>
|
||||||
|
## [0.4.6](https://github.com/webpack-contrib/schema-utils/compare/v0.4.5...v0.4.6) (2018-08-06)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **package:** remove lockfile ([#28](https://github.com/webpack-contrib/schema-utils/issues/28)) ([69f1a81](https://github.com/webpack-contrib/schema-utils/commit/69f1a81))
|
||||||
|
* **package:** remove unnecessary `webpack` dependency ([#26](https://github.com/webpack-contrib/schema-utils/issues/26)) ([532eaa5](https://github.com/webpack-contrib/schema-utils/commit/532eaa5))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.5"></a>
|
||||||
|
## [0.4.5](https://github.com/webpack-contrib/schema-utils/compare/v0.4.4...v0.4.5) (2018-02-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **CHANGELOG:** update broken links ([4483b9f](https://github.com/webpack-contrib/schema-utils/commit/4483b9f))
|
||||||
|
* **package:** update broken links ([f2494ba](https://github.com/webpack-contrib/schema-utils/commit/f2494ba))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.4"></a>
|
||||||
|
## [0.4.4](https://github.com/webpack-contrib/schema-utils/compare/v0.4.3...v0.4.4) (2018-02-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **package:** update `dependencies` ([#22](https://github.com/webpack-contrib/schema-utils/issues/22)) ([3aecac6](https://github.com/webpack-contrib/schema-utils/commit/3aecac6))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.3"></a>
|
||||||
|
## [0.4.3](https://github.com/webpack-contrib/schema-utils/compare/v0.4.2...v0.4.3) (2017-12-14)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **validateOptions:** throw `err` instead of `process.exit(1)` ([#17](https://github.com/webpack-contrib/schema-utils/issues/17)) ([c595eda](https://github.com/webpack-contrib/schema-utils/commit/c595eda))
|
||||||
|
* **ValidationError:** never return `this` in the ctor ([#16](https://github.com/webpack-contrib/schema-utils/issues/16)) ([c723791](https://github.com/webpack-contrib/schema-utils/commit/c723791))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.2"></a>
|
||||||
|
## [0.4.2](https://github.com/webpack-contrib/schema-utils/compare/v0.4.1...v0.4.2) (2017-11-09)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **validateOptions:** catch `ValidationError` and handle it internally ([#15](https://github.com/webpack-contrib/schema-utils/issues/15)) ([9c5ef5e](https://github.com/webpack-contrib/schema-utils/commit/9c5ef5e))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.1"></a>
|
||||||
|
## [0.4.1](https://github.com/webpack-contrib/schema-utils/compare/v0.4.0...v0.4.1) (2017-11-03)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **ValidationError:** use `Error.captureStackTrace` for `err.stack` handling ([#14](https://github.com/webpack-contrib/schema-utils/issues/14)) ([a6fb974](https://github.com/webpack-contrib/schema-utils/commit/a6fb974))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.4.0"></a>
|
||||||
|
# [0.4.0](https://github.com/webpack-contrib/schema-utils/compare/v0.3.0...v0.4.0) (2017-10-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add support for `typeof`, `instanceof` (`{Function\|RegExp}`) ([#10](https://github.com/webpack-contrib/schema-utils/issues/10)) ([9f01816](https://github.com/webpack-contrib/schema-utils/commit/9f01816))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.3.0"></a>
|
||||||
|
# [0.3.0](https://github.com/webpack-contrib/schema-utils/compare/v0.2.1...v0.3.0) (2017-04-29)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add ValidationError ([#8](https://github.com/webpack-contrib/schema-utils/issues/8)) ([d48f0fb](https://github.com/webpack-contrib/schema-utils/commit/d48f0fb))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.2.1"></a>
|
||||||
|
## [0.2.1](https://github.com/webpack-contrib/schema-utils/compare/v0.2.0...v0.2.1) (2017-03-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Include .babelrc to `files` ([28f0363](https://github.com/webpack-contrib/schema-utils/commit/28f0363))
|
||||||
|
* Include source to `files` ([43b0f2f](https://github.com/webpack-contrib/schema-utils/commit/43b0f2f))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="0.2.0"></a>
|
||||||
|
# [0.2.0](https://github.com/webpack-contrib/schema-utils/compare/v0.1.0...v0.2.0) (2017-03-12)
|
||||||
|
|
||||||
|
<a name="0.1.0"></a>
|
||||||
|
# 0.1.0 (2017-03-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **validations:** add validateOptions module ([ae9b47b](https://github.com/webpack-contrib/schema-utils/commit/ae9b47b))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Change Log
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
20
app/node_modules/@develar/schema-utils/LICENSE
generated
vendored
Normal file
20
app/node_modules/@develar/schema-utils/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Copyright JS Foundation and other contributors
|
||||||
|
|
||||||
|
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.
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user