diff --git a/README.md b/README.md index 226eecd..2b0e827 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # マシュマロ配信支援ツール(仮) [![動作デモ](https://drive.google.com/uc?id=1RtjFXpPMXOGBBnpf1xxfLRBn6WLj85d1)](https://www.youtube.com/watch?v=QxS2tCDDrvk) -マシュマロ配信で,ダウンロードフォルダがマシュマロの画像で埋まる・画像を扱うのが面倒といった問題を軽減してくれるツールです。 +[YouTube - 動作デモ](https://www.youtube.com/watch?v=QxS2tCDDrvk) +マシュマロ配信で,ダウンロードフォルダがマシュマロの画像で埋まる・画像を管理するのが面倒といった問題を軽減してくれるツールです。 やることは,このソフト上で行われるダウンロードを問答無用で指定のファイルにDLするだけです。 # ダウンロード @@ -12,7 +13,6 @@ v0.1 - [直接ダウンロード](https://github.com/hantabaru1014/marshmallow-o 2. 「画像ダウンロード」を押すと,このフォルダにdl-marshmallow.pngができるので,それをOBS等で表示してください。 3. あとは,「画像ダウンロード」をするたびに,同じファイルに上書きされます。OBSは画像が更新されると自動でOBS上でも更新されるのでいちいちOBSに画像を入れるということをしなくても良くなるはずです。 - # 設定 左上のメニューの[File] → [Settings]を押すと,設定ファイルが開きます。それぞれの項目の意味は以下のとおりです。 diff --git a/main.js b/main.js index 0c14c66..2b8f1da 100644 --- a/main.js +++ b/main.js @@ -1,4 +1,3 @@ -// Modules to control application life and create native browser window const {app, BrowserWindow, Menu, shell} = require('electron') const path = require('path') const windowStateKeeper = require('electron-window-state'); @@ -20,7 +19,7 @@ const menuTemplate = [ submenu: [ isMac ? { role: 'close' } : { role: 'quit' }, { - label: 'settings', + label: 'Settings', click: () => { shell.openPath(store.path); } @@ -29,12 +28,15 @@ const menuTemplate = [ }, {role: 'viewMenu'}, { - label: 'help', + label: 'Help', submenu: [ { - label: 'about', + label: 'Version '+app.getVersion() + }, + { + label: 'About', click: () => { - shell.openExternal('https://github.com/hantabaru1014/marshmallow-obs-assistant.git'); + shell.openExternal('https://github.com/hantabaru1014/marshmallow-obs-assistant'); } } ] @@ -61,8 +63,7 @@ function createWindow () { }) mainWindowState.manage(mainWindow); - // and load the index.html of the app. - //mainWindow.loadFile('index.html') + // open marshmallow mainWindow.loadURL(store.get('url')); // Open the DevTools. @@ -102,6 +103,3 @@ app.on('window-all-closed', function () { // to stay active until the user quits explicitly with Cmd + Q if (process.platform !== 'darwin') app.quit() }) - -// In this file you can include the rest of your app's specific main process -// code. You can also put them in separate files and require them here. diff --git a/package.json b/package.json index 4291241..6d4d629 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "marshmallow-obs-assistant", - "version": "0.1.0", + "version": "0.1.2", "description": "", "main": "main.js", "scripts": { diff --git a/renderer.js b/renderer.js deleted file mode 100644 index d3bdade..0000000 --- a/renderer.js +++ /dev/null @@ -1,6 +0,0 @@ -// This file is required by the index.html file and will -// be executed in the renderer process for that window. -// No Node.js APIs are available in this process because -// `nodeIntegration` is turned off. Use `preload.js` to -// selectively enable features needed in the rendering -// process. diff --git a/static/ReadMe.txt b/static/ReadMe.txt index 478756d..4045f17 100644 --- a/static/ReadMe.txt +++ b/static/ReadMe.txt @@ -1,6 +1,5 @@ マシュマロ配信支援ツール(仮) - v 0.1 作者:hantabaru1014@gmail.com (Twitter: @hantabaru1014) URL:https://github.com/hantabaru1014/marshmallow-obs-assistant.git