Skip to content

Latest commit

 

History

History
34 lines (33 loc) · 886 Bytes

buildInstractions.md

File metadata and controls

34 lines (33 loc) · 886 Bytes

How to build (windows)

  1. Go to release directory (or create one with all necessary files)
cd F:\git\temp\release
  1. Delete u2bear.nw and u2bear.exe
rm u2bear.nw
rm u2bear.exe
  1. Zip app folder's content to u2bear.zip in the release directory
7z F:\git\youtuber F:\git\temp\release\u2bear.zip
  1. Delete videos, songs, git, docs, images directories from the zip

  2. Copy & rename u2bear.zip to u2bear.nw

cp u2bear.zip u2bear.nw
  1. Create an executable
copy /b nw.exe+u2bear.nw u2bear.exe
  1. Move u2bear.exe to ship directory
mv u2bear.exe ship/u2bear.exe
  1. Delete content of videos, songs and images directories inside ship directory
rm -R ship/videos ship/songs ship/images
  1. Done!