Skip to content

Make application dependencies optional during setup #155

@daedaevibin

Description

@daedaevibin

Description

Currently, the setup requires certain applications (like Firefox, VSCode OSS, etc.) to be installed. I don’t use some of these, and the setup fails because of it. All items like these should be optional and not hard requirements.

Steps to Reproduce

  1. Clone the repository.
  2. Run the setup/update script without having Firefox, VSCode OSS, or Zen Browser installed.
  3. Observe that the process fails.

Expected Behavior

Setup/update should complete successfully, skipping optional apps that aren’t installed.

Actual Behavior

Setup/update fails with permission or directory errors related to applications not installed.

extra notes before log:
Wayclick does not stay enabled and disables with every single update, reload, or modification.

Log Output

~ ❯ cat /home/dae/Documents/logs/dusky_update_20260309_152122_OfizCx.log                                                    
================================================================================
 DUSKY UPDATE LOG — 20260309_152122
 Kernel: 6.19.6-1-cachyos-eevdf-lto | User: dae | Bash: 5.3.9(1)-release
================================================================================
[15:21:23] [INFO   ] Acquiring sudo privileges for execution sequence...
[15:21:23] [SECTION] Synchronizing Dotfiles Repository
[15:21:24] [WARN   ] Remote mismatch detected: ssh://git@github.com/dusklinux/dusky
[15:21:24] [INFO   ] Updating origin to: https://github.com/dusklinux/dusky
[15:21:24] [INFO   ] Fetching from upstream...
[15:21:24] [OK     ] Fetch complete.
[15:21:24] [INFO   ] Checking sync status...
[15:21:24] [INFO   ] Upstream changes:
[15:21:24] [WARN   ] Local history diverged from upstream.
[15:21:35] [OK     ] Full tracked-tree backup preserved at: /home/dae/Documents/dusky_backups/pre_reset_20260309_152122_Crss6v (1060 file(s))
[15:21:35] [INFO   ] Resetting to upstream...
fatal: cannot create directory at '.vscode-oss/extensions': Permission denied
[15:21:35] [ERROR  ] Reset failed.
[15:21:35] [WARN   ] Sync failed.
[15:21:35] [INFO   ] Full tracked tree backup preserved at:
[15:21:35] [SECTION] Summary
[15:21:35] [WARN   ] Sync phase did not complete successfully.
[15:21:35] [INFO   ] Log saved to: /home/dae/Documents/logs/dusky_update_20260309_152122_OfizCx.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions