如何將binary檔用shell script包裝? - Linux

Table of Contents

※ 引述《j2re (j2re)》之銘言:
: Hi,某些binary檔案在使用時會需要一些額外的設置
: 通常為了方便起見會以alias或function的方式來呼叫
: 但是我似乎在某個adobe的安裝程式中看過將binary檔用shell script包裝的方式
: 就是說以vi開啟的話,前半部分是script,後半部分是binary
: 請問這是如何作到的呢?

用這個 http://www.megastep.org/makeself/
nvidia official driver也是這樣包的

--
The 4400 ~ A Place In Time ~ [Amanda Abizaid]

So long ago, another life, I can feel your heartbeat.
It's not a dream, remember us. I can see it in your eyes.
We'll find our place in time, a place in time beyond the sun.
We'll find our place in time, a place in time to call our own.

--

All Comments