晨旭的博客
你想干什么!
晨旭的博客~
自制单个文件版软件教程
自制单个文件版软件教程

有些免安装软件都是一堆文件,如果不是要存档之类的游戏/软件,我们可以自制一个单文件版本,既能便携,又能节约地方

比如这个软碟通:

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/56551448109523.jpg?imageView2/2/w/764/h/166|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

文件是不是很多?

我们可以用压缩软件改成单文件版

我用好压做演示(基本上每个压缩软件都有这个功能)

(可能会报毒,做前建议关闭杀软)

 

选中所有文件,右击“添加到压缩文件”

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/50371448109523.jpg?imageView2/2/w/365/h/181|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

这里压缩参数看喜好,我这里压到最小

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/86041448109524.jpg?imageView2/2/w/461/h/420|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/48391448109525.jpg?imageView2/2/w/461/h/420|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

切到常规选项卡,勾上“生成自解压文件”

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/59351448109526.jpg?imageView2/2/w/233/h/51|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

点击“自解压选项”

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/59451448109526.jpg?imageView2/2/w/474/h/476|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

如果有图标,建议改下图标:

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/19171448109527.jpg?imageView2/2/w/447/h/460|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

在“解压”选项卡的“解压后运行”里填上你打开软件用的文件

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/4111448109527.jpg?imageView2/2/w/558/h/567|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

然后“模式”选项卡勾上“解压到临时文件夹”

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/38561448109530.jpg?imageView2/2/w/423/h/203|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

点击确定,然后开始压缩

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/4101448109531.jpg?imageView2/2/w/397/h/380|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

(压缩太快来不及截图233333)

做成效果如下:

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/84571448109532.jpg?imageView2/2/w/299/h/81|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

至此,教程结束

赞赏
如非特使说明,本站所有文章均采用知识共享 署名-非商业性使用-相同方式共享4.0国际许可协议(CC BY-NC-SA 4.0)进行许可。

相关文章

发表评论

textsms
account_circle
email

晨旭的博客~

自制单个文件版软件教程
有些免安装软件都是一堆文件,如果不是要存档之类的游戏/软件,我们可以自制一个单文件版本,既能便携,又能节约地方比如这个软碟通:文件是不是很多?我们可以用压缩软件改成单文件版我…
扫描二维码继续阅读
2015-11-21