- Go to release directory (or create one with all necessary files)
cd F:\git\temp\release
- Delete u2bear.nw and u2bear.exe
rm u2bear.nw
rm u2bear.exe
- Zip app folder's content to u2bear.zip in the release directory
7z F:\git\youtuber F:\git\temp\release\u2bear.zip
-
Delete videos, songs, git, docs, images directories from the zip
-
Copy & rename u2bear.zip to u2bear.nw
cp u2bear.zip u2bear.nw
- Create an executable
copy /b nw.exe+u2bear.nw u2bear.exe
- Move u2bear.exe to ship directory
mv u2bear.exe ship/u2bear.exe
- Delete content of videos, songs and images directories inside ship directory
rm -R ship/videos ship/songs ship/images
- Done!