mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-22 07:39:49 +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({
|
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,
|
||||||
|
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
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user