diff --git a/.travis.yml b/.travis.yml index d0d60157..0e949973 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,8 @@ -language: objective-c -cache: - directories: - - node_modules -env: - - NODE_VERSION="9.9.0" -before_install: - # nvm をインストールする。Travis の OS X 環境には nvm はデフォルトで入っていない - - git clone https://github.com/creationix/nvm.git /tmp/.nvm - - source /tmp/.nvm/nvm.sh - # 指定バージョンの Node をインストールする - - nvm install $NODE_VERSION - # 指定バージョンの Node を有効にする - - nvm use --delete-prefix $NODE_VERSION - - node --version -script: - - node --version +os: windows +language: node_js +node_js: +- '10.15.2' +script: node -v before_deploy: - brew update - npm install electron-builder -g @@ -23,6 +11,8 @@ before_deploy: - electron-builder --mac --x64 - mv ../build/TheDesk*.dmg ../TheDesk.dmg - mv ../build/TheDesk*.zip ../TheDesk-darwin-x64.zip + - ls ../build/ + - ls ../ - cd ../ deploy: provider: releases @@ -32,7 +22,7 @@ deploy: # Releases ページにアップロードするファイル file: - TheDesk.dmg - - TheDesk-darwin-x64.dmg + - TheDesk-darwin-x64.zip skip_cleanup: true on: repo: cutls/TheDesk \ No newline at end of file diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index 490c7ef1..09655679 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -732,9 +732,9 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { var votesel=""; var voteclass=""; } - poll=poll+'
'+choice.title+'('+choice.votes_count+')
'; + poll=poll+'
'+escapeHTML(choice.title)+'('+choice.votes_count+')
'; }); - poll='
'+strip_tags(poll)+myvote+''+poll+myvote+'' + ended+ '
'; } diff --git a/app/view/en/index.html b/app/view/en/index.html index ca84eb37..c90ba9ad 100644 --- a/app/view/en/index.html +++ b/app/view/en/index.html @@ -579,12 +579,14 @@ var tlid=0; HP
GitHub

-