From 16649e691360b58c7c8b5ebfc8da07e8567c7e02 Mon Sep 17 00:00:00 2001 From: Cutls P Date: Sun, 17 Jun 2018 23:48:33 +0900 Subject: [PATCH] TheDesk Mio (15.7.0 macOS) --- .DS_Store | Bin 8196 -> 8196 bytes app/index.html | 2 +- app/js/platform/end.js | 9 ++++++++- app/js/ui/layout.js | 2 +- app/main.js | 5 +++++ 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index efa4e3a330b440538e5f2af179e63da7b1d3a788..e86b56a00b0ce34b589c386f8559226176ee791b 100644 GIT binary patch delta 196 zcmZp1XmOa}&nUDpU^hRb&}JTigUpjzMK-Vs{{PRwFj-zqWAY=Bog5}+raB6SCI*xL z3b;>xC2GjRao%e>P}Z2$CF~Yhofc1uOG;@;G6TbPpwQ%AF*6oU_74yf-irk@3QTqu WKQghwVl%tMHqMTi8<`pCC>WYg{v+Tqd6TFii~N^F-O2J|T0AZ;DWxUJ z3=G%xIlLz~h-mTU=BJ diff --git a/app/js/platform/end.js b/app/js/platform/end.js index a4291465..e7b3f334 100644 --- a/app/js/platform/end.js +++ b/app/js/platform/end.js @@ -156,4 +156,11 @@ function progshow(e) { $("#imgup").text("処理中"); } } - } \ No newline at end of file + } + + var electron = require("electron"); + var ipc = electron.ipcRenderer; + ipc.on('reload', function (event, arg) { + location.reload(); +}) + \ No newline at end of file diff --git a/app/js/ui/layout.js b/app/js/ui/layout.js index a9c741a5..6cdcad2d 100644 --- a/app/js/ui/layout.js +++ b/app/js/ui/layout.js @@ -115,7 +115,7 @@ function parseColumn() { key + '">Onメディアフィルター
linkOnリンク解析
TLヘッダーの色
[ここにトゥートはありません。]
F5で再読込できます。
'; + '" class="tl" tlid="' + key + '"'+notf_attr+'>
[ここにトゥートはありません。]
F5/⌘+Rで再読込できます。
'; $("#timeline-container").append(html); localStorage.removeItem("pool_" + key); if (acct.data) { diff --git a/app/main.js b/app/main.js index 675717dc..aeb29c47 100644 --- a/app/main.js +++ b/app/main.js @@ -132,6 +132,11 @@ function createWindow() { accelerator: 'Alt+Command+I', click: function() { mainWindow.toggleDevTools(); } }, + { + label: '再読み込み', + accelerator: 'CmdOrCtrl+R', + click: function() { mainWindow.webContents.send('reload', ""); } + } ] } ];