Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions PortMaster/mod_ArkOS wuMMLe.txt
Original file line number Diff line number Diff line change
@@ -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 ""
}
23 changes: 23 additions & 0 deletions PortMaster/mod_ArkOS.txt
Original file line number Diff line number Diff line change
@@ -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 ""
}
23 changes: 23 additions & 0 deletions PortMaster/mod_dArkOS.txt
Original file line number Diff line number Diff line change
@@ -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 ""
}
23 changes: 23 additions & 0 deletions PortMaster/mod_dArkOSRE.txt
Original file line number Diff line number Diff line change
@@ -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 ""
}