From 6226db2602c2373fd6dde1790304db52c6cf4e07 Mon Sep 17 00:00:00 2001 From: Slayer366 Date: Sun, 17 May 2026 22:35:27 -0500 Subject: [PATCH] Add CFW mod files for ArkOS and dArkOS variants --- PortMaster/mod_ArkOS wuMMLe.txt | 23 +++++++++++++++++++++++ PortMaster/mod_ArkOS.txt | 23 +++++++++++++++++++++++ PortMaster/mod_dArkOS.txt | 23 +++++++++++++++++++++++ PortMaster/mod_dArkOSRE.txt | 23 +++++++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 PortMaster/mod_ArkOS wuMMLe.txt create mode 100644 PortMaster/mod_ArkOS.txt create mode 100644 PortMaster/mod_dArkOS.txt create mode 100644 PortMaster/mod_dArkOSRE.txt diff --git a/PortMaster/mod_ArkOS wuMMLe.txt b/PortMaster/mod_ArkOS wuMMLe.txt new file mode 100644 index 0000000..9b462be --- /dev/null +++ b/PortMaster/mod_ArkOS wuMMLe.txt @@ -0,0 +1,23 @@ +#!/bin/bash +# +# SPDX-License-Identifier: MIT +# + +## Modular - ArkOS wuMMLe +# +# A modular file that is sourced for specific script lines required by ports running on ArkOS wuMMLe. +# +# usage `[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"` + +# Address and silence Pulseaudio Error "Failed to create secure directory (/run/user/1002//pulse): No such file or directory" +$ESUDO mkdir -p /run/user/$UID/pulse +$ESUDO chown $UID /run/user/$UID +$ESUDO chown $UID /run/user/$UID/pulse +$ESUDO chmod 755 /run/user/$UID +$ESUDO chmod 755 /run/user/$UID/pulse +sleep 0.3 + +pm_platform_helper() { + # DO SOMETHING HERE + printf "" +} diff --git a/PortMaster/mod_ArkOS.txt b/PortMaster/mod_ArkOS.txt new file mode 100644 index 0000000..0d35c16 --- /dev/null +++ b/PortMaster/mod_ArkOS.txt @@ -0,0 +1,23 @@ +#!/bin/bash +# +# SPDX-License-Identifier: MIT +# + +## Modular - ArkOS +# +# A modular file that is sourced for specific script lines required by ports running on ArkOS. +# +# usage `[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"` + +# Address and silence Pulseaudio Error "Failed to create secure directory (/run/user/1002//pulse): No such file or directory" +$ESUDO mkdir -p /run/user/$UID/pulse +$ESUDO chown $UID /run/user/$UID +$ESUDO chown $UID /run/user/$UID/pulse +$ESUDO chmod 755 /run/user/$UID +$ESUDO chmod 755 /run/user/$UID/pulse +sleep 0.3 + +pm_platform_helper() { + # DO SOMETHING HERE + printf "" +} diff --git a/PortMaster/mod_dArkOS.txt b/PortMaster/mod_dArkOS.txt new file mode 100644 index 0000000..22f5114 --- /dev/null +++ b/PortMaster/mod_dArkOS.txt @@ -0,0 +1,23 @@ +#!/bin/bash +# +# SPDX-License-Identifier: MIT +# + +## Modular - dArkOS +# +# A modular file that is sourced for specific script lines required by ports running on dArkOS. +# +# usage `[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"` + +# Address and silence Pulseaudio Error "Failed to create secure directory (/run/user/1002//pulse): No such file or directory" +$ESUDO mkdir -p /run/user/$UID/pulse +$ESUDO chown $UID /run/user/$UID +$ESUDO chown $UID /run/user/$UID/pulse +$ESUDO chmod 755 /run/user/$UID +$ESUDO chmod 755 /run/user/$UID/pulse +sleep 0.3 + +pm_platform_helper() { + # DO SOMETHING HERE + printf "" +} diff --git a/PortMaster/mod_dArkOSRE.txt b/PortMaster/mod_dArkOSRE.txt new file mode 100644 index 0000000..331365a --- /dev/null +++ b/PortMaster/mod_dArkOSRE.txt @@ -0,0 +1,23 @@ +#!/bin/bash +# +# SPDX-License-Identifier: MIT +# + +## Modular - dArkOSRE +# +# A modular file that is sourced for specific script lines required by ports running on dArkOSRE. +# +# usage `[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"` + +# Address and silence Pulseaudio Error "Failed to create secure directory (/run/user/1002//pulse): No such file or directory" +$ESUDO mkdir -p /run/user/$UID/pulse +$ESUDO chown $UID /run/user/$UID +$ESUDO chown $UID /run/user/$UID/pulse +$ESUDO chmod 755 /run/user/$UID +$ESUDO chmod 755 /run/user/$UID/pulse +sleep 0.3 + +pm_platform_helper() { + # DO SOMETHING HERE + printf "" +}