Changes
Jump to navigation
Jump to search
750 bytes added
, 07:26, 11 August 2023
| Line 110: |
Line 110: |
| | # Enable '''"usb DEBUG"''' on phone and allow it (when connecting USB) | | # Enable '''"usb DEBUG"''' on phone and allow it (when connecting USB) |
| | # run: <code>adb logcat shi3a:D *:S</code> | | # run: <code>adb logcat shi3a:D *:S</code> |
| | + | |
| | + | ==How to install Air Raid alarm on old server== |
| | + | 1. Add info about plugin to /home/sh2/plugins/list.json |
| | + | { |
| | + | "id": "air_alarm", |
| | + | "package": "ltplugin-airalarm", |
| | + | "name": "Air Alarm", |
| | + | "enabled": 1, |
| | + | "description": "TXT_PLUGIN_AIR_ALARM_DESCRIPTION" |
| | + | } |
| | + | |
| | + | 2. Run next commands via SSH |
| | + | chmod 666 /home/plugins/air_alarm/shsp-airalarm-args.json |
| | + | chmod 755 /home/plugins/air_alarm/air_alarm.py |
| | + | ln -s /home/plugins/air_alarmHtml/js/page.js /home/html/js/modules/plugins/air_alarm.js |
| | + | ln -s /home/plugins/air_alarmHtml/templates/page.html /home/html/templates/general_plugins/plugins/air_alarm.html |
| | + | ln -s /home/plugins/air_alarmHtml/php/page.php /home/html/api/modules/plugins/air_alarm.api.php |
| | + | systemctl stop ltplugin-airalarm |
| | + | systemctl start ltplugin-airalarm |