Compare commits
17 Commits
v18.10.0
...
v18.10.1-b
Author | SHA1 | Date | |
---|---|---|---|
|
2c3dbba052 | ||
|
907eecd030 | ||
|
d217fb33a9 | ||
|
8cea32d01b | ||
|
c8d2da0c07 | ||
|
a458f51b9a | ||
|
bd8ac2935b | ||
|
dd59cc1468 | ||
|
fd365c52cc | ||
|
ad7e77a067 | ||
|
6b9135a205 | ||
|
fdca5b1c60 | ||
|
f891b30f9f | ||
|
8fbd8070f2 | ||
|
657dec1c10 | ||
|
0d93dcdc45 | ||
|
5a50c0e1e6 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,7 +12,6 @@ enq.md
|
|||||||
app/.tkn
|
app/.tkn
|
||||||
app/node_modules
|
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
|
||||||
|
10
.travis.yml
10
.travis.yml
@@ -3,15 +3,19 @@ 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:
|
||||||
- npm install electron-builder -g
|
- yarn global add electron-builder
|
||||||
- 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:]]')
|
||||||
- npm install
|
- yarn install --no-lockfile --prod
|
||||||
- npm run construct
|
- yarn 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
|
||||||
|
38
README.md
38
README.md
@@ -80,6 +80,10 @@ 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
|
||||||
@@ -88,8 +92,25 @@ 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 npm scripts.
|
Use scripts(they can work well with npm, **yarn**).
|
||||||
|
|
||||||
|
#### npm
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Build for current platform
|
# Build for current platform
|
||||||
@@ -103,6 +124,21 @@ 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,6 +79,9 @@ Linuxビルダー
|
|||||||
|
|
||||||
## ビルド
|
## ビルド
|
||||||
|
|
||||||
|
npmでもyarnでも好きな方を選んでください。
|
||||||
|
|
||||||
|
### npm
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/cutls/TheDesk
|
git clone https://github.com/cutls/TheDesk
|
||||||
@@ -88,8 +91,24 @@ 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
|
||||||
# 実行している環境向けにビルド
|
# 実行している環境向けにビルド
|
||||||
@@ -103,6 +122,20 @@ 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(非推奨)
|
||||||
|
@@ -108,12 +108,16 @@ 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;
|
||||||
});
|
});
|
||||||
@@ -121,8 +125,20 @@ function playSound() {
|
|||||||
volumeControl = context.createGain();
|
volumeControl = context.createGain();
|
||||||
source.connect(volumeControl);
|
source.connect(volumeControl);
|
||||||
volumeControl.connect(context.destination);
|
volumeControl.connect(context.destination);
|
||||||
volumeControl.gain.value = 0.8
|
var cvol = localStorage.getItem("customVol")
|
||||||
|
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], "*")
|
||||||
|
@@ -295,6 +295,7 @@ 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);
|
||||||
@@ -473,7 +474,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/v1/search?resolve=true&q=" + url
|
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + url
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
@@ -6,17 +6,21 @@ function additional(acct_id, tlid) {
|
|||||||
|
|
||||||
$("#timeline-container .mention").addClass("parsed");
|
$("#timeline-container .mention").addClass("parsed");
|
||||||
|
|
||||||
$("#timeline-container .hashtag").each(function (i, elem) {
|
$("#timeline-container .hashtag, #timeline-container [rel=tag]").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;\/?:\@&=+\$,%#]+)/
|
||||||
);
|
);
|
||||||
$(this).attr("href", "#");
|
if(tags){
|
||||||
if (tags) {
|
var tagThis = tags[2]
|
||||||
if (tags[2]) {
|
}else{
|
||||||
$(this).attr("onclick", 'tagShow(\'' + tags[2] + '\')');
|
var tagThis = $(this).attr("data-tag")
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(tagThis){
|
||||||
|
$(this).attr("onclick", 'tagShow(\'' + tagThis + '\')');
|
||||||
|
$(this).attr("href", "#");
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//トゥートサムネ
|
//トゥートサムネ
|
||||||
|
@@ -596,7 +596,8 @@ 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") {
|
||||||
viewer = viewer + '<a href="' + media.remote_url + '" title="' + media.remote_url + '">[' + lang.lang_parse_unknown + ']</a> '
|
var mty = media.remote_url.match(/.+(\..+)$/)[1]
|
||||||
|
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>';
|
||||||
@@ -623,8 +624,6 @@ 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)) {
|
||||||
@@ -632,6 +631,8 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -127,6 +127,8 @@ 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,11 +98,14 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -161,8 +161,37 @@ 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/v1/search?resolve=true&q=" + user
|
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + user
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.10.1",
|
"@fortawesome/fontawesome-free": "^5.10.1",
|
||||||
"electron-dl": "^1.14.0",
|
"electron-dl": "^1.14.0",
|
||||||
"jimp": "^0.7.0",
|
"jimp": "^0.8.2",
|
||||||
"jquery": "^3.4.1",
|
"jquery": "^3.4.1",
|
||||||
"jquery-ui-dist": "^1.12.1",
|
"jquery-ui-dist": "^1.12.1",
|
||||||
"json5": "^2.1.0",
|
"json5": "^2.1.0",
|
||||||
@@ -68,6 +68,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^6.0.0",
|
"electron": "^6.0.0",
|
||||||
"electron-builder": "^21.1.5",
|
"electron-builder": "^21.1.5",
|
||||||
|
"electron-rebuild": "^1.8.6",
|
||||||
"readline-sync": "1.4.10"
|
"readline-sync": "1.4.10"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
|
@@ -158,6 +158,7 @@
|
|||||||
"pitchwarn": "0-100(default:50)",
|
"pitchwarn": "0-100(default:50)",
|
||||||
"vol": "Volume",
|
"vol": "Volume",
|
||||||
"volwarn": "0-100(default:100)",
|
"volwarn": "0-100(default:100)",
|
||||||
|
"volwarn80": "0-100(default:80)",
|
||||||
"test": "Test",
|
"test": "Test",
|
||||||
"sample": "TheDesk is an open-source Mastodon client for PC.",
|
"sample": "TheDesk is an open-source Mastodon client for PC.",
|
||||||
"playstop": "Play/Stop",
|
"playstop": "Play/Stop",
|
||||||
|
@@ -158,6 +158,7 @@
|
|||||||
"pitchwarn": "0-100(default:50)",
|
"pitchwarn": "0-100(default:50)",
|
||||||
"vol": "Volume",
|
"vol": "Volume",
|
||||||
"volwarn": "0-100(default:100)",
|
"volwarn": "0-100(default:100)",
|
||||||
|
"volwarn80": "0-100(default:80)",
|
||||||
"test": "Test",
|
"test": "Test",
|
||||||
"sample": "TheDesk is an open-source Mastodon client for PC.",
|
"sample": "TheDesk is an open-source Mastodon client for PC.",
|
||||||
"playstop": "Play/Stop",
|
"playstop": "Play/Stop",
|
||||||
|
@@ -158,6 +158,7 @@
|
|||||||
"pitchwarn": "0-100(Standard:50)",
|
"pitchwarn": "0-100(Standard:50)",
|
||||||
"vol": "Lautstärke",
|
"vol": "Lautstärke",
|
||||||
"volwarn": "0-100(Standard:100)",
|
"volwarn": "0-100(Standard:100)",
|
||||||
|
"volwarn80": "0-100(Standard:80)",
|
||||||
"test": "Test",
|
"test": "Test",
|
||||||
"sample": "TheDesk ist ein Open-Source Mastodon Client für PC.",
|
"sample": "TheDesk ist ein Open-Source Mastodon Client für PC.",
|
||||||
"playstop": "Abspielen/Stoppen",
|
"playstop": "Abspielen/Stoppen",
|
||||||
|
@@ -158,6 +158,7 @@
|
|||||||
"pitchwarn": "0-100(default:50)",
|
"pitchwarn": "0-100(default:50)",
|
||||||
"vol": "Volume",
|
"vol": "Volume",
|
||||||
"volwarn": "0-100(default:100)",
|
"volwarn": "0-100(default:100)",
|
||||||
|
"volwarn80": "0-100(default:80)",
|
||||||
"test": "Test",
|
"test": "Test",
|
||||||
"sample": "TheDesk is an open-source Mastodon client for PC.",
|
"sample": "TheDesk is an open-source Mastodon client for PC.",
|
||||||
"playstop": "Play/Stop",
|
"playstop": "Play/Stop",
|
||||||
|
@@ -158,6 +158,7 @@
|
|||||||
"pitchwarn": "0-100まで、デフォルトは50。(大きくなるほど高い)",
|
"pitchwarn": "0-100まで、デフォルトは50。(大きくなるほど高い)",
|
||||||
"vol": "読み上げの音量",
|
"vol": "読み上げの音量",
|
||||||
"volwarn": "0-100まで、デフォルトは100。",
|
"volwarn": "0-100まで、デフォルトは100。",
|
||||||
|
"volwarn80": "0-100まで、デフォルトは80。",
|
||||||
"test": "テスト",
|
"test": "テスト",
|
||||||
"sample": "これはテスト音声です。TheDeskはオープンソースのPC向けマストドンクライアントです。マルチサーバーやマルチカラムに対応しています。",
|
"sample": "これはテスト音声です。TheDeskはオープンソースのPC向けマストドンクライアントです。マルチサーバーやマルチカラムに対応しています。",
|
||||||
"playstop": "再生/停止",
|
"playstop": "再生/停止",
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
const fs = require("fs")
|
const fs = require("fs")
|
||||||
let ver = "Usamin (18.10.0)"
|
let ver = "Usamin (18.10.1)-beta"
|
||||||
const execSync = require('child_process').execSync;
|
const execSync = require('child_process').execSync;
|
||||||
let gitHash = execSync("git rev-parse HEAD").toString().trim()
|
let gitHash = execSync("git rev-parse HEAD").toString().trim()
|
||||||
fs.writeFileSync("../../git", gitHash)
|
fs.writeFileSync("../../git", gitHash)
|
||||||
|
@@ -247,6 +247,11 @@
|
|||||||
id="c3-file"></span><br>
|
id="c3-file"></span><br>
|
||||||
<button class="btn waves-effect" style="width:120px;" onclick="customSound(4)">Custom 4</button><span
|
<button class="btn waves-effect" style="width:120px;" onclick="customSound(4)">Custom 4</button><span
|
||||||
id="c4-file"></span><br>
|
id="c4-file"></span><br>
|
||||||
|
<h5>@@vol@@</h5>
|
||||||
|
@@volwarn80@@<br>
|
||||||
|
<p class="range-field"><span id="soundVolVal">80</span><br>
|
||||||
|
<input type="range" id="soundvol" min="0" max="100" value="80" onchange="customVol()"
|
||||||
|
style="width:500px; max-width:100%" /></p>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@@ -373,15 +378,18 @@
|
|||||||
<div class="collapsible-body">
|
<div class="collapsible-body">
|
||||||
<h5>@@speed@@</h5>
|
<h5>@@speed@@</h5>
|
||||||
@@speedwarn@@<br>
|
@@speedwarn@@<br>
|
||||||
<p class="range-field"><input type="range" id="voicespeed" min="1" max="100" value="10"
|
<p class="range-field"><span id="voicespeedVal">10</span><br>
|
||||||
|
<input type="range" id="voicespeed" min="1" max="100" value="10" onchange="document.getElementById('voicespeedVal').innerText=this.value"
|
||||||
style="width:500px; max-width:100%" /></p>
|
style="width:500px; max-width:100%" /></p>
|
||||||
<h5>@@pitch@@</h5>
|
<h5>@@pitch@@</h5>
|
||||||
@@pitchwarn@@<br>
|
@@pitchwarn@@<br>
|
||||||
<p class="range-field"><input type="range" id="voicepitch" min="0" max="100" value="50"
|
<p class="range-field"><span id="voicepitchVal">50</span><br>
|
||||||
|
<input type="range" id="voicepitch" min="0" max="100" value="50" onchange="document.getElementById('voicepitchVal').innerText=this.value"
|
||||||
style="width:500px; max-width:100%" /></p>
|
style="width:500px; max-width:100%" /></p>
|
||||||
<h5>@@vol@@</h5>
|
<h5>@@vol@@</h5>
|
||||||
@@volwarn@@<br>
|
@@volwarn@@<br>
|
||||||
<p class="range-field"><input type="range" id="voicevol" min="0" max="100" value="100"
|
<p class="range-field"><span id="voicevolVal">100</span><br>
|
||||||
|
<input type="range" id="voicevol" min="0" max="100" value="100" onchange="document.getElementById('voicevolVal').innerText=this.value"
|
||||||
style="width:500px; max-width:100%" /></p>
|
style="width:500px; max-width:100%" /></p>
|
||||||
<h5>@@test@@</h5>
|
<h5>@@test@@</h5>
|
||||||
<input type="text" style="width:350px" id="voicetxt" value="@@sample@@">
|
<input type="text" style="width:350px" id="voicetxt" value="@@sample@@">
|
||||||
|
3061
app/yarn.lock
Normal file
3061
app/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user