diff --git a/lib/framework/init_plugin.py b/lib/framework/init_plugin.py
index 72d8d84..36a69ff 100644
--- a/lib/framework/init_plugin.py
+++ b/lib/framework/init_plugin.py
@@ -382,6 +382,12 @@ class PluginManager:
if plugin_git and plugin_git.startswith('http'):
command = ['git', '-C', plugin_all_path, 'clone', plugin_git + '.git', '--depth', '1']
log = SupportSubprocess.execute_command_return(command)
+ if os.path.exists(plugin_path):
+ ret['ret'] = 'success'
+ ret['msg'] = '정상적으로 설치하였습니다. 재시작시 적용됩니다.
' + '
'.join(log['log'].split('\n'))
+ else:
+ ret['ret'] = 'danger'
+ ret['msg'] = '설치 실패.
' + '
'.join(log['log'].split('\n'))
if zip_filename and zip_filename != '':
if os.path.exists(plugin_path) == False:
@@ -402,9 +408,8 @@ class PluginManager:
F.logger.debug(f"Dependency 설치 : {need_plugin['package_name']}")
cls.plugin_install(need_plugin['home'], None, None)
- ret['ret'] = 'success'
- ret['msg'] = ['정상적으로 설치하였습니다. 재시작시 적용됩니다.', log]
- ret['msg'] = '
'.join(log)
+
+ #ret['msg'] = '
'.join(log)
except Exception as e:
F.logger.error(f'Exception:{str(e)}')
diff --git a/lib/support/tool/cs.json b/lib/support/tool/cs.json
deleted file mode 100644
index fb1835b..0000000
--- a/lib/support/tool/cs.json
+++ /dev/null
@@ -1 +0,0 @@
-{"installed":{"client_id":"78061934091-l4m6ba5jip749lb4stk00jg8vf2tcsmq.apps.googleusercontent.com","project_id":"sjva-plex-scan-200106","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"qb0NiC8JahlPggbHZJSF7xVJ","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
\ No newline at end of file
diff --git a/lib/system/templates/system_plugin_setting.html b/lib/system/templates/system_plugin_setting.html
index 97b2ee7..6149675 100644
--- a/lib/system/templates/system_plugin_setting.html
+++ b/lib/system/templates/system_plugin_setting.html
@@ -11,6 +11,14 @@
{{ macros.m_hr() }}
{{ macros.setting_input_text_and_buttons('_plugin_git', '플러그인 설치', [['plugin_install_btn', '설치']], value='https://github.com/', desc=['플러그인 Git 주소']) }}
+
+
+