Skip to content

Can't start if $HOME/.config/sunshine folder doesn't exists #324

@Gr3q

Description

@Gr3q

Describe the Bug

Running Sunshine the first time will result in an error.

The problem is that /home/gr3q/.config/sunshine/ folder doesn't exist, so it fails to copy the config. Manually creating the folder solves the issue.

Expected Behavior

it should create the folders in the path if they don't exist and then copy the config.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Arch Linux

Architecture

64

Sunshine Version

0.14.1

GPU Type

AMD

GPU Model

RX 580

GPU Driver/Mesa Version

mesa 22.1.4-1

Capture Method (Linux Only)

No response

Relevant log output

~> sunshine 
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot copy file: No such file or directory [/usr/share/sunshine/config/sunshine.conf] [/home/gr3q/.config/sunshine/sunshine.conf]
fish: Job 1, 'sunshine' terminated by signal SIGABRT (Abort)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions