mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Set permission of the single Khoj app file generated by Pyinstaller
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -76,10 +76,8 @@ jobs:
|
||||
cp Khoj.desktop package/usr/share/applications
|
||||
|
||||
# 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 -- {} +
|
||||
chmod +x package/opt/Khoj/Khoj
|
||||
chmod 644 package/opt/Khoj
|
||||
|
||||
# Package the app
|
||||
fpm -s dir -t deb -n Khoj --version "$GITHUB_REF_NAME" -p dist/Khoj.deb
|
||||
|
||||
Reference in New Issue
Block a user