sh Windows:便携式应用程序

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Windows:便携式应用程序相关的知识,希望对你有一定的参考价值。

#!/bin/bash                                                                                                             
                                                                                                                        
## this gives you a list of links to download the latest releases                                                       
## + filter links to chrome beta an development versions                                                                
## + skip sf download page                                                                                              
                                                                                                                        
LINKLIST=$(cat <<LLIST                                                                                                  
http://portableapps.com/apps/development/notepadpp_portable                                                             
http://portableapps.com/apps/graphics_pictures/cornice_portable                                                         
http://portableapps.com/apps/graphics_pictures/gimp_portable                                                            
http://portableapps.com/apps/graphics_pictures/xnview_portable                                                          
http://portableapps.com/apps/internet/google_chrome_portable                                                            
http://portableapps.com/apps/internet/kitty-portable                                                                    
http://portableapps.com/apps/internet/links-portable                                                                    
http://portableapps.com/apps/internet/seamonkey_portable                                                                
http://portableapps.com/apps/internet/skype_portable                                                                    
http://portableapps.com/apps/internet/winscp_portable                                                                   
http://portableapps.com/apps/music_video/mpc-hc-portable                                                                
http://portableapps.com/apps/office/sumatra_pdf_portable                                                                
http://portableapps.com/apps/security/clamwin_portable                                                                  
http://portableapps.com/apps/security/gpg-plugin-portable                                                               
http://portableapps.com/apps/security/kaspersky-tdsskiller-portable                                                     
http://portableapps.com/apps/security/mcafee-stinger-portable                                                           
http://portableapps.com/apps/security/spybot_portable                                                                   
http://portableapps.com/apps/utilities/7-zip_portable                                                                   
http://portableapps.com/apps/utilities/autoruns-portable                                                                
http://portableapps.com/apps/utilities/command_prompt_portable                                                          
http://portableapps.com/apps/utilities/console_portable                                                                 
http://portableapps.com/apps/utilities/explorerplusplus_portable                                                        
http://portableapps.com/apps/utilities/fastcopy-portable                                                                
http://portableapps.com/apps/utilities/hwinfo-portable                                                                  
http://portableapps.com/apps/utilities/jkdefrag_portable                                                                
http://portableapps.com/apps/utilities/peazip_portable                                                                  
http://portableapps.com/apps/utilities/process-monitor-portable                                                         
http://portableapps.com/apps/utilities/teamviewer_portable                                                              
http://portableapps.com/apps/utilities/ultradefrag-portable                                                             
http://portableapps.com/apps/utilities/winmerge_portable                                                                
http://portableapps.com/apps/utilities/xenon_portable                                                                   
http://portableapps.com/apps/utilities/xpy-portable                                                                     
LLIST                                                                                                                   
)                                                                                                                       

for i in $(echo $LINKLIST)                                                                                              
 do                                                                                                                     
   wget -q -O - $i | \                                                                                                  
   grep 'sourceforge_accelerator_link' | \                                                                              
   perl -pe 's/^.*href=\"(.*)\" class=\"sourceforge_accelerator_link.*/$1/g;' | \                                       
   perl -pe 's/^(.*)sourceforge(.*)\/download/$1sourceforge$2\?r=&ts=1441447350&use_mirror=netcologne/g;' | \           
   grep -v -E 'Chrome.*Beta|Chrome.*Dev'                                                                                
done                                                                                                                    
                                                                                                                        
exit 0                                                                                                                  
                                                                                                                                                                                                                                                
                                         

以上是关于sh Windows:便携式应用程序的主要内容,如果未能解决你的问题,请参考以下文章

在便携式应用程序中使用 Windows DLL

使用 msvc 2015 编译的 Windows 桌面应用程序的便携式安装

如何在Windows上运行带CGI的便携式Perl?

sh 在bash中生成UUID4的便携方法

HttpClient 和 windows phone 8 便携版

我正在尝试将我的电子应用程序变成 Windows 便携版