Set permission of the single Khoj app file generated by Pyinstaller

This commit is contained in:
Debanjum Singh Solanky 2022-08-14 05:46:52 +03:00
parent 47bac4f61e
commit 8696032b40

View file

@ -76,10 +76,8 @@ jobs:
cp Khoj.desktop package/usr/share/applications cp Khoj.desktop package/usr/share/applications
# Fix permissions to be usable by non-root users # Fix permissions to be usable by non-root users
find package/opt/Khoj -type f -exec chmod 644 -- {} +
find package/opt/Khoj -type d -exec chmod 755 -- {} +
find package/usr/share -type f -exec chmod 644 -- {} + find package/usr/share -type f -exec chmod 644 -- {} +
chmod +x package/opt/Khoj/Khoj chmod 644 package/opt/Khoj
# Package the app # Package the app
fpm -s dir -t deb -n Khoj --version "$GITHUB_REF_NAME" -p dist/Khoj.deb fpm -s dir -t deb -n Khoj --version "$GITHUB_REF_NAME" -p dist/Khoj.deb