From 481105d508287176e8c88d6a8d603bab0bcc4aa2 Mon Sep 17 00:00:00 2001 From: ocogeclub Date: Mon, 1 Nov 2021 19:08:26 +0900 Subject: [PATCH] =?UTF-8?q?[update]=20=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=83=BC=E3=83=A9=E3=82=92=E5=BB=83=E6=AD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 20 +++++----- .../files/share/applications/ocoge.desktop | 13 ------ .../share/icons/hicolor/48x48/apps/ocoge.png | Bin 4191 -> 0 bytes installer/install.sh | 37 ------------------ 4 files changed, 10 insertions(+), 60 deletions(-) delete mode 100644 installer/files/share/applications/ocoge.desktop delete mode 100644 installer/files/share/icons/hicolor/48x48/apps/ocoge.png delete mode 100644 installer/install.sh 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 79fd619b50f6a23501f46319800aeab392a1820c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4191 zcmV-l5TNggP)YAX9X8WNB|8RBvx=!KdM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-R4RUr z2nC=8KqG)E08i4>5BL4IztDJlFD3zK4}hox-~dnqKn|SajDcE^YT!o!=pRTU@@E+im_D|*+L9WnUAAJA-002ovPDHLkV1k&MC_exI 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