Skip to content

Commit

Permalink
Fix crash caused by external scripts failing
Browse files Browse the repository at this point in the history
- Move external scripts logic to its own function runExternalScripts.
- Quote image filepaths in runExternalScripts to avoid unintended
crashes in scripts due to unescaped characters in the filename.
- Add exception handling to runExternalScripts to avoid crashing the
daemon/app if the external script fails.
- Update some dependencies.
- Bump package version.
  • Loading branch information
0bCdian committed May 30, 2024
1 parent ef73d44 commit 4139a16
Show file tree
Hide file tree
Showing 5 changed files with 1,037 additions and 1,372 deletions.
2 changes: 1 addition & 1 deletion cli/src/bashly.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: waypaper-engine
help: A wallpaper setting tool with batteries included!
version: 2.0.2
version: 2.0.3

commands:
- name: run
Expand Down
2 changes: 1 addition & 1 deletion cli/waypaper-engine
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ waypaper_engine_history_parse_requirements() {

# :command.initialize
initialize() {
version="2.0.2"
version="2.0.3"
long_usage=''
set -e

Expand Down
Loading

0 comments on commit 4139a16

Please sign in to comment.