Commit Graph

3 Commits

Author SHA1 Message Date
zhangkun
4267b3b4b7 fix: unable to launch application with non path exec field
Only check for situations without shebang

Issue: https://github.com/linuxdeepin/developer-center/issues/8682
2024-05-22 10:16:04 +08:00
shenmo
b2c0e41631 adjust: Fix use too long time when starting apps
Rewrite this script to make it easier to read and disable full-text scan when the executable is not even a text
1. Check if the file is a script and is executable and lack of shebang.(If not executable, we should not let it run.)
1.1 If python, then use python, else use bash.
2. If do not need to fix,just try to run.
2024-05-21 16:03:12 +08:00
zhangkun
18720ef75a feat: Add a hook and wrap all applications in the hook script to start
Add a hook to solve the problem of not being able to start some startup scripts for applications without shebang

Log
2024-04-29 14:50:04 +08:00