@@ -19,19 +19,19 @@ function! denops_shared_server#runtray#install(options) abort
1919 call writefile (content, s: config_file , ' b' )
2020
2121 call denops#util#info (printf (' download the script `%s`' , s: script_file ))
22- call s: download_file (s: script_download_url , s: script_file )
23- call s: remove_zone_identifier (s: script_file )
22+ call denops_shared_server#runtray#_download_file (s: script_download_url , s: script_file )
23+ call denops_shared_server#runtray#_remove_zone_identifier (s: script_file )
2424
2525 call denops#util#info (' install to the startup' )
26- call s: execute_runtray_command (' install' )
26+ call denops_shared_server#runtray#_execute_script_command (' install' )
2727
2828 call denops#util#info (' start the service' )
29- call s: execute_runtray_command (' start' )
29+ call denops_shared_server#runtray#_execute_script_command (' start' )
3030endfunction
3131
3232function ! denops_shared_server#runtray#uninstall () abort
3333 call denops#util#info (' uninstall from the startup' )
34- call s: execute_runtray_command (' uninstall' )
34+ call denops_shared_server#runtray#_execute_script_command (' uninstall' )
3535
3636 call denops#util#info (printf (' delete the configuration file `%s`' , s: config_file ))
3737 call delete (s: config_file )
@@ -40,14 +40,14 @@ function! denops_shared_server#runtray#uninstall() abort
4040 call delete (s: script_file )
4141endfunction
4242
43- function s: download_file (url, outfile) abort
43+ function denops_shared_server#runtray#_download_file (url, outfile) abort
4444 echo system (printf (' %s Invoke-WebRequest -URI "%s" -OutFile "%s"' , s: ps_cmd , a: url , a: outfile ))
4545endfunction
4646
47- function s: remove_zone_identifier (file ) abort
47+ function denops_shared_server#runtray#_remove_zone_identifier (file ) abort
4848 echo system (printf (' %s Unblock-File "%s"' , s: ps_cmd , a: file ))
4949endfunction
5050
51- function s: execute_runtray_command (command ) abort
51+ function denops_shared_server#runtray#_execute_script_command (command ) abort
5252 echo system (printf (' %s "%s" %s' , s: ps_cmd , s: script_file , a: command ))
5353endfunction
0 commit comments