Skip to content

Commit

Permalink
Merge branch 'development' of github.com:webmaster442/BookGen into de…
Browse files Browse the repository at this point in the history
…velopment
  • Loading branch information
webmaster442 committed Feb 6, 2024
2 parents 8933864 + ed9f911 commit 7d7303c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 9 additions & 1 deletion Scripts/publish-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ rm tidy.exe

cd ..
mkdir -p package/usr/local/bin
mkdir -p package//opt/bookgen
mkdir -p package/DEBIAN
cd ..

cp Setup/linux-start.sh bin/package/usr/local/bin/bookgen
cp Setup/package.control bin/package/DEBIAN/control
cp -r bin/publish-linux/* bin/package/opt/bookgen

cd bin
chmod 775 ./package/DEBIAN/
dpkg-deb --build ./package/
chmod +x ./package/usr/local/bin/bookgen
chmod +x ./package/opt/bookgen/BookGen
dpkg-deb --build ./package/
mv package.deb bookgen.deb
rm -r package
2 changes: 1 addition & 1 deletion Setup/linux-start.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
bookgen "\$@"
/opt/bookgen/BookGen "\$@"
3 changes: 3 additions & 0 deletions Setup/package.control
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ Version: 2024.02.04
Maintainer: webmaster442
Architecture: amd64
Description: A C# book generator, similar to GitBook, but better
Depends: fontconfig, ttf-mscorefonts-installer, tidy
Homepage: https://github.com/webmaster442/BookGen
Website: https://github.com/webmaster442/BookGen

0 comments on commit 7d7303c

Please sign in to comment.