diff --git a/.gitignore b/.gitignore index 723ecfc..1a2cfef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,10 @@ -node_modules/ -.shared/ -bin/ -build/ -*.zip -push.sh -n -*.bak -*.old -lg/ \ No newline at end of file +node_modules/ +.shared/ +bin/ +build/ +*.zip +push.sh +n +*.bak +*.old +*.lock diff --git a/installer/files/share/applications/ocoge.desktop b/installer/files/share/applications/ocoge.desktop deleted file mode 100644 index b924c60..0000000 --- a/installer/files/share/applications/ocoge.desktop +++ /dev/null @@ -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 - diff --git a/installer/files/share/icons/hicolor/48x48/apps/ocoge.png b/installer/files/share/icons/hicolor/48x48/apps/ocoge.png deleted file mode 100644 index 79fd619..0000000 Binary files a/installer/files/share/icons/hicolor/48x48/apps/ocoge.png and /dev/null differ diff --git a/installer/install.sh b/installer/install.sh deleted file mode 100644 index 74d715b..0000000 --- a/installer/install.sh +++ /dev/null @@ -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.' \ No newline at end of file