update
This commit is contained in:
@@ -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'] = '정상적으로 설치하였습니다. 재시작시 적용됩니다.<br>' + '<br>'.join(log['log'].split('\n'))
|
||||
else:
|
||||
ret['ret'] = 'danger'
|
||||
ret['msg'] = '설치 실패.<br>' + '<br>'.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'] = '<br>'.join(log)
|
||||
|
||||
#ret['msg'] = '<br>'.join(log)
|
||||
|
||||
except Exception as e:
|
||||
F.logger.error(f'Exception:{str(e)}')
|
||||
|
||||
@@ -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"]}}
|
||||
@@ -11,6 +11,14 @@
|
||||
{{ macros.m_hr() }}
|
||||
{{ macros.setting_input_text_and_buttons('_plugin_git', '플러그인 설치', [['plugin_install_btn', '설치']], value='https://github.com/', desc=['플러그인 Git 주소']) }}
|
||||
</form>
|
||||
|
||||
|
||||
<div class="embed-responsive embed-responsive-16by9">
|
||||
<iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vSH_y9Es2C3jHNJcEUwS9F-pZClhJbHcAgivwNcfX8r4Qda-aHnERb-cRQMlD6WII_XLvbDFC0PyTJS/pubhtml?widget=true&headers=false"></iframe>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user