mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-21 23:29:48 +00:00
[update] インストーラを廃止
This commit is contained in:
parent
363538df9a
commit
481105d508
20
.gitignore
vendored
20
.gitignore
vendored
@ -1,10 +1,10 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
.shared/
|
.shared/
|
||||||
bin/
|
bin/
|
||||||
build/
|
build/
|
||||||
*.zip
|
*.zip
|
||||||
push.sh
|
push.sh
|
||||||
n
|
n
|
||||||
*.bak
|
*.bak
|
||||||
*.old
|
*.old
|
||||||
lg/
|
*.lock
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Version=1.0
|
|
||||||
Name=オコゲ
|
|
||||||
Comment=大岩産 code generator
|
|
||||||
Path=/home/pi/Applications/ocoge
|
|
||||||
Exec=npm start
|
|
||||||
Icon=ocoge.png
|
|
||||||
Categories=Development;IDE;
|
|
||||||
Terminal=false
|
|
||||||
Encoding=UTF-8
|
|
||||||
StartupNotify=true
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB |
@ -1,37 +0,0 @@
|
|||||||
#!/bin/bash -x
|
|
||||||
# Usage: bash install.sh
|
|
||||||
|
|
||||||
NODEVER=16.5.0
|
|
||||||
#14.17.0
|
|
||||||
|
|
||||||
# Enable i2c bus 6 to use the pins NOT pulledup
|
|
||||||
# AE-AQM0802 can be used
|
|
||||||
echo 'dtoverlay=i2c6,pins_22_23' | sudo tee -a /boot/config.txt
|
|
||||||
|
|
||||||
# install some packages used in ocoge
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install fswebcam -y
|
|
||||||
# enable pigpiod service
|
|
||||||
sudo systemctl enable pigpiod.service
|
|
||||||
sudo systemctl start pigpiod.service
|
|
||||||
|
|
||||||
# install node.js (=electron node version) via n (https://github.com/tj/n)
|
|
||||||
curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
|
|
||||||
sudo bash n $NODEVER
|
|
||||||
# install python code formatter
|
|
||||||
python3 -m pip install black
|
|
||||||
# install desktop entry
|
|
||||||
cp -r ./files/share ~/.local/
|
|
||||||
# install binary files if exists
|
|
||||||
FILE="./files/binary.zip"
|
|
||||||
if [ -e $FILE ]; then
|
|
||||||
unzip $FILE -d ..
|
|
||||||
else
|
|
||||||
echo 'binary.zip not found. plz install manually.'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# build ocoge
|
|
||||||
cd ..
|
|
||||||
npm install --legacy-peer-deps
|
|
||||||
|
|
||||||
echo 'Installation finished. To use i2c devices, reboot computer.'
|
|
Loading…
Reference in New Issue
Block a user