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({
/** Icon */
icon: "./icon.png",
width: 660,
height: 760,
width: 1280,
height: 940,
webPreferences: {
nodeIntegration: true,
contextIsolation: false,

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,10 @@
# Usage: bash install.sh
# 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
sudo npm install -g n
# sudo npm install -g n
# install desktop entry
cp -r ./files/share ~/.local/
# install binary files if exists
@ -21,4 +22,4 @@ echo 'arch=armv7l' > ~/.npmrc
cd ..
npm install
read -p "Press enter to exit: "
read -p "Press enter to exit: "