v1.1.1
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Citizen Launcher / Star Citizen
|
||||
* soft nofile 524288
|
||||
* hard nofile 524288
|
||||
@@ -0,0 +1,2 @@
|
||||
# Citizen Launcher / Star Citizen
|
||||
vm.max_map_count = 16777216
|
||||
@@ -0,0 +1,27 @@
|
||||
_is_immutable_host() {
|
||||
[ -e /run/ostree-booted ] && return 0
|
||||
[ -e /run/transactional-update ] && return 0
|
||||
[ -r /etc/os-release ] && grep -Eq '^ID="?(steamos|opensuse-microos|aeon|kalpa)"?$' /etc/os-release && return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
post_install() {
|
||||
systemctl daemon-reload >/dev/null 2>&1 || true
|
||||
if ! _is_immutable_host; then
|
||||
systemctl enable --now citizen-launcher-self-update.timer >/dev/null 2>&1 || true
|
||||
fi
|
||||
sysctl -q -w vm.max_map_count=16777216 >/dev/null 2>&1 || true
|
||||
command -v update-desktop-database >/dev/null 2>&1 && update-desktop-database /usr/share/applications >/dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
systemctl disable --now citizen-launcher-self-update.timer >/dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
systemctl daemon-reload >/dev/null 2>&1 || true
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Name=Citizen Launcher
|
||||
Comment=Star Citizen for Linux
|
||||
Exec=/usr/bin/citizen-launcher gui
|
||||
TryExec=/usr/bin/citizen-launcher
|
||||
Icon=citizen-launcher
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;
|
||||
StartupNotify=true
|
||||
StartupWMClass=CitizenLauncher
|
||||
Keywords=Star Citizen;RSI;Wine;Gaming;
|
||||
@@ -0,0 +1 @@
|
||||
github:sendnwv/omarchy-sc
|
||||
Reference in New Issue
Block a user