Updated install.sh

This commit is contained in:
ocogeclub 2021-05-22 16:59:32 +09:00
parent 9af0255267
commit e0586907a2
3 changed files with 6 additions and 1490 deletions

View File

@ -12,8 +12,8 @@ function createWindow() {
win = new BrowserWindow({ win = new BrowserWindow({
/** Icon */ /** Icon */
icon: "./icon.png", icon: "./icon.png",
width: 660, width: 1280,
height: 760, height: 940,
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,
contextIsolation: false, contextIsolation: false,

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,10 @@
# Usage: bash install.sh # Usage: bash install.sh
# install node.js (=electron node version) via n (https://github.com/tj/n) # install node.js (=electron node version) via n (https://github.com/tj/n)
sudo bash ./files/n 14.16.0 curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
sudo bash n 14.16.0
# Install latest version of n via npm globally # Install latest version of n via npm globally
sudo npm install -g n # sudo npm install -g n
# install desktop entry # install desktop entry
cp -r ./files/share ~/.local/ cp -r ./files/share ~/.local/
# install binary files if exists # install binary files if exists