mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-21 15:19:48 +00:00
Updated install.sh
This commit is contained in:
parent
9af0255267
commit
e0586907a2
4
index.js
4
index.js
@ -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,
|
||||
|
1485
installer/files/n
1485
installer/files/n
File diff suppressed because it is too large
Load Diff
@ -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: "
|
||||
|
Loading…
Reference in New Issue
Block a user