AvengeMedia / AvengeMedia/DankMaterialShell
Please add PikaOS (debian sid based distro) support to dankinstall
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
### Compositor
Niri
### If Other, please specify
_No response_
### Distribution
Other (specify below)
### If Other, please specify
PikaOS
### Select your Installation Method
DankInstaller
### Was your original Installation method different?
Yes
### If no, specify
_No response_
### dms doctor -vC
Click to expand
### Description
The installation script does not recognize PikaOS as a Debian-based distribution and exits with the following error:
> **Unsupported distribution**
The software can be installed manually without any issues, but having the installer script work correctly would make the installation process much easier.
This is the output of `/etc/os-release` on a PikaOS 4 system running Niri:
```text
PRETTY_NAME="PikaOS 4"
NAME="PikaOS"
VERSION_ID="4"
VERSION="4"
VERSION_CODENAME=nest
ID=pika
HOME_URL="https://pika-os.com/"
SUPPORT_URL="https://discord.gg/6HKR2YRvNg"
BUG_REPORT_URL="https://git.pika-os.com/"
PRIVACY_POLICY_URL="https://www.pika-os.com/"
ID_LIKE=debian
DEBIAN_CODENAME=sid
LOGO=pika-logo
```
Would it be possible to make the installer compatible with this distribution?
Thank you in advance!
### Solutions Tried
i've tryed editing the init funcion in core/internal/distros/debian.go
with this:
func init() {
constructor := func(config DistroConfig, logChan chan<- string) Distribution {
return NewDebianDistribution(config, logChan)
}
Register("debian", "#A80030", FamilyDebian, constructor)
Register("pika", "#A80030", FamilyDebian, constructor)
}
### Configuration Details
_No response_
### Screenshots/Recordings
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.