mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Set permission of the single Khoj app file generated by Pyinstaller
This commit is contained in:
parent
47bac4f61e
commit
8696032b40
1 changed files with 1 additions and 3 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue